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 <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]