antlr does not find *.tokens if libDirectory did not exist before calling the plugin
------------------------------------------------------------------------------------
Key: MANTLR-26
URL: http://jira.codehaus.org/browse/MANTLR-26
Project: Maven 2.x Antlr Plugin
Issue Type: Bug
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
|