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 199286 - Make NB sources buildable even when read-only
Summary: Make NB sources buildable even when read-only
Status: RESOLVED FIXED
Alias: None
Product: www
Classification: Unclassified
Component: Builds & Repositories (show other bugs)
Version: 7.1
Hardware: All All
: P1 normal (vote)
Assignee: Jesse Glick
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-08 18:18 UTC by Jesse Glick
Modified: 2012-03-02 17:17 UTC (History)
2 users (show)

See Also:
Issue Type: TASK
Exception Reporter:


Attachments
Current test script (470 bytes, text/plain)
2011-06-08 18:18 UTC, Jesse Glick
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jesse Glick 2011-06-08 18:18:12 UTC
Created attachment 108813 [details]
Current test script

It is desirable to be able to run a build of NetBeans even when the source tree is read-only. The plan is to be able to do this by passing -Dnb.build.dir=/what/ever/path when running Ant; all build products will be placed in that directory.

http://wiki.netbeans.org/ExternalBinaries is a special case; */external/*.* files need to be in their normal locations. Generally the download-selected-extbins target would have already been run as part of producing the complete source tree.
Comment 1 Jesse Glick 2011-06-08 19:30:42 UTC
Some initial changes (enough to run: ant -f core.startup/build.xml) merged in core-main #c9515b3d5232.
Comment 2 Jesse Glick 2011-06-09 00:49:21 UTC
More changes (enough to build cluster.config=platform) merged in core-main #6a94a74271ec.
Comment 3 Quality Engineering 2011-06-10 14:51:13 UTC
Integrated into 'main-golden'
Changeset: http://hg.netbeans.org/main-golden/rev/74cc4b69c8e4
User: Jesse Glick <jglick@netbeans.org>
Log: #199286: generic changes to build to an external dir.
Currently fails in applemenu/eawtstub.
Comment 4 Quality Engineering 2011-06-11 15:17:05 UTC
Integrated into 'main-golden'
Changeset: http://hg.netbeans.org/main-golden/rev/6a94a74271ec
User: Jesse Glick <jglick@netbeans.org>
Log: #199286 fixes
Comment 5 Quality Engineering 2011-07-30 13:49:30 UTC
Integrated into 'main-golden'
Changeset: http://hg.netbeans.org/main-golden/rev/c169ce8e2e55
User: Jesse Glick <jglick@netbeans.org>
Log: #199286 follow-up: interpret ${nbantext.jar} in e.g. core.osgi/nbproject/project.properties.
Comment 6 Quality Engineering 2011-08-30 14:24:20 UTC
Integrated into 'main-golden'
Changeset: http://hg.netbeans.org/main-golden/rev/4f6c03af16cd
User: Tomas Hurka <thurka@netbeans.org>
Log: bugfix #199286 - build lib.profiler module to an external directory
Comment 7 Jesse Glick 2012-02-21 18:32:50 UTC
Is this still a priority? If so, need to pick a cluster config to test and probably set up a Hudson job for it.
Comment 8 Jaroslav Tulach 2012-03-02 15:03:09 UTC
We can build majority of NetBeans sources when they are read-only. No need for further work.
Comment 9 Jesse Glick 2012-03-02 17:17:36 UTC
OK. Open blocking issues if you need more.