Maven 1.x JavaCC Plugin

[JavaCC] won't compile generated classes

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: None
  • Fix Version/s: None
  • Component/s: None
  • Labels:
    None
  • Environment:
    Maven 1.0rc2, JavaCC plugin 1.0
  • Number of attachments :
    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>

Activity

Hide
Brett Porter added a comment -

this was fixed before RC3 was release, issue just wasn't closed.

Show
Brett Porter added a comment - this was fixed before RC3 was release, issue just wasn't closed.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: