For what it's worth, a novice jboss builder's impression: I allocated
half a day to work through the usual incompatibilities, fired off the
build, found and fixed the ANT_HOME problem in 1 minute, reran and...it
worked! Amazing. Congrats to whoever set it up.
I did what I'm sure others encountering the problem will do--changed
build.bat to unset ANT_HOME. It would be convenient for others if this
was always done, as suggested.
I suppose it would be handy to do a dependency check like Red Hat rpm or
provide a way to selectively override the build jars, but I doubt that
it's worth the bother.
----- Original Message -----
From: "Jason Dillon" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: "Dan - Blue Lotus Software" <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Sent: Saturday, September 01, 2001 4:06 AM
Subject: RE: [JBoss-dev] requirements for build
Trying to support everyone's different environment is really not
possible.
There are currently 15 non-standard libraries used by some part of the
build system, which means that every user who wants to use their own
ANT_HOME, would have to have the exact same version for complete
compatiblity.
It is not just about the buildmagic stuff, there are required xslt jars
for
the testsuite & manual, junit to actually run the tests and so on.
It might be possible with future versions of ant to support this, but
for
now there are better things to work on.
Right now using the build.sh & build.bat scripts (or the ant scripts
from
tools/bin) are the only methods for building the system which are
directly
supported.
If you would like to build from something else, I can probably help you
set
it up.
There is a better way to deal with all of these support jars, I just
haven't
figure out what it is yet.
--jason
On Sat, 1 Sep 2001, Vincent Harcq wrote:
> Hi,
> I thought the idea was to permit the use of external ANT_HOME.
> idea: JBoss build stops if it does not find build-magic.jar in
ANT_HOME/lib
> Also stops if ANT is not 1.4 version
> Maybe other...
> (with a 3 pages explanation if necessary)µ
> Vincent
>
> > -----Message d'origine-----
> > De : [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED]]De la part de
> > Jason Dillon
> > Envoyé : samedi 1 septembre 2001 8:51
> > À : Dan - Blue Lotus Software
> > Cc : [EMAIL PROTECTED]
> > Objet : RE: [JBoss-dev] requirements for build
> >
> >
> > I will add that to my list of things todo.
> >
> > Thanks,
> >
> > --jason
> >
> >
> > On Sat, 1 Sep 2001, Dan - Blue Lotus Software wrote:
> >
> > > Like I said, simply unsetting the environment variable ANT_HOME
> > in the build
> > > script should take care of this.
> > >
> > > I use Ant on many other non-JBoss related projects. I need
> > ANT_HOME to be
> > > set for these other projects. I assume others will have the
> > same problem.
> > > Because I was not aware JBoss included a fully functional Ant in
the
> > > distribution, I was thrown off by this. Simply unsetting ANT_HOME
in
> > > build.bat (and I suspect build.sh, as this is probably a
> > problem for both
> > > sides) would have fixed this.
> > >
> > > -dan
> > >
> > > -----Original Message-----
> > > From: [EMAIL PROTECTED]
> > > [mailto:[EMAIL PROTECTED]]On Behalf Of
Jason
> > > Dillon
> > > Sent: Friday, August 31, 2001 11:49 PM
> > > To: [EMAIL PROTECTED]
> > > Subject: RE: [JBoss-dev] requirements for build
> > >
> > >
> > > Perhaps we should ignore any user set ANT_HOME, or warn the
> > user if it is
> > > set.
> > >
> > > --jason
> > >
> > >
> > > On Fri, 31 Aug 2001, Dan - Blue Lotus Software wrote:
> > >
> > > > Yes, this was it. I suggest we unset ANT_HOME in the build
script.
> > > >
> > > > -dan
> > > >
> > > > -----Original Message-----
> > > > From: [EMAIL PROTECTED]
> > > > [mailto:[EMAIL PROTECTED]]On Behalf
Of
> > > > Vincent Harcq
> > > > Sent: Friday, August 31, 2001 7:50 PM
> > > > To: [EMAIL PROTECTED]
> > > > Subject: RE: [JBoss-dev] requirements for build
> > > >
> > > >
> > > > Hi,
> > > > Is ANT_HOME env property set ? Unset it and it will run by
> > finding ant
> > > from
> > > > tools/
> > > > Vincent.
> > > >
> > > > > -----Message d'origine-----
> > > > > De : [EMAIL PROTECTED]
> > > > > [mailto:[EMAIL PROTECTED]]De la
> > part de Dan
> > > > > - Blue Lotus Software
> > > > > Envoyé : vendredi 31 août 2001 11:21
> > > > > À : JBoss Dev
> > > > > Objet : [JBoss-dev] requirements for build
> > > > >
> > > > >
> > > > > Well, I downloaded and compiled the Rabbit Hole release of
> > JBoss today.
> > > > > It's the first time I've built JBoss from scratch in about 6
> > > > > months. At any
> > > > > rate, I thought I'd reflect a little on a couple of things,
> > so that I
> > > can
> > > > > save people the 30 minutes I spent figuring it out.
> > > > >
> > > > > -You need v1.4beta of Ant. The current release is v1.4beta2.
> > > > > -Copy the jar file from
> > "<your_jboss_dir>/tools/buildmagic-tasks.jar"
> > > into
> > > > > the "lib" directory under Ant.
> > > > >
> > > > > Once that's done, you can cd into "<your_jboss_dir>/build" and
> > > > > type "build".
> > > > >
> > > > > I'm sorry if this is obvious to everyone on this list. It
> > wasn't for
> > > me,
> > > > > though. The directions for buildmagic say nothing about how
to
> > > *install*
> > > > > it. And the build script contains the <record> tag, which is
> > > > > only supported
> > > > > in v1.4beta1 and beyond.
> > > > >
> > > > > -dan
> > > > >
> > > > > --
> > > > > Dan Kirkpatrick, Software Architect
> > > > > Blue Lotus Software +44 (0) 1224 575 985
> > > > > [EMAIL PROTECTED]
> > > > > http://www.bluelotussoftware.com
> > > > >
> > > > >
> > > > > _______________________________________________
> > > > > Jboss-development mailing list
> > > > > [EMAIL PROTECTED]
> > > > > http://lists.sourceforge.net/lists/listinfo/jboss-development
> > > >
> > > >
> > > > _________________________________________________________
> > > > Do You Yahoo!?
> > > > Get your free @yahoo.com address at http://mail.yahoo.com
> > > >
> > > >
> > > > _______________________________________________
> > > > Jboss-development mailing list
> > > > [EMAIL PROTECTED]
> > > > http://lists.sourceforge.net/lists/listinfo/jboss-development
> > > >
> > > >
> > > > _______________________________________________
> > > > Jboss-development mailing list
> > > > [EMAIL PROTECTED]
> > > > http://lists.sourceforge.net/lists/listinfo/jboss-development
> > > >
> > >
> > >
> > > _______________________________________________
> > > Jboss-development mailing list
> > > [EMAIL PROTECTED]
> > > http://lists.sourceforge.net/lists/listinfo/jboss-development
> > >
> > >
> > > _______________________________________________
> > > Jboss-development mailing list
> > > [EMAIL PROTECTED]
> > > https://lists.sourceforge.net/lists/listinfo/jboss-development
> > >
> >
> >
> > _______________________________________________
> > Jboss-development mailing list
> > [EMAIL PROTECTED]
> > https://lists.sourceforge.net/lists/listinfo/jboss-development
>
>
> _________________________________________________________
> Do You Yahoo!?
> Get your free @yahoo.com address at http://mail.yahoo.com
>
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development