maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Philippe Faes (JIRA)" <j...@codehaus.org>
Subject [jira] Created: (MANTLR-26) antlr does not find *.tokens if libDirectory did not exist before calling the plugin
Date Sat, 12 Jan 2008 08:08:59 GMT
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

        

Mime
View raw message