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 190971 - New action template generates uncompilable code
Summary: New action template generates uncompilable code
Status: RESOLVED DUPLICATE of bug 190149
Alias: None
Product: apisupport
Classification: Unclassified
Component: Maven (show other bugs)
Version: 7.0
Hardware: PC Mac OS X
: P2 normal (vote)
Assignee: Jesse Glick
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-13 09:44 UTC by Tomas Danek
Modified: 2010-10-13 16:01 UTC (History)
0 users

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 Tomas Danek 2010-10-13 09:44:48 UTC
Product Version: NetBeans IDE 7.0 M2 (Build 201010121358)
Java: 1.6.0_20; Java HotSpot(TM) 64-Bit Server VM 16.3-b01-279
System: Mac OS X version 10.6.4 running on x86_64; MacRoman; en_US (nb)
Userdir: /Users/tomas/.netbeans/7.0m2
------
- create Maven | Netbeans module
- create new action from template
- imports of

import org.openide.awt.ActionRegistration;
import org.openide.awt.ActionReference;
import org.openide.awt.ActionReferences;
import org.openide.awt.ActionID;

are red underlined.

under dependencies is org-openide-awt-RELEASE691.jar, but it seems like in o.o.awt package are these classes really missing.
Comment 1 Jesse Glick 2010-10-13 16:01:05 UTC
Workaround is to add the required module deps first, or just delete the bad file and rerun the wizard.

*** This bug has been marked as a duplicate of bug 190149 ***