ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Peter Reilly" <peter.kitt.rei...@gmail.com>
Subject Re: Need build help
Date Tue, 15 Jan 2008 17:15:43 GMT
You need to follow exactly the build instructions:

1) check out ant to ANT_SOURCE
2) cd to ANT_SOURCE
3) ensure that CLASSPATH env variable is empty
4) place optional jars in ANT_SOURCE/lib/optional
5) ./build.sh

- i.e. do not use ant to build ant.

Peter


On Jan 15, 2008 5:05 PM, jonathan doklovic <jd@sysbliss.com> wrote:
> Hi,
>
> I checked out the core trunk and tried to run the main target in the
> build file.
>
> I get the following error:
>
> test-jar:
> BUILD FAILED
> ant-core/build.xml:859: We cannot build the test jar unless JUnit is
> present,
>       as JUnit is needed to compile the test classes.
>
> Shouldn't the test-jar target be smart enough to figure out that if
> junit.present = false then it should use the junit in the optional lib
> dir?
>
> - Jonathan
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
> For additional commands, e-mail: dev-help@ant.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message