On Monday 22 Sep 2003 12:21, Nathan Coast wrote:
> Hi,
>
> I have a plugin that contains a taskdef for the ant JUnit task.  I
> copied the code from the test plugin but I get this error.
>
> taskdef class org.apache.tools.ant.taskdefs.optional.junit.JUnitTask
> cannot be found.
>
> Any ideas how I'd make the ant optional tasks availabble to my plugin?

Put "ant-optional" in the project.xml of your plugin, and then add 
<pathelement path="${plugin.getDependencyPath('ant-optional')}"/>
to your CLASSPATH in the plugin.jelly

-- 
Andy


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to