Junit Task dies with NullPointerException

2010-06-06 Thread Steven Harms
Having surmounted the Ant-as-technology issue, I'm now encountering an error in my ant execution of junit. When I run my ant script, I get: java.lang.NullPointerException at org.apache.tools.ant.taskdefs.optional.junit.FailureRecorder$TestInfos.(FailureRecorder.java:349) (The full stack is here:

[RESOLVED] Re: Trying to get Ant + JUnit working peaceably

2010-06-06 Thread Steven Harms
After that I was able to get the junit task to function. On Sat, Jun 5, 2010 at 6:13 PM, Steven Harms wrote: > Shawn, > > Thanks for your suggestions and for your prompt reply. > >> The junit jar is responsible for junit itself, NOT the ability to run junit >> from ant

Re: Trying to get Ant + JUnit working peaceably

2010-06-05 Thread Steven Harms
Shawn, Thanks for your suggestions and for your prompt reply. > The junit jar is responsible for junit itself, NOT the ability to run junit > from ant.  In order to run junit > from ant, you also need the ant-junit.jar > in the $ANTHOME/lib directory.  This should be part of > the normal instal

Trying to get Ant + JUnit working peaceably

2010-06-05 Thread Steven Harms
Hello, I'm attempting to learn Java at present and needed to add some automation around my build and test cycle. Coming from Ruby, I've got a real test-first design discipline. When I attempted to make a task call, I started getting this error (I can hear eyes rolling...). BUILD FAILED /Users