[
http://jira.codehaus.org/browse/MJAVACC-57?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_121920
]
Paul Gier commented on MJAVACC-57:
----------------------------------
So we would need something like
{code:java}
if (skipJavacc && outputDirectory != defaultPath )
{
interimDirectory = outputDirectory;
}
{code}
Yeah, you're right it's not very pretty. And it would break in the unusual
situation where a user specified "<snip>/javacc" as their jjtree output
directory. Because the plugin would think that the parameter was left blank.
So, unless Jesse or someone else votes for replacing the current plugin, then I
think you should go ahead with your original plan.
> Allow jjtree to automatically execute javacc
> --------------------------------------------
>
> Key: MJAVACC-57
> URL: http://jira.codehaus.org/browse/MJAVACC-57
> Project: Maven 2.x JavaCC Plugin
> Issue Type: New Feature
> Components: jjtree
> Reporter: Paul Gier
> Assignee: Benjamin Bentmann
> Fix For: 2.x
>
>
> The common use case for jjtree is to first run the jjtree-mojo and then run
> the javacc-mojo on the output of jjtree. This requires the configuration of
> two mojo executions. It would be nice if the jjtree mojo automatically
> called javacc on it's output by default. This way only one execution would
> be needed.
--
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