You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cayenne.apache.org by aa...@apache.org on 2012/09/16 16:57:42 UTC
svn commit: r1385277 -
/cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/pom.xml
Author: aadamchik
Date: Sun Sep 16 14:57:41 2012
New Revision: 1385277
URL: http://svn.apache.org/viewvc?rev=1385277&view=rev
Log:
clarifying JavaCC exec procedure
Modified:
cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/pom.xml
Modified: cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/pom.xml
URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/pom.xml?rev=1385277&r1=1385276&r2=1385277&view=diff
==============================================================================
--- cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/pom.xml (original)
+++ cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/pom.xml Sun Sep 16 14:57:41 2012
@@ -149,45 +149,15 @@
</goals>
</execution>
<!--
- Commented out expression executions, as exp/parser package is not
- properly setup - it stores generated parser in SVN in
- src/main/java. So the executions below are used for manual
- generation TODO: make it a profile.
+ src/main/jjtree/org/apache/cayenne/exp/parser for now is generated outside of
+ Maven with JavaCC command line tools (maybe we should do the same for EJBQL) :
+
+ # Parser grammar out of tree grammar:
+ $ ./javacc-5.0/bin/jjtree src/main/jjtree/org/apache/cayenne/exp/parser/ExpressionParser.jjt
+
+ # docs
+ $ ./javacc-5.0/bin/jjdoc -TEXT=true ExpressionParser.jj
-->
- <!--
- <execution>
- <id>jjtree-exp</id>
- <phase>generate-sources</phase>
- <configuration>
- <sourceDirectory>
- ${basedir}/src/main/jjtree/org/apache/cayenne/exp/parser
- </sourceDirectory>
- <outputDirectory>
- ${basedir}/src/main/java
- </outputDirectory>
- <buildNodeFiles>true</buildNodeFiles>
- </configuration>
- <goals>
- <goal>jjtree</goal>
- </goals>
- </execution>
- <execution>
- <id>javacc-exp</id>
- <phase>generate-sources</phase>
- <configuration>
- <buildParser>true</buildParser>
- <sourceDirectory>
- ${basedir}/src/main/java
- </sourceDirectory>
- <outputDirectory>
- ${basedir}/src/main/java
- </outputDirectory>
- </configuration>
- <goals>
- <goal>javacc</goal>
- </goals>
- </execution>
- -->
</executions>
</plugin>
<plugin>