According to ant.apache.org/manual/running.html
All JARs in $ANT_HOME/lib were added to the $CLASSPATH automatically, and 
perhaps now also $HOME/.ant/lib

Ant further takes the -lib argument for passing further specific paths.

Does setting the path to the missing class solve the issue?

On Apr 28, 2014, at 14:48, Murray Eisenberg <[email protected]> wrote:

> OK, so I changed build.xml to:
> 
>   <?xml version="1.0"?>
>   <project name="JPortsUI">
>   <taskdef name="jarbundler" 
>         classname="net.sourceforge.jarbundler.JarBundler" />
>   </project>
> 
> Now running "ant build.xml" gives a different error:
> 
> 
> Buildfile: /Users/[myuserdirname]/jPorts/build.xml
> 
> BUILD FAILED
> /Users/[myuserdirname]/jPorts/build.xml:4: taskdef class 
> net.sourceforge.jarbundler.JarBundler cannot be found
> using the classloader AntClassLoader[]
> 
> I don't know where the MacPorts apache-ant port is supposed to put that 
> unfound file.

_______________________________________________
macports-users mailing list
[email protected]
https://lists.macosforge.org/mailman/listinfo/macports-users

Reply via email to