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 181316 - Allow editing of NB platform folder.
Summary: Allow editing of NB platform folder.
Status: RESOLVED WONTFIX
Alias: None
Product: apisupport
Classification: Unclassified
Component: Project (show other bugs)
Version: 6.x
Hardware: All All
: P4 normal (vote)
Assignee: Martin Kozeny
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-02-27 16:45 UTC by ivan
Modified: 2014-01-08 09:08 UTC (History)
2 users (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ivan 2010-02-27 16:45:23 UTC
Me and my coworkers find that we want to change where a particular NB
platform points to but the UI doesn't allow editing of that field 
(Tools->NetBeansPlatforms->PlatfromFolder).
One has to exit the ide, hand-edit <userdir>/build.properties, and
restart the IDE.

This usecase arises in the SunStudio group ... We have a constant label,
for example, "NetBeans for SunStudio" that is embedded in our suites.
It usually points to a reference NB location used by our builds.
But we sometimes want it to point to one or more private copies
on an NB platform so we can check against newer platforms,
or own builds of NB or debuggable NB's. 

Creating new labels for each of these platform variations
is impractical because one has to then go an change their
uses in each suite/project and then of course one has to remember
to change them back to "NetBeans for SunStudio".
If you forget you mess up your teammates.

In fact I'll go a bit further and request that a persistent history 
(accessible via a combo-box) be kept for each label so it's trivial
to switch between group build reference platforms, individual copies
or debuggable builds etc.
Comment 1 Jesse Glick 2010-02-27 17:00:57 UTC
(In reply to comment #0)
> we want to change where a particular NB
> platform points to but the UI doesn't allow editing of that field

No, but you can delete the platform, then readd a platform of the same name but different location.

> One has to exit the ide, hand-edit <userdir>/build.properties, and
> restart the IDE.

The exit & restart might be needed for the IDE's view to refresh (a minor bug in apisupport), but it is not needed for running an Ant build.

> request that a persistent history 
> (accessible via a combo-box) be kept for each label

Could just keep a list of commented-out values in build.properties.
Comment 2 Martin Kozeny 2014-01-08 09:08:53 UTC
Closing as WONTFIX, b/c it is not action which is done often by developer. Please use workaround with editing build.properties file. Thank you.