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 138582 - Can't Install/Reload in Target Platform netbeans module
Summary: Can't Install/Reload in Target Platform netbeans module
Status: VERIFIED INVALID
Alias: None
Product: apisupport
Classification: Unclassified
Component: Project (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker with 1 vote (vote)
Assignee: Jesse Glick
URL:
Keywords:
: 139986 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-06-30 09:01 UTC by Ivan Sidorkin
Modified: 2008-07-15 13:33 UTC (History)
2 users (show)

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 Ivan Sidorkin 2008-06-30 09:01:25 UTC
Product Version: NetBeans IDE Dev (Build 200806300101)
Java: 1.6.0_06; Java HotSpot(TM) Client VM 10.0-b22
System: Windows XP version 5.1 running on x86; Cp1251; ru_RU (nb)

- create new project NetBeans Modules -> Module
- right click on project node

Install/Reload in Target Platform always disabled
Comment 1 Jesse Glick 2008-06-30 16:57:58 UTC
It is enabled when the target platform is actually running. Otherwise you can just use Run.
Comment 2 Ivan Sidorkin 2008-06-30 20:22:20 UTC
Jesse, could you please explain it more detail.
This menu item enabled in NetBeans 6.1, so looks like functionality was changed.
Comment 3 Jesse Glick 2008-06-30 20:28:26 UTC
Exactly, functionality was changed. See issue #83968 and issue #63652. Now Run/Debug are consistently used to build the
module and start the target platform when not already running; Install/Reload in Target Platform (or Development IDE)
are enabled when appropriate to reload the module in the running platform.
Comment 4 Ivan Sidorkin 2008-06-30 21:12:29 UTC
ok, now I understand how it works.
but why Install/Reload in Target Platform can't now Run target platform if it not started yet and reload module if
target platform already started?
imo, it will be more convenient
Comment 5 Jesse Glick 2008-06-30 21:13:46 UTC
I think it would be more confusing (two different behaviors for one menu item), and there is no advantage when the
enabled Run item is already right there.
Comment 6 Ivan Sidorkin 2008-06-30 21:17:47 UTC
verified
Comment 7 Lukas Hasik 2008-07-15 09:03:12 UTC
*** Issue 139986 has been marked as a duplicate of this issue. ***
Comment 8 Lukas Hasik 2008-07-15 09:05:47 UTC
geertjan, it seems that some tutorials/doc will need an update after the change of the behavior.
Comment 9 nvarun 2008-07-15 09:13:52 UTC
@jglick

Don't you think having "Reload in Target Platform", as text for Action Menu Item, is better compared to "Install/Reload
in Target Platform"?

As suggested, now users need to F6 the module to basically install in Target Platform, and the Menu Item gets activated,
for reload. So, Menu Item should show text as stated above.

What do you think?
Comment 10 nvarun 2008-07-15 09:18:50 UTC
Should I file an enhancement request then?
Comment 11 Jesse Glick 2008-07-15 12:57:20 UTC
Agreed, it would be better for the menu item to be just "Reload in Target Platform". "Install/Reload in Development IDE"
is still appropriate.
Comment 12 Jesse Glick 2008-07-15 12:58:22 UTC
So yes, please file a separate P4 DEFECT for that and I will fix.
Comment 13 nvarun 2008-07-15 13:33:36 UTC
@jglick

Filed- http://www.netbeans.org/issues/show_bug.cgi?id=140080