Re: [Xmltask-users] Class not found error when trying to use xmltask in Ant (Newbie question)
Brought to you by:
bagnew
From: David C. <dco...@no...> - 2010-03-19 16:42:07
|
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%rt...@li...>, Rob Tanner <rt...@li...> 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 |