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.
20110223, JDK7ea, Windows 7 ------------- - create Maven NBM project (use Release70-beta) - create new action, always enabled there is an uncompilable code in action class on line with import: import o.o.util.NbBundle.Messages (cannot find symbol Messages) and following annotations: @ActionID (complaining about missing key in bundle which is i guess consequent of previous) @Messages (cannot find symbol Messages) o.o.util-RELEASE70-BETA.jar is correctly listed as dependency
Generated code: /* * To change this template, choose Tools | Templates * and open the template in the editor. */ package com.mycompany.mnbm; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import org.openide.awt.ActionRegistration; import org.openide.awt.ActionReference; import org.openide.awt.ActionReferences; import org.openide.awt.ActionID; import org.openide.util.NbBundle.Messages; @ActionID(category = "Build", id = "com.mycompany.mnbm.SomeAction") @ActionRegistration(displayName = "#CTL_SomeAction") @ActionReferences({ @ActionReference(path = "Menu/File", position = 0, separatorBefore = -50, separatorAfter = 50) }) @Messages("CTL_SomeAction=AAAA") public final class SomeAction implements ActionListener { public void actionPerformed(ActionEvent e) { // TODO implement action body } }
This was already fixed in 828a840205ce. For RELEASE70-BETA no annotations are used; for -BETA2 they will be.
thanks, it seems to work as you said in #20110228. Anyway, index from netbeans repo still does not contain "release70-beta2". Who is maintaining netbeans maven repo? you, or Petr G.?
(In reply to comment #3) > index from netbeans repo still does not contain "release70-beta2" Awaiting fixes of blocking issues, filed in the appropriate component.