You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Jesse McConnell (JIRA)" <ji...@codehaus.org> on 2005/07/18 22:51:36 UTC

[jira] Created: (MNG-603) sablecc plugin

sablecc plugin
--------------

         Key: MNG-603
         URL: http://jira.codehaus.org/browse/MNG-603
     Project: Maven 2
        Type: Improvement
  Components: maven-plugins  
 Reporter: Jesse McConnell
 Attachments: maven-sablecc-plugin.tar

added a sablecc plugin which can be used like this:

        <plugin>
            <artifactId>maven-sablecc-plugin</artifactId>
            <version>1.0-SNAPSHOT</version>
            <configuration>
               <grammars>expressions.grammar, aicc.grammar</grammars>
            </configuration>
            <executions>
               <execution>
                  <phase>generate-sources</phase>
                  <goals>
                     <goal>generate</goal>
                  </goals>
               </execution>
            </executions>
         </plugin>


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


[jira] Updated: (MNG-603) sablecc plugin

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-603?page=all ]

Brett Porter updated MNG-603:
-----------------------------

    Fix Version: 2.0-beta-1

> sablecc plugin
> --------------
>
>          Key: MNG-603
>          URL: http://jira.codehaus.org/browse/MNG-603
>      Project: Maven 2
>         Type: Improvement
>   Components: maven-plugins
>     Reporter: Jesse McConnell
>      Fix For: 2.0-beta-1
>  Attachments: maven-sablecc-plugin.tar
>
>
> added a sablecc plugin which can be used like this:
>         <plugin>
>             <artifactId>maven-sablecc-plugin</artifactId>
>             <version>1.0-SNAPSHOT</version>
>             <configuration>
>                <grammars>expressions.grammar, aicc.grammar</grammars>
>             </configuration>
>             <executions>
>                <execution>
>                   <phase>generate-sources</phase>
>                   <goals>
>                      <goal>generate</goal>
>                   </goals>
>                </execution>
>             </executions>
>          </plugin>

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


[jira] Updated: (MNG-603) sablecc plugin

Posted by "Jesse McConnell (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-603?page=all ]

Jesse McConnell updated MNG-603:
--------------------------------

    Attachment: maven-sablecc-plugin.v3.tar

bleh, missed the removal of the previously required <grammer/> tag

ought to be gtg now

> sablecc plugin
> --------------
>
>          Key: MNG-603
>          URL: http://jira.codehaus.org/browse/MNG-603
>      Project: Maven 2
>         Type: Improvement
>   Components: maven-plugins
>     Reporter: Jesse McConnell
>      Fix For: 2.0-beta-1
>  Attachments: maven-sablecc-plugin.tar, maven-sablecc-plugin.v2.tar, maven-sablecc-plugin.v3.tar
>
>
> added a sablecc plugin which can be used like this:
>         <plugin>
>             <artifactId>maven-sablecc-plugin</artifactId>
>             <version>1.0-SNAPSHOT</version>
>             <configuration>
>                <grammars>expressions.grammar, aicc.grammar</grammars>
>             </configuration>
>             <executions>
>                <execution>
>                   <phase>generate-sources</phase>
>                   <goals>
>                      <goal>generate</goal>
>                   </goals>
>                </execution>
>             </executions>
>          </plugin>

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


[jira] Updated: (MNG-603) sablecc plugin

Posted by "Jesse McConnell (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-603?page=all ]

Jesse McConnell updated MNG-603:
--------------------------------

    Attachment: maven-sablecc-plugin.v2.tar

this is using a modifed computeStaleGrammars() from the AbstractCompilerMojo

now all you need to do is put *.grammar files into the <sourceDirectory/> (src/main/sablecc by default) and it will pick them up and process them, and not reprocess them unless it has changed.

> sablecc plugin
> --------------
>
>          Key: MNG-603
>          URL: http://jira.codehaus.org/browse/MNG-603
>      Project: Maven 2
>         Type: Improvement
>   Components: maven-plugins
>     Reporter: Jesse McConnell
>      Fix For: 2.0-beta-1
>  Attachments: maven-sablecc-plugin.tar, maven-sablecc-plugin.v2.tar
>
>
> added a sablecc plugin which can be used like this:
>         <plugin>
>             <artifactId>maven-sablecc-plugin</artifactId>
>             <version>1.0-SNAPSHOT</version>
>             <configuration>
>                <grammars>expressions.grammar, aicc.grammar</grammars>
>             </configuration>
>             <executions>
>                <execution>
>                   <phase>generate-sources</phase>
>                   <goals>
>                      <goal>generate</goal>
>                   </goals>
>                </execution>
>             </executions>
>          </plugin>

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


[jira] Closed: (MNG-603) sablecc plugin

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-603?page=all ]
     
Brett Porter closed MNG-603:
----------------------------

     Resolution: Fixed
    Fix Version:     (was: 2.0-beta-1)

the mojo project at codehaus has taken in this plugin

> sablecc plugin
> --------------
>
>          Key: MNG-603
>          URL: http://jira.codehaus.org/browse/MNG-603
>      Project: Maven 2
>         Type: Improvement
>   Components: maven-plugins
>     Reporter: Jesse McConnell
>  Attachments: maven-sablecc-plugin.tar, maven-sablecc-plugin.v2.tar, maven-sablecc-plugin.v3.tar
>
>
> added a sablecc plugin which can be used like this:
>         <plugin>
>             <artifactId>maven-sablecc-plugin</artifactId>
>             <version>1.0-SNAPSHOT</version>
>             <configuration>
>                <grammars>expressions.grammar, aicc.grammar</grammars>
>             </configuration>
>             <executions>
>                <execution>
>                   <phase>generate-sources</phase>
>                   <goals>
>                      <goal>generate</goal>
>                   </goals>
>                </execution>
>             </executions>
>          </plugin>

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


[jira] Commented: (MNG-603) sablecc plugin

Posted by "Jesse McConnell (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MNG-603?page=comments#action_43015 ] 

Jesse McConnell commented on MNG-603:
-------------------------------------

oh, namely

- support for not running sablecc everytime based on a stored timestamp from the originating grammer
- support for a default mechanism that grabs all the .grammer files in the sourceDirectory and crunches them

> sablecc plugin
> --------------
>
>          Key: MNG-603
>          URL: http://jira.codehaus.org/browse/MNG-603
>      Project: Maven 2
>         Type: Improvement
>   Components: maven-plugins
>     Reporter: Jesse McConnell
>      Fix For: 2.0-beta-1
>  Attachments: maven-sablecc-plugin.tar
>
>
> added a sablecc plugin which can be used like this:
>         <plugin>
>             <artifactId>maven-sablecc-plugin</artifactId>
>             <version>1.0-SNAPSHOT</version>
>             <configuration>
>                <grammars>expressions.grammar, aicc.grammar</grammars>
>             </configuration>
>             <executions>
>                <execution>
>                   <phase>generate-sources</phase>
>                   <goals>
>                      <goal>generate</goal>
>                   </goals>
>                </execution>
>             </executions>
>          </plugin>

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


[jira] Commented: (MNG-603) sablecc plugin

Posted by "Jesse McConnell (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MNG-603?page=comments#action_43014 ] 

Jesse McConnell commented on MNG-603:
-------------------------------------

I thought of some things to add to this, I'll try and get them in tomorrow and attach another tar or diff

> sablecc plugin
> --------------
>
>          Key: MNG-603
>          URL: http://jira.codehaus.org/browse/MNG-603
>      Project: Maven 2
>         Type: Improvement
>   Components: maven-plugins
>     Reporter: Jesse McConnell
>      Fix For: 2.0-beta-1
>  Attachments: maven-sablecc-plugin.tar
>
>
> added a sablecc plugin which can be used like this:
>         <plugin>
>             <artifactId>maven-sablecc-plugin</artifactId>
>             <version>1.0-SNAPSHOT</version>
>             <configuration>
>                <grammars>expressions.grammar, aicc.grammar</grammars>
>             </configuration>
>             <executions>
>                <execution>
>                   <phase>generate-sources</phase>
>                   <goals>
>                      <goal>generate</goal>
>                   </goals>
>                </execution>
>             </executions>
>          </plugin>

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