Issue Details (XML | Word | Printable)

Key: MPJAVACC-1
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Brett Porter
Reporter: Howard M. Lewis Ship
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Maven 1.x JavaCC Plugin

[JavaCC] won't compile generated classes

Created: 28/Apr/04 07:21 AM   Updated: 11/Jun/04 09:08 PM
Component/s: None
Affects Version/s: None
Fix Version/s: None

Time Tracking:
Not Specified

Environment: Maven 1.0rc2, JavaCC plugin 1.0


 Description  « Hide
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>



 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Brett Porter added a comment - 11/Jun/04 09:08 PM
this was fixed before RC3 was release, issue just wasn't closed.