- Revision
- 567
- Author
- rfscholte
- Date
- 2009-02-21 10:40:45 -0600 (Sat, 21 Feb 2009)
Log Message
jflex antcall replaced by maven plugin
Modified Paths
Removed Paths
Diff
Deleted: trunk/qdox/bootstrap/jflex.jar
(Binary files differ)
Modified: trunk/qdox/pom.xml (566 => 567)
--- trunk/qdox/pom.xml 2009-02-21 16:10:50 UTC (rev 566) +++ trunk/qdox/pom.xml 2009-02-21 16:40:45 UTC (rev 567) @@ -131,15 +131,28 @@ </testResources> <plugins> <plugin> + <groupId>de.jflex</groupId> + <artifactId>maven-jflex-plugin</artifactId> + <version>1.4.3</version> + <executions> + <execution> + <goals> + <goal>generate</goal> + </goals> + </execution> + </executions> + <configuration> + <outputDirectory>${project.build.directory}/generated-sources/parser</outputDirectory> + <lexDefinitions> + <lexFile>${basedir}/src/grammar/lexer.flex</lexFile> + </lexDefinitions> + </configuration> + </plugin> + <plugin> <artifactId>maven-antrun-plugin</artifactId> <version>1.3</version> <configuration> <tasks> - <java classpath="bootstrap/jflex.jar" classname="JFlex.Main" fork="true"> - <arg value="-d" /> - <arg value="${project.build.directory}/generated-sources/parser/com/thoughtworks/qdox/parser/impl" /> - <arg value="src/grammar/lexer.flex" /> - </java> <exec executable="${qdox.byaccj.executable}" dir="${project.build.directory}/generated-sources/parser/com/thoughtworks/qdox/parser/impl" failonerror="true"> <arg value="-v" /> <arg value="-Jnorun" />
Modified: trunk/qdox/src/grammar/lexer.flex (566 => 567)
--- trunk/qdox/src/grammar/lexer.flex 2009-02-21 16:10:50 UTC (rev 566) +++ trunk/qdox/src/grammar/lexer.flex 2009-02-21 16:40:45 UTC (rev 567) @@ -53,7 +53,7 @@ } private void pushState(int newState) { - stateStack[stateDepth++] = yy_lexical_state; + stateStack[stateDepth++] = zzLexicalState; yybegin(newState); }
To unsubscribe from this list please visit:
