Is the xmltask JAR in your classpath?
I did this as follows:
<taskdef name="xmltask" classname="com.oopsconsultancy.xmltask.ant.XmlTask"
classpath="${buildtools}/xmltask.jar"/>
>>> On 18.03.2010 at 17:34, in message <c7c7ea78.3c5a8%[email protected]>,
>>> Rob
Tanner <[email protected]> wrote:
> Hi,
>
> I*m just starting to experiment with xmltask to see if it will solve a
> problem for me. At this point all I*ve done is add the taskdef to my
> build.xml file in Eclipse and make sure that Ant knows where to find it.
>
> <taskdef name="xmltask"
> classname="com.oopsconsultancy.xmltask.ant.XmlTask"/>
>
> That*s all I*ve done at this point and then I attempted to run the script.
> Right now all it*s doing is copying a directory and I wanted to make sure it
> continued to do so error free. Instead I got this error:
>
> Build.xml:12: taskdef A class needed by class
> com.oopsconsultancy.xmltask.ant.XmlTask cannot be found:
> org/apache/tools/ant/Task
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Xmltask-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xmltask-users