[ http://jira.codehaus.org/browse/MNG-603?page=all ]
Jesse McConnell updated MNG-603:
--------------------------------
Attachment: maven-sablecc-plugin.v2.tar
this is using a modifed computeStaleGrammars() from the AbstractCompilerMojo
now all you need to do is put *.grammar files into the <sourceDirectory/>
(src/main/sablecc by default) and it will pick them up and process them, and
not reprocess them unless it has changed.
> sablecc plugin
> --------------
>
> Key: MNG-603
> URL: http://jira.codehaus.org/browse/MNG-603
> Project: Maven 2
> Type: Improvement
> Components: maven-plugins
> Reporter: Jesse McConnell
> Fix For: 2.0-beta-1
> Attachments: maven-sablecc-plugin.tar, maven-sablecc-plugin.v2.tar
>
>
> added a sablecc plugin which can be used like this:
> <plugin>
> <artifactId>maven-sablecc-plugin</artifactId>
> <version>1.0-SNAPSHOT</version>
> <configuration>
> <grammars>expressions.grammar, aicc.grammar</grammars>
> </configuration>
> <executions>
> <execution>
> <phase>generate-sources</phase>
> <goals>
> <goal>generate</goal>
> </goals>
> </execution>
> </executions>
> </plugin>
--
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, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]