On 12/15/2010 10:50 PM, Kevin Jackson wrote:
Hi Antoine,

I'm bootstrapping on Windows XP SP3 behind a proxy that requires
authentication with oracle jdk6 (1.6.22)

compile-tests:

test-jar:

BUILD FAILED
C:\Temp\apache-ant-1.8.2-src\apache-ant-1.8.2\build.xml:986: The following error
  occurred while executing this line:
C:\Temp\apache-ant-1.8.2-src\apache-ant-1.8.2\build.xml:778: We cannot build the
  test jar unless JUnit is present,
       as JUnit is needed to compile the test classes.

Total time: 7 seconds

... Cleaning Up Build Directories

... Done Bootstrapping Ant Distribution
Bootstrap FAILED
C:\Temp\apache-ant-1.8.2-src\apache-ant-1.8.2>

Is this an expected issue?
Kevin, I do not know whether this makes sense or not but I have both junit-3.8.2.jar and junit-4.8.1.jar in lib/optional when I build ant. The build file checks the presence of junit.framework.TestCase to set or not the property junit.present.

So in fact the error means that junit-3.8.2.jar is not on the classpath in your build.
Kev


Antoine


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

Reply via email to