Re: Building on Mac OS X
Nathan Fiedler <[email protected]> Mon, 25 Aug 2008 10:39:11 -0700 (PDT)
| Newsgroups | gmane.comp.java.jswat.user |
|---|---|
| Message-ID | <[email protected]> |
Sorry for the delayed response, I was on vacation this weekend. You are correct in your discovery of the additional changes. They are exactly the changes that are made by the installer in ProgressPanel.java after unzipping the bits. I think you're in good shape from here on out. Don't hesitate to ask for further clarifications if you run into other issues. Thank you for creating the Fink package. I'll do my best to offer any additional support that is needed. n ----- Original Message ---- From: Trevor Harmon <[email protected]> To: Nathan Fiedler <[email protected]> Cc: [email protected] Sent: Friday, August 22, 2008 11:09:33 AM Subject: Re: [jswat-user] Building on Mac OS X 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=/