| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
|
How would I set the default target? I thought that it was pretty much handled by the first target tag? Anyway, I updated the paths and still no output files to be found :( I tried adding a target="x" to the project tag, but it caused an error. ------ <project name="My App" > <target name="simplexxx" description="Make Stuff"> <taskdef name="jarbundler" classpath="./jarbundler-2.0.0.jar" classname="net.sourceforge.jarbundler.JarBundler" verbose="true" /> <jarbundler dir="./MyDir/Build" verbose="true" name="MyApp" mainclass="MyApp.MyClass" jar="./MyDir/Build/Mac_Run.jar" icon="./icons/macIcons.icns" version="1.0" /> </target> </project> > To: email@hidden > From: email@hidden > Date: Mon, 1 Sep 2008 18:34:45 -0700 > Subject: Re: JarBundler / Ant - output unknown.... > > xxxx xxxx wrote: > > > here is my build.xml file, please let me know what you suggest! > > ... > > jar="/MyDir/Build/Mac_Run.jar" > > I suspect this pathname is part of the problem. > It doesn't start with ".", while most of your other pathnames do. > I say "most" because your icon= pathname also doesn't, but with less > impact. > > Also, you're not quite following the JarBundler example here: > http://informagen.com/JarBundler/ > > You might want to start with that example, then modify the taskdef > classpath later, after you get the JarBundler task working. > > Finally, your <project> tag lacks a default target. This might or > might not matter, or it might depend on which version of ant you're > using; I've never attempted an ant build without a default target (or > an explicit one on the command-line). > > -- GG > > _______________________________________________ > Do not post admin requests to the list. They will be ignored. > Java-dev mailing list (email@hidden) > Help/Unsubscribe/Update your Subscription: > http://lists.apple.com/mailman/options/java-dev/email@hidden > > This email sent to email@hidden Get thousands of games on your PC, your mobile phone, and the web with Windows®. Game with Windows |
_______________________________________________ Do not post admin requests to the list. They will be ignored. Java-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/java-dev/email@hidden This email sent to email@hidden
| References: | |
| >Re: JarBundler / Ant - output unknown.... (From: Greg Guerin <email@hidden>) |
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.