| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
| We're using a commercial app called BuildDesk and we've been really happy with it: It takes an Idea or Netbeans project and generates an ant build file that: 1) Creates a single executable jar, including setting up the launch classpath properly 2) Builds a mac package around the jar (stored as a zip, not a dmg) 3) Builds a windows exe that launches the jar 4) Builds a Windows installer and uninstaller app that installs the windows exe and jar and sets up the start menu All steps except number 4 can be run on any platform. Step 4 depends upon the open source NSIS windows app to generate the installer. You can execute the build from within the BuildDesk app, or you can just use ant. It lets you set up a decent amount of Mac and Windows launch parameters, such as Apple menu bar support, filling in the get info fields, app icons, native windows splash screen, etc. The IDE project support is really the key. BuildDesk scans the IDE project and regenerates the ant file, so it picks up any project changes (such as creating new modules and adding new libraries) and rebuilds the launcher's classpath. This saves a lot of hassle with a large project, and it ensures that the classpath used to execute the app inside the IDE is in the same order as the classpath used by the executable jar, which can avoid all sorts of subtle jar hell problems. The ant generator part of BuildDesk is used in JetBrains' TeamCity product, so it seems pretty robust. I have a 5 module Idea project with cyclic dependancies, and BuildDesk has no problem dealing with that. We don't do any manual build development anymore. Support for Eclipse projects is reportedly coming soon. Willis Morse ShiftClick, LLC www.shiftclick.com |
_______________________________________________ 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
| 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.