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 189026 - menu item 'Build Installers' missing
Summary: menu item 'Build Installers' missing
Status: RESOLVED FIXED
Alias: None
Product: ide
Classification: Unclassified
Component: Features On Demand (show other bugs)
Version: 6.x
Hardware: PC Mac OS X
: P2 normal (vote)
Assignee: Jaroslav Tulach
URL:
Keywords:
Depends on: 189779
Blocks:
  Show dependency tree
 
Reported: 2010-07-28 16:51 UTC by Vince Kraemer
Modified: 2010-08-23 17:13 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
messages.log (52.73 KB, text/plain)
2010-07-29 14:17 UTC, Vince Kraemer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vince Kraemer 2010-07-28 16:51:57 UTC
After I create a Module Suite on Solaris, I can see a Build Installers item in the project's right-click menu.

I also see an Installer page in the project's Project Properties dialog.

I do not see these UI elements if I create a Module Suite project on Mac OS X.

It appears that other folks do not see these UI elements on Windows: http://stackoverflow.com/questions/3350368/netbeans-installer 

If nothing else, we may want to add more verbage about the limitation of the feature to http://wiki.netbeans.org/NewAndNoteworthy69#Installer_generation_support_for_RCP.
Comment 1 dlipin 2010-07-28 18:21:09 UTC
Which bundle are you using? All/JavaSE/Java/...?

Does the issue go away after you activate "NetBeans Plugin Development" in Tools->Plugins, "Installed" tab (detailed view)?
Comment 2 Vince Kraemer 2010-07-28 19:59:51 UTC
(In reply to comment #1)
> Which bundle are you using? All/JavaSE/Java/...?

netbeans-6.9-ml-java-macosx.dmg

> 
> Does the issue go away after you activate "NetBeans Plugin Development" in
> Tools->Plugins, "Installed" tab (detailed view)?

the menu item appears after activating that module.

So, I guess the bug is the fact that the module 'NetBeans Plugin Development' does not activate when the user creates a 'NetBeans Modules->Module', 'NetBeans Modules->Module Suite', or a 'NetBeans Module->NetBeans Platform Application' project in the IDE with NB 6.9.
Comment 3 dlipin 2010-07-29 13:31:29 UTC
Thanks, I'll look into that.
Comment 4 dlipin 2010-07-29 13:54:01 UTC
Vince, can I ask you to attach messages.log ?
Comment 5 Vince Kraemer 2010-07-29 14:15:23 UTC
No problem.

I did a bit more work to narrow down what happens.

If I:
start 6.9 with a new userdir, then
create a module suite project, then
look at the activated plugins...
    NetBeans Plugin Development is activated.

If I:
start 6.9 with a new userdir, then
create an ant based Java Class Library project, then
create a module suite project, then
look at the activated plugins...
    NetBeans Plugin Development is activated.
Comment 6 Vince Kraemer 2010-07-29 14:17:36 UTC
Created attachment 101083 [details]
messages.log

This log is from the second case outlined in my previous comment.
Comment 7 dlipin 2010-07-29 14:33:07 UTC
Jarda, could you please look into this (likely ergonomics) issue?

> the bug is the fact that the module 'NetBeans Plugin Development' does not activate when the user creates a 'NetBeans Modules->Module', 'NetBeans Modules->Module Suite', or a 'NetBeans Module->NetBeans Platform Application' project in the IDE with NB 6.9.
Comment 8 Vince Kraemer 2010-07-29 16:17:18 UTC
Correction...

(In reply to comment #5)
> No problem.
> 
> I did a bit more work to narrow down what happens.
> 
> If I:
> start 6.9 with a new userdir, then
> create a module suite project, then
> look at the activated plugins...
>     NetBeans Plugin Development is activated.
> 
> If I:
> start 6.9 with a new userdir, then
> create an ant based Java Class Library project, then
> create a module suite project, then
> look at the activated plugins...
>     NetBeans Plugin Development is NOT activated.
Comment 9 Jaroslav Tulach 2010-08-17 17:49:21 UTC
ergonomics#7b98f75ef9bd
Comment 10 Jesse Glick 2010-08-20 21:03:49 UTC
The cure looks worse than the disease. Now the Java SE feature turns on the NetBeans Module Development feature. This is backwards!

Please find some better way of fixing this issue.
Comment 11 Quality Engineering 2010-08-21 03:43:08 UTC
Integrated into 'main-golden', will be available in build *201008210001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/7b98f75ef9bd
User: Jaroslav Tulach <jtulach@netbeans.org>
Log: #189026: Explicitly require apisupport.kit from java.kit
Comment 12 Jaroslav Tulach 2010-08-23 08:52:31 UTC
As has been agreed during 6.7 implementation of Ergonomics, it is important to reuse existing distributions:
http://wiki.netbeans.org/FitnessForever#Reuse_Existing_Distributions

Until the whole organization agrees on that this is no longer our goal, it is quite natural to enable NetBeans Module Development together with Java SE. There is no NetBeans Module Development distribution, it is included in Java SE.


In the context of above, I am making this bug fixed. Menu item 'Build Installers' is no longer missing. 

The request to separate NetBeans Module Development is tracked as separate issue 168618 (and has not gained much corporate support so far).
Comment 13 Jesse Glick 2010-08-23 14:17:02 UTC
(In reply to comment #12)
> it is quite natural to enable NetBeans Module Development together with Java SE.

The issue is that it is now *impossible* to disable NBMD when Java SE is enabled. That is an unacceptable condition, regardless of which components happen to be distributed in a package.
Comment 14 Jaroslav Tulach 2010-08-23 14:54:37 UTC
That is a different bug. Report it and make it P4.