Re: Building on Mac OS X
Trevor Harmon <[email protected]> Fri, 22 Aug 2008 14:09:33 -0400
| Newsgroups | gmane.comp.java.jswat.user |
|---|---|
| Message-ID | <[email protected]> |
On Aug 21, 2008, at 3:12 PM, Nathan Fiedler wrote: > Try using this command to build JSwat from the source extracted from > the .zip file: > > % ant -Dnbjdk.home=/System/Library/Frameworks/JavaVM.framework/ > Versions/1.6.0/Home -Dnbplatform.NetBeans_5.5.harness.dir="/ > Applications/NetBeans/NetBeans 5.5.1.app/Contents/Resources/NetBeans/ > harness" -Dnetbeans.dest.dir=/Applications/NetBeans/NetBeans\ > 5.5.1.app/Contents/Resources/NetBeans build I had to change "nbplatform.NetBeans_5.5.harness.dir" to "nbplatform.default.harness.dir", but after that it worked great, thanks! > Just change the paths to match your Java and NetBeans installation > and you should be good to go. The 'build' target will create the > modules, while 'dist' will create the installer .jar and source .zip > files. And 'clean' will remove all of the build artifacts. There were some additional changes I had to make. I had to mark certain files as executable (chmod +x): jswat jpdalaunch platform6/lib/nbexec I also had to edit jswat.conf so that netbeans_jdkhome and netbeans_default_userdir pointed to the right place. After that, everything seemed to work fine. Thanks to your help, I was finally able to create a Fink package description for JSwat. It should be in the Fink distribution once approved by the core developers. Trevor ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/