[Design of OSGi Integration] - JavaCC files compile failure
by alesj
I (re)moved Scott's initial HeaderValue.jj to another package.
And now I get this failure when running root pom.xml --> osgi-int module build:
| C:\projects\microcontainer\osgi-int\src\main\org\jboss\osgi\plugins\metadata\HeaderValueTokenManager.java:[9,7] duplicate class: org.jboss.osgi.plugins.metadata.HeaderValueTokenManager
|
| C:\projects\microcontainer\osgi-int\target\generated-sources\javacc\org\jboss\vfs\bundle\HeaderValue.java:[19,7] duplicate class: org.jboss.osgi.plugins.metadata.HeaderValue
|
| C:\projects\microcontainer\osgi-int\target\generated-sources\javacc\org\jboss\vfs\bundle\Token.java:[8,7] duplicate class: org.jboss.osgi.plugins.metadata.Token
|
| C:\projects\microcontainer\osgi-int\target\generated-sources\javacc\org\jboss\vfs\bundle\HeaderValueConstants.java:[4,7] duplicate class: org.jboss.osgi.plugins.metadata.HeaderValueConstants
|
| C:\projects\microcontainer\osgi-int\src\main\org\jboss\osgi\plugins\metadata\SimpleCharStream.java:[9,7] duplicate class: org.jboss.osgi.plugins.metadata.SimpleCharStream
|
| C:\projects\microcontainer\osgi-int\target\generated-sources\javacc\org\jboss\vfs\bundle\ParseException.java:[13,7] duplicate class: org.jboss.osgi.plugins.metadata.ParseException
|
| C:\projects\microcontainer\osgi-int\target\generated-sources\javacc\org\jboss\vfs\bundle\TokenMgrError.java:[4,7] duplicate class: org.jboss.osgi.plugins.metadata.TokenMgrError
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4035364#4035364
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4035364
18 years, 9 months
[Design of JBoss ESB] - Compile error in trunk code
by derek.adams
Is anyone else getting an error when compiling the trunk code? Everything compiles fine in Eclipse, but fails when running the ant 'jar' target using jdk1.5.0_11. Here is the stacktrace:
[java] [javac] Compiling 17 source files to C:\eclipsews\jboss-esb-trunk\JBossESB\build\classes\listeners
| [java] [javac] C:\eclipsews\jboss-esb-trunk\JBossESB\core\listeners\src\org\jboss\soa\esb\listeners\config\Generator.java:107: non-static variable this cannot be referenced from a static context
| [java] [javac] return new XMLBeansModel(doc);
| [java] [javac] ^
| [java] [javac] Note: C:\eclipsews\jboss-esb-trunk\JBossESB\core\listeners\src\org\jboss\soa\esb\listeners\config\ServicePublisher.java uses unchecked or unsafe operations.
| [java] [javac] Note: Recompile with -Xlint:unchecked for details.
| [java] [javac] 1 error
|
The code looks fine to me, but I am not sure how to get around the error.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4035111#4035111
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4035111
18 years, 9 months