Java Mailing List Archive

http://www.ant-tasks.com/

Home » Ant Users List »

Not reading from jar when unzipped it works...

Aravind_RP

2008-07-09

Replies: Find Java Web Hosting

Author LoginPost Reply

hi
Am using a 3rd party jar in my ant script for xml manipulation.the jar file
i placed in a folder in my workspace.
it is working if i unzip my jar and keep it but it is not working if i keep
the jar as such. my code is as below
<path id="lib.path">
       <fileset dir="${PROJECT_DIR}/ant"
includes="${PROJECT_DIR}/ant/*.jar"/>
          </path>
         
<typedef name="xmltask" classname="com.oopsconsultancy.xmltask.ant.XmlTask"
classpathref="lib.path" />

it says the class com.oopsconsultancy.xmltask.ant.XmlTask is not found.
please help urgent
--
Sent from the Ant - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)

©2008 ant-tasks.com - Jax Systems, LLC, U.S.A.