This content has been marked as final.
Show 4 replies
-
1. Re: JavaCC files compile failure
starksm64 Apr 6, 2007 11:54 AM (in response to alesj)It looks like previously generated classes were checked into the module and they need to be removed as well. I would guess the javacc plugin is recreating these in the mvn target dir.
-
2. Re: JavaCC files compile failure
alesj Apr 6, 2007 12:12 PM (in response to alesj)Ok, at least I found out where the old package name was coming from - pom.xml in osgi-int module:
<configuration> <sourceDirectory>${basedir}/src/main</sourceDirectory> <outputDirectory>${project.build.directory}/generated-sources/javacc/</outputDirectory> <packageName>org.jboss.vfs.bundle</packageName> </configuration>
I changed it to point to current javacc files package - org.jboss.osgi.plugins.metadata.
But this doesn't change the duplicate error. -
3. Re: JavaCC files compile failure
starksm64 Apr 6, 2007 12:55 PM (in response to alesj)Search for the Token.java/Token.class in the entire project to see where the duplicates are showing up.
-
4. Re: JavaCC files compile failure
alesj Apr 6, 2007 4:13 PM (in response to alesj)You're right, I added a javacc precompile with IDE external tool which also created .java files, so they were duplicated.
Sorry for the trouble. :-(