Michael Burke wrote:

> Okay I made pathelement location=5512, the parent dir of 
> com.wrox.ant.ExtractTldTask and ant still can't find it.
> 
> <taskdef name="extractTld" classname="com.wrox.ant.ExtractTldTask">
>     <classpath>
>        <pathelement location="5512"/>
>     </classpath>
>   </taskdef>
> I'm perplexed.


And is 5512 relative to your projects base directory?  If not, then you 
need a full path to it (i.e. see <property location="..."> variant perhaps).

Again, if ExtractTldTask has other dependencies, they need to be in that 
classpath also.

If worse comes to worse, how about making a JAR of those classes and 
dropping it into ANT_HOME/lib for easier troubleshooting - then you 
won't have to define a classpath on <taskdef> for the time being until 
you get it working initially.

        Erik



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

Reply via email to