jira.codehaus.org

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What?s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
  • Maven 2.x Antlr Plugin
  • MANTLR-4

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

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Bug Bug
  • Status: Open Open
  • Priority: Major Major
  • Resolution: Unresolved
  • Affects Version/s: None
  • Fix Version/s: None
  • Labels:
    None
  • Environment:
    All

Description

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.

Activity

  • All
  • Comments
  • Work Log
  • History
  • Activity
There are no comments yet on this issue.

People

  • Assignee:
    Unassigned
    Reporter:
    Sergey Kalinichenko
Vote (0)
Watch (0)

Dates

  • Created:
    18/Nov/05 12:37 PM
    Updated:
    08/Mar/06 10:47 PM
  • Atlassian JIRA (v5.0.4#731-sha1:3aa7374)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Codehaus. Try JIRA - bug tracking software for your team.