How use jarbundler to create an .app from JPortsUI.jar?
Jeremy Lavergne
jeremy at lavergne.gotdns.org
Mon Apr 28 11:56:42 PDT 2014
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 <murrayeisenberg at gmail.com> 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.
More information about the macports-users
mailing list