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.
As of JBoss 7.1.3, I am having to manually edit jboss-client.jar to rip out JBoss's command processor when using that jar in a wrapper module. Its command processor will cause any NetBeans module to fail to build due to interference from JBoss's command processor. org.jboss.logging.processor.apt.LoggingToolsProcessor is the culprit. Thus, I remove /META-INF/services/javax.annotation.processing.Processor from jboss-client.jar.
The failure comes when adding said jar or wrapper to any module with annotated TopComponents.
Looks like Redhat/Apache fixed JBoss' command processor with their latest patch to 7.1.3. So, more correctly, we need a way of preventing specific command processors from running when building NB modules. It seems that -proc:none is not the proper way to to go. Listing each and every NB command processor in the build script is not the best way either as this would involve listing about 20 command processors.
I guess by command processor you mean annotation processor. Does not seem to be jboss plugin issue after all.
Petr, my apologies. Yes, I meant the annotation processor.
You are correct. It is not the jBoss plugin, but rather how annotation processors are handled, and how conflicting processors are handled.
I'm not sure whether and how this should be handled. Reassigning to proper component.
Please attach sample project whether it is possible. You can try to explicitly enumerate annotation processors you want to use during compilation by using -processor class1[,class2,class3…].
Created attachment 134180 [details] Working nbm project with TopComponent and jboss-client.jar from 7.1.3.Final Product Version: NetBeans IDE Dev (Build 201304282301) Java: 1.7.0_13; Java HotSpot(TM) 64-Bit Server VM 23.7-b01 Runtime: Java(TM) SE Runtime Environment 1.7.0_13-b20 System: Linux version 3.5.0-28-generic running on amd64; UTF-8; en_US (nb) I've downloaded and built JBoss 7.1.3.Final and using its jboss-client.jar (with javax.annotation.processing.Processor located in META-INF/services) in nbm project with TopComponent and building works fine for me. See attachment.