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.
Created attachment 140728 [details] ant log Installer creation fails for the example project Paint and also for my own projects. Ant log in verbose level shows that an api is missed. It seams to me that the installer build script copies src code from the harness folder to the PaintApp build folder and trys to compile it there. But the api org.netbeans.installer.* is not found. I have also tried to build against nb 7.2 version. -------------- Product Version: NetBeans IDE 7.3.1 (Build 201306052037) Java: 1.7.0_25; Java HotSpot(TM) 64-Bit Server VM 23.25-b01 Runtime: Java(TM) SE Runtime Environment 1.7.0_25-b15 System: Linux version 2.6.37.6-0.11-desktop running on amd64; UTF-8; de_DE (nb)
Thank you for the report. (In reply to oliverrettig from comment #0) > It seams to me that the installer build script copies src code from the > harness folder to the PaintApp build folder and trys to compile it there. > But the api org.netbeans.installer.* is not found. It's correct. Installer engine is always copied from NetBeans harness folder. But it seems it not compiled. > I have also tried to build against nb 7.2 version. Did it work?
Created attachment 140732 [details] ant log (debug level)
Comment on attachment 140728 [details] ant log https://netbeans.org/bugzilla/show_bug.cgi?id=236205 --- Comment #5 from Milos Kleint <mkleint@netbeans.org> --- (In reply to satory from comment #0) > [ BUILD # : 201309112301 ] > [ JDK VERSION : 1.7.0_25 ] > > When I go through the wizard when creating a Netbeans Module - Action, I am > unable to progress further past the GUI registration step of the wizard. > > When I select "Global Menu Item", the Menu and Position fields are > uneditable. > and also when I select "Global Toolbar Item", the Toolbar and Positon fields > are not editable. do some of the combo boxes say "Please wait" or something similar? Is there a progress bar in the status bar downloading the platform jars? The problem is more fluid than just a build number being used (and we haven't really changed much in the affected area). What to watch out for: is the module a standalone module or does it belong to an application? is the application project associated with the module open? In ant projects, there's a direct link to the nb platform binaries associated with the module. In maven projects there is nothing like that, a module just has it's compile dependencies. From the dependencies it's impossible to compose the application context (entire menus/toobars), so we attempt a best guess strategy. 1. find an opened application (nbm-application project) that contains the module project and use it as application context (as it's dependencies compose the entire app) 1a. sometimes the application dependencies have to be downloaded first so that we can compose the application context (and that takes time) 2. if not found, we fallback to the netbeans IDE as aplication context, even though it can be wrong in some situations (the IDE might have different menus etc)
I have tried to build against 7.2.1 too but it also does not work :-)
The original description is about installer. Please, do not reassign and do not add different problems into one issue. File a separate bug if it is not related.
(In reply to oliverrettig from comment #4) > I have tried to build against 7.2.1 too but it also does not work :-) Thanks, now it's clear :) May I ask you to use for example NB 7.4 RC2? https://netbeans.org/community/releases/74/ And please create new project. Do not use the old one you have. Just work like from the scratch. Thanks
I have tried nb 7.4RC2 and all works fine. I cauld create windows and linux installers for the example paint app. Any idea what is going wrong in 7.3.1?
Installation generation also fails with nb 8.0.2 and also if inside platform 7.4 inclusive the corresponding harness dir is configured.