I have the MacPorts ports of jarbundler (@2.2.0_0) and apache-ant (@1.9.3_0) installed and active. I have the file JPortsUI.jar in the folder ~/jPorts.
Trying to make sense of the docs at http://informagen.com/JarBundler/, I created in that same folder the file build.xml <taskdef name="jarbundler" classname="net.sourceforge.jarbundler.JarBundler" /> as well as file jarbundler: <jarbundler dir="." name="jPort" mainclass="JPortsUI" jar="./JPortsUI.jar" /> I tried now: cd ~/JPorts ant build.xml This generates error: Buildfile: /Users/[myuserdirname]/jPorts/build.xml BUILD FAILED /Users/[myuserdirname]/jPorts/build.xml:2: Unexpected element "{}tasked" {antlib:org.apache.tools.ant}taskdef Question: What am I doing wrong? A couple of particular questions: (i) Should there be an extension to file "jarbundler" and, if so, what? (ii) The docs at http://informagen.com/JarBundler/ say to "move the file jarbundler-2.3.1.jar into your local ANT lib directory." Given the configuration of MacPorts, with ports going into /opt, what does that mean I also need to do, if anything? I note that /opt/local/lib has no ant subdirectory. --- Murray Eisenberg [email protected] 503 King Farm Blvd #101 Home (240)-246-7240 Rockville, MD 20850-6667 Mobile (413)-427-5334 _______________________________________________ macports-users mailing list [email protected] https://lists.macosforge.org/mailman/listinfo/macports-users
