Update of /var/cvs/all In directory james.mmbase.org:/tmp/cvs-serv15990 Modified Files: pom.xml project.properties Log Message: it is entirely unclear how I compile more than one .jj file in this ***** maven
See also: http://cvs.mmbase.org/viewcvs/all Index: pom.xml =================================================================== RCS file: /var/cvs/all/pom.xml,v retrieving revision 1.2 retrieving revision 1.3 diff -u -b -r1.2 -r1.3 --- pom.xml 21 Mar 2008 16:05:08 -0000 1.2 +++ pom.xml 18 Jun 2008 14:05:53 -0000 1.3 @@ -236,6 +236,7 @@ <artifactId>maven-mmbase-module-plugin</artifactId> <version>1.2</version> </plugin --> + <!-- <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>javacc-maven-plugin</artifactId> @@ -247,8 +248,8 @@ <goal>javacc</goal> </goals> <configuration> - <!-- outputDirectory>${basedir}/target/classes</outputDirectory --> - <sourceDirectory>${basedir}/src/org/mmbase/util/dateparser</sourceDirectory> + <outputDirectory>${basedir}/target/classes</outputDirectory> + <sourceDirectory>${basedir}/src/org/mmbase/util</sourceDirectory> <includes> <include>DateParser.jj</include> </includes> @@ -259,8 +260,27 @@ <isStatic>false</isStatic> </configuration> </execution> + <execution> + <id>javacc</id> + <goals> + <goal>javacc</goal> + </goals> + <configuration> + <outputDirectory>${basedir}/target/classes</outputDirectory> + <sourceDirectory>${basedir}/src/org/mmbase/util/transformers</sourceDirectory> + <includes> + <include>ListParser.jj</include> + </includes> + <excludes> + <include>**/*.java</include> + </excludes> + <lookAhead>2</lookAhead> + <isStatic>false</isStatic> + </configuration> + </execution> </executions> </plugin> + --> <plugin> <artifactId>maven-compiler-plugin</artifactId> <configuration> Index: project.properties =================================================================== RCS file: /var/cvs/all/project.properties,v retrieving revision 1.12 retrieving revision 1.13 diff -u -b -r1.12 -r1.13 --- project.properties 11 Apr 2008 08:42:11 -0000 1.12 +++ project.properties 18 Jun 2008 14:05:53 -0000 1.13 @@ -8,8 +8,12 @@ maven.mmbasemodule.examples=${maven.mmbasemodule.src}/html/mmexamples maven.mmbasemodule.config.includes=** + + +#So, how do I compile _two_ .jj files?? maven.javacc.javacc.grammar=${basedir}/src/org/mmbase/util/dateparser/DateParser.jj maven.javacc.javacc.package=org.mmbase.util.dateparser + maven.jar.index=true maven.jar.manifest.attributes.list=Main-Class _______________________________________________ Cvs mailing list Cvs@lists.mmbase.org http://lists.mmbase.org/mailman/listinfo/cvs