You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Piotr Kaminski (JIRA)" <ji...@codehaus.org> on 2006/05/12 10:50:41 UTC

[jira] Created: (MANTLR-6) Support for grammar inheritance

Support for grammar inheritance
-------------------------------

         Key: MANTLR-6
         URL: http://jira.codehaus.org/browse/MANTLR-6
     Project: Maven 2.x Antlr Plugin
        Type: New Feature

    Reporter: Piotr Kaminski


maven-antlr-plugin does not support grammar inheritance (-glib argument).

See http://jira.codehaus.org/browse/MPANTLR-4



-- 
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


[jira] Updated: (MANTLR-6) Support for grammar inheritance

Posted by "Ersin Er (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MANTLR-6?page=all ]

Ersin Er updated MANTLR-6:
--------------------------

    Attachment: maven_antlr_plugin_grammar_inheritance_support.patch

The patch provides support for Antlr Grammar Inheritance. When the patch applied the plugin assumes all grammar files except the one being processed as candidates for super grammar source files and passes their paths to the antlr tool for the actual processed .g file.

The patch has been particularly tested within ApacheDS codebase.

> Support for grammar inheritance
> -------------------------------
>
>                 Key: MANTLR-6
>                 URL: http://jira.codehaus.org/browse/MANTLR-6
>             Project: Maven 2.x Antlr Plugin
>          Issue Type: New Feature
>            Reporter: Piotr Kaminski
>         Attachments: maven_antlr_plugin_grammar_inheritance_support.patch
>
>
> maven-antlr-plugin does not support grammar inheritance (-glib argument).
> See http://jira.codehaus.org/browse/MPANTLR-4

-- 
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

        

[jira] Updated: (MANTLR-6) Support for grammar inheritance

Posted by "Vincent Siveton (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MANTLR-6?page=all ]

Vincent Siveton updated MANTLR-6:
---------------------------------

             Assignee: Vincent Siveton
    Affects Version/s: 2.0-beta-1
        Fix Version/s: 2.0-beta-2

> Support for grammar inheritance
> -------------------------------
>
>                 Key: MANTLR-6
>                 URL: http://jira.codehaus.org/browse/MANTLR-6
>             Project: Maven 2.x Antlr Plugin
>          Issue Type: New Feature
>    Affects Versions: 2.0-beta-1
>            Reporter: Piotr Kaminski
>         Assigned To: Vincent Siveton
>             Fix For: 2.0-beta-2
>
>         Attachments: maven_antlr_plugin_grammar_inheritance_support.patch, maven_antlr_plugin_grammar_inheritance_support.patch
>
>
> maven-antlr-plugin does not support grammar inheritance (-glib argument).
> See http://jira.codehaus.org/browse/MPANTLR-4

-- 
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

        

[jira] Closed: (MANTLR-6) Support for grammar inheritance

Posted by "Vincent Siveton (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MANTLR-6?page=all ]

Vincent Siveton closed MANTLR-6.
--------------------------------

    Resolution: Fixed

Fixed. 
FYI you should use <grammarDefs/> parameter. For instance:

{code:xml} 
...
          <grammarDefs>
            <grammar>
              <name>StdCParser.g</name>
            </grammar>
            <grammar>
              <name>GnuCParser.g</name>
              <glib>StdCParser.g</glib>
            </grammar>
            <grammar>
              <name>GnuCTreeParser.g</name>
            </grammar>
            <grammar>
              <name>GnuCEmitter.g</name>
              <glib>GnuCTreeParser.g</glib>
            </grammar>
          </grammarDefs>
...
{code}

> Support for grammar inheritance
> -------------------------------
>
>                 Key: MANTLR-6
>                 URL: http://jira.codehaus.org/browse/MANTLR-6
>             Project: Maven 2.x Antlr Plugin
>          Issue Type: New Feature
>    Affects Versions: 2.0-beta-1
>            Reporter: Piotr Kaminski
>         Assigned To: Vincent Siveton
>             Fix For: 2.0-beta-2
>
>         Attachments: maven_antlr_plugin_grammar_inheritance_support.patch, maven_antlr_plugin_grammar_inheritance_support.patch
>
>
> maven-antlr-plugin does not support grammar inheritance (-glib argument).
> See http://jira.codehaus.org/browse/MPANTLR-4

-- 
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

        

[jira] Updated: (MANTLR-6) Support for grammar inheritance

Posted by "Ersin Er (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MANTLR-6?page=all ]

Ersin Er updated MANTLR-6:
--------------------------

    Attachment: maven_antlr_plugin_grammar_inheritance_support.patch

The previous attachment was a bad one due to subclipse.. The new one is the correct one. Sorry for inconvinience.

> Support for grammar inheritance
> -------------------------------
>
>                 Key: MANTLR-6
>                 URL: http://jira.codehaus.org/browse/MANTLR-6
>             Project: Maven 2.x Antlr Plugin
>          Issue Type: New Feature
>            Reporter: Piotr Kaminski
>         Attachments: maven_antlr_plugin_grammar_inheritance_support.patch, maven_antlr_plugin_grammar_inheritance_support.patch
>
>
> maven-antlr-plugin does not support grammar inheritance (-glib argument).
> See http://jira.codehaus.org/browse/MPANTLR-4

-- 
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