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.
Summary: | JavaDesktop project can contain a missing library in FoD mode | ||
---|---|---|---|
Product: | ide | Reporter: | matusdekanek <matusdekanek> |
Component: | Features On Demand | Assignee: | Jaroslav Tulach <jtulach> |
Status: | RESOLVED FIXED | ||
Severity: | blocker | CC: | tpavek |
Priority: | P3 | Keywords: | ERGONOMICS |
Version: | 6.x | ||
Hardware: | PC | ||
OS: | Linux | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: |
messages.log
screenshot: java not activated with open anagram project |
Description
matusdekanek
2009-07-13 11:16:51 UTC
Created attachment 84643 [details]
messages.log
I'm not able to reproduce the problem on current dev build, required java functionality is activated during project open. I reproduced it on Product Version: NetBeans IDE Dev (Build 200907150249) Java: 1.6.0_14-ea; Java HotSpot(TM) Client VM 14.0-b12 System: Windows XP version 5.1 running on x86; Cp1252; en_US (nb) So far only Desktop Application projects are affected. It seems like some information is missing in the Desktop Application project template. Reopening the issue. The priority may be lowered, because only one project template seems to be affected. And it is not caused by feature on demand... the java is activated, but the project does not have correct settings of libraries (swing..). Please reassign. What is exactly the problem with libraries settings? Reference problems. "One or more project resources could not be found". NB 6.7.1 RC is not affected. correction: It seems that the 6.7.1 is affected as well (RC, Build 200907162301) and that IS caused by not-activated java (as it is shown on the screenshot). Also the 'desktop application' template is not the only one affected, opening the anagram game project does not activate java as well; that can be seen for example in project view where form files are shown in the project view as both .java and .form files. (Opening some form file activates java). Product Version: NetBeans IDE 6.7.1 RC (Build 200907162301) Java: 1.6.0_14; Java HotSpot(TM) Client VM 14.0-b16 System: Linux version 2.6.28-13-generic running on i386; UTF-8; en_US (nb) Created attachment 84878 [details]
screenshot: java not activated with open anagram project
I've tried with AnagramGame project and with regular Desktop Application project and I'm still not able to reproduce. Please try to *exactly* describe steps to reproduce starting with clean userdir. Thanks. well, it is the same as I already described. -have a java desktop application project and clean userdir -install IDE (this step is not needed, the fresh userdir is important) -start IDE and open the java desktop application project java simply is not activated. Reassigning for evaluation, I'm not able to reproduce. Seems that part of modules is not activated. Imho this works. You have following options: 1. show the problem to me next week 2. take snapshot of the "opened" project without Java activated (expand the content please) 3. attach messages.log when running with -J-Dorg.netbeans.modules.ide.ergonomics.level=ALL I have found the screenshot, sorry. Looks like the Java is activated, but not fully. For example Form is probably disabled. I can see that you are running with javacard modules. Warning - could not install some modules: org.netbeans.modules.javacard.ri.bundle - No module providing the capability org.openide.modules.os.Windows could be found. These enable some java modules, but not form and as form registers swing-layout libraries, they cannot be found. Could be solved by moving the library definitions to java.kit module. Related to issue 162780, but the currently proposed fix for that issue will not be enough to solve this issue too. ergonomics#88a6c71739c7 Integrated into 'main-golden', will be available in build *200909270201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/88a6c71739c7 User: Jaroslav Tulach <jtulach@netbeans.org> Log: #168469: Providing library definitions for all installed modules (even they are disabled). It should not be big problem, as the JARs are laying around, but who knows what it will break? |