"rm $ANT_HOME/lib/ant-*.jar"
is a bit extreme
The script I use is
"""
unset ANT_HOME
rm -rf build bootstrap
./build.sh test -Dtest.haltonfailure=false
"""
As Antoine pointed out, the most difficult part is to
find the external jars for the optional tasks (and
modify some of them). These are of course only
necessary for the optional tasks. My lib/optional
contains
  bcel-5.1.jar
  bsh-2.0b1.jar
  js.jar
  log4j-1.2.8.jar
  bsf.jar
  jsch-0.1.14.jar
  junit-3.8.1.jar

Check the extenal dependences manual page for the
location and version numbers.
Peter



On 4/22/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
> RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
> <http://issues.apache.org/bugzilla/show_bug.cgi?id=39063>.
> ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
> INSERTED IN THE BUG DATABASE.
>
> http://issues.apache.org/bugzilla/show_bug.cgi?id=39063
>
>
>
>
>
> ------- Additional Comments From [EMAIL PROTECTED]  2006-04-22 01:44
> -------
> Hello Darin,
>
> to build ant, you need to collect the external jars first (assuming you
> want to
> build the optional tasks). These jars are to be placed under lib/optional.
> Some of the external jars need to be "epurated" to be suitable for the
> build.
> weblogic.jar and antlr.jar tend to come with stuff that you do not want,
> such as
> an old version of ant, XML parsers, ...
>
>
> Remove the bootstrap directory (if present) before building.
>
> Afterwards, you simply need to run 'build.sh' or 'build.bat' depending
> upon your
> platform.
>
> My typical incantation is :
>
> rm -rf bootstrap; rm $ANT_HOME/lib/ant-*.jar; ./build.sh
> -Dtest.haltonfailure=false install-lite test
>
> Hope this helps.
>
> If this is not good enough, send emails to the ant dev list.
>
> Regards,
>
> Antoine
>
>
>
> --
> Configure bugmail:
> http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
> ------- You are receiving this mail because: -------
> You are the assignee for the bug, or are watching the assignee.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to