You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Jason van Zyl (JIRA)" <ji...@codehaus.org> on 2005/12/20 04:03:35 UTC
[jira] Moved: (MANTLR-4) ANTLR plugin for maven should provide more
information to eclipse plugin for maven
[ http://jira.codehaus.org/browse/MANTLR-4?page=all ]
Jason van Zyl moved MNG-1624 to MANTLR-4:
-----------------------------------------
type: Bug (was: Improvement)
Component: (was: maven-antlr-plugin)
Workflow: jira (was: Maven)
Key: MANTLR-4 (was: MNG-1624)
Project: Maven 2.x Antlr Plugin (was: Maven 2)
> ANTLR plugin for maven should provide more information to eclipse plugin for maven
> ----------------------------------------------------------------------------------
>
> Key: MANTLR-4
> URL: http://jira.codehaus.org/browse/MANTLR-4
> Project: Maven 2.x Antlr Plugin
> Type: Bug
> 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