This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 129389

Summary: NBI should be able to be built on Mac with default options
Product: installer Reporter: dlipin <dlipin>
Component: NBIAssignee: dlipin <dlipin>
Status: RESOLVED FIXED    
Severity: blocker    
Priority: P4    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

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