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 - NBI should be able to be built on Mac with default options
Summary: NBI should be able to be built on Mac with default options
Status: RESOLVED FIXED
Alias: None
Product: installer
Classification: Unclassified
Component: NBI (show other bugs)
Version: 6.x
Hardware: All All
: P4 blocker (vote)
Assignee: dlipin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-03-06 13:21 UTC by dlipin
Modified: 2008-03-29 15:28 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


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