Re: antrun cannot run junit task

2012-04-11 Thread Wayne Fay
> Aha! Thank you! I searched the antrun plugin docs for info, but it's not > there. What would it take for this to be added as a FAQ? It seems > other people have been running into the same problem. I hate to say RTFM but it is appropriate in this case... http://maven.apache.org/plugins/maven-antr

Re: antrun cannot run junit task

2012-04-11 Thread Russell Gold
Aha! Thank you! I searched the antrun plugin docs for info, but it's not there. What would it take for this to be added as a FAQ? It seems other people have been running into the same problem. On Apr 11, 2012, at 10:37 PM, Wayne Fay wrote: >> Could not load class (org.apache.tools.ant.taskdefs.

Re: antrun cannot run junit task

2012-04-11 Thread Wayne Fay
> Could not load class (org.apache.tools.ant.taskdefs.optional.junit. > JunitTask) for type junit > > I have confirmed that the ant-junit jar is in the classpath (although > I'd have expected all ant task jars to be there automatically). What > do I need to do to get this to work? And no, I cannot

antrun cannot run junit task

2012-04-11 Thread Russell Gold
I am converting a convoluted ant build to maven. It has a large number of functional tests, mostly built on either TestNG or the now-deceased author's private framework, but some on junit. I am running the tests via the antrun plugin, but it when it hits a junit task, it fails with: Could not l