You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by ji...@codehaus.org on 2004/04/28 13:23:03 UTC

[jira] Created: (MPANTLR-2) [JavaCC] won't compile generated classes

Message:

  A new issue has been created in JIRA.

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/secure/ViewIssue.jspa?key=MPANTLR-2

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MPANTLR-2
    Summary: [JavaCC] won't compile generated classes
       Type: Bug

     Status: Unassigned
   Priority: Major

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven-antlr-plugin
   Versions:
             1.0

   Assignee: 
   Reporter: Howard M. Lewis Ship

    Created: Wed, 28 Apr 2004 7:21 AM
    Updated: Wed, 28 Apr 2004 7:21 AM
Environment: Maven 1.0rc2, JavaCC plugin 1.0

Description:
First off, the JavaCC plugin's issue reporting page goes here. Sorry.

Second, part of the plugin's Jelly code references a "generated-java" directory, and part references a "generated/java" directory ... so obviously, it was put into production, and given a 1.0 release, without actually testing it.

My work around (in my projext.xml) looks like:

	<preGoal name="java:compile">

		<attainGoal name="javacc:javacc-generate"/>

			<!-- Kludge around a typo in the JavaCC  -->
			
        <ant:path id="maven.javacc.compile.src.set"
            location="${basedir}/target/generated-java"/>
        <maven:addPath id="maven.compile.src.set"
            refid="maven.javacc.compile.src.set"/>

	</preGoal>



---------------------------------------------------------------------
JIRA INFORMATION:
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

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org