Provide new versions with updated jtb versions
----------------------------------------------

                 Key: MJAVACC-96
                 URL: http://jira.codehaus.org/browse/MJAVACC-96
             Project: Maven 2.x JavaCC Plugin
          Issue Type: Improvement
          Components: jtb
    Affects Versions: 2.6
            Reporter: Florian Brunner
            Priority: Blocker


I want to migrate a project, which uses jtb v1.4.0, to Maven.

I added the jtb jar to my local repository and tried the following, but it 
didn't work:
<plugin>
                                <groupId>org.codehaus.mojo</groupId>
                                <artifactId>javacc-maven-plugin</artifactId>
                                <executions>
                                        <execution>
                                                <id>jtb-javacc</id>
                                                <goals>
                                                        <goal>jtb-javacc</goal>
                                                </goals>
                                                <configuration>
                                                        <!-- options for JTB 
and JavaCC go here -->
                                                        
<jdkVersion>1.6</jdkVersion>
                                                        
<descriptiveFieldNames>true</descriptiveFieldNames>
                                                        
<parentPointers>true</parentPointers>
                                                        
<specialTokens>true</specialTokens>
                                                        
<packageName>foo</packageName>
                                                </configuration>
                                        </execution>
                                </executions>
                                <dependencies>
                                        <dependency>
                                                <!-- Override dependency on 
1.3.2 used natively by plugin -->
                                                
<groupId>edu.ucla.cs.compilers</groupId>
                                                <artifactId>jtb</artifactId>
                                                <version>1.4.0</version>
                                        </dependency>
                                </dependencies>
                        </plugin>

Unfortunatly, now the build fails because it cannot find the generated jj-File 
anymore.

And the output directories is:
${project.build.directory}/javacc-1278960672147
instead of
${project.build.directory}/generated-sources/javacc

Even an explicit execution configuration like
<interimDirectory>${project.build.directory}/generated-sources/jtb</interimDirectory>
<outputDirectory>${project.build.directory}/generated-sources/javacc</outputDirectory>

gets ignored.

This is currently a blocker for the migration to Maven!

Note that the new developments of jtb seem to happen here:
http://eclipse-javacc.sourceforge.net/
http://eclipse-javacc.sourceforge.net/jtb_doc.html

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to