> I'm migrating from Netbeans to setup all of my compiling, packaging
> and testing. However, I'm having troubles getting the testing part
> working. Here's the snippet of code I'm currently using:
> <junit dir="${test.execute}">
> <test name="tciworks.analysis.BayesianTest"/>
[quoted text clipped - 19 lines]
> Detected Java version: 1.5 in: c:\Program Files\Java\jdk1.5.0_06\jre
> Detected OS: Windows XP
> Caused by: java.lang.NullPointerException
> at org.apache.tools.ant.types.Path.add(Path.java:261)
Very hard to say without having the code to play with.
You could try replace:
<junit dir="${test.execute}">
with:
<junit fork="on" dir="${test.execute}">
because I have often had problems without that.
Arne