You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Sergey Kalinichenko (JIRA)" <ji...@codehaus.org> on 2005/11/18 19:38:06 UTC

[jira] Created: (MNG-1624) ANTLR plugin for maven should provide more information to eclipse plugin for maven

ANTLR plugin for maven should provide more information to eclipse plugin for maven
----------------------------------------------------------------------------------

         Key: MNG-1624
         URL: http://jira.codehaus.org/browse/MNG-1624
     Project: Maven 2
        Type: Improvement
  Components: maven-antlr-plugin  
 Environment: All
    Reporter: Sergey Kalinichenko


Current version of the ANTLR plugin for maven provides the minimum amount of support required for successful generation of an eclipse project based on a POM with ANTLR files. The resulting eclipse project has a reference to the generated source directory, enabling eclipse builds. However, the link to the original grammars is not visible to the users of the resulting eclipse project.

Many ANTLR users running eclipse enjoy a great plugin for eclipse for working with ANTLR grammars (http://antlreclipse.sourceforge.net). It would be very desirable to make the ANTLR plugin for maven aware of the ANTLR plugin for eclipse, with the following functionality:
1. ANTLR plugin for maven provides an option to turn the ANTLR-eclipse integration on and off
2. The src/main/antlr is added to the list of source folders of the generated eclipse project
3. When the ANTLR-eclipse integration is on, the "ANTLR project nature" is turned on in the generated eclipse project (see the last screenshot on the http://antlreclipse.sourceforge.net page).
4. When the ANTLR-eclipse integration is on, the options the ANTLR plugin for maven supplies to ANTLR are added to each grammar file processed by the ANTLR plugin for maven (http://antlreclipse.sourceforge.net/images/grammar-properties.png).

I am nearly certain that this sort of "magical" integration will require a lot of expert-level work from both the maven-antlr and the maven-eclipse teams. Moreover, doing this sort of things (i.e. maven-antlr plugin providing info for maven-eclipse plugin specific to the grammar files, and maven-eclipse plugin picking up and acting on this information) may not be currently supported. I think that this could be a very desirable functionality for maven plugins supporting other code-generating tools.

-- 
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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org