Please use the Apache issue tracking system for new NetBeans issues (https://issues.apache.org/jira/projects/NETBEANS0/issues) !!
Bug 129389 - NBI should be able to be built on Mac with default options
NBI should be able to be built on Mac with default options
Status: RESOLVED FIXED
Product: installer
Classification: Unclassified
Component: NBI
6.x
All All
: P4 (vote)
: 6.x
Assigned To: dlipin
issues@installer
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-03-06 13:21 UTC by dlipin
Modified: 2008-03-29 15:28 UTC (History)
0 users

See Also:
Issue Type: DEFECT
:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description dlipin 2008-03-06 13:21:45 UTC
Now there is an option in nbi/infra/build/.common/common.properties :
nb.platform.home=-Dplatforms.JDK_1.5.home=${java.home}/..

It is suitable for the the windows/linux/solaris but it doesn`t fit MacOS : ${java.home} actually points to the JDK on 
MacOS since these is no private JRE there.

It certainly can be workarounded by adding the following option to the main ant call:
-Dnb.platform.home=-Dplatforms.JDK_1.5.home=/System/Library/Frameworks/JavaVM.framework/Versions/1.5/Home

The best variant is to use the following option only on MacOS and the current one on all the other OSes:
nb.platform.home=-Dplatforms.JDK_1.5.home=${java.home}
Comment 1 dlipin 2008-03-29 15:28:44 UTC
fixed.
http://hg.netbeans.org/main/rev/49c1b17d892b


By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo