[antlr3-maven-plugin] antlr does not find *.tokens if libDirectory did not
exist before calling the plugin
----------------------------------------------------------------------------------------------------------
Key: MOJO-997
URL: http://jira.codehaus.org/browse/MOJO-997
Project: Mojo
Issue Type: Improvement
Reporter: Philippe Faes
Attachments: antlr3-maven-plugin.patch
When a libDirectory is defined in the plugin configuration, and it does not
exist when the plugin is called, an error is generated and antlr does not find
*.tokens files in the given libDirectory.
In most cases, the libDirectory is somewhere in target/generated-code/antlr so
after cleaning the project (mvn clean) it should not exits. Hence, the current
behavior is not desirable.
A patch is attached that checks if the libdir exists, and creates the dir if
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