Update of /var/cvs/all
In directory james.mmbase.org:/tmp/cvs-serv16094
Modified Files:
Tag: MMBase-1_8
maven.xml
Added Files:
Tag: MMBase-1_8
javacc.xml
Log Message:
fixed maven build in 1.8 branch
See also: http://cvs.mmbase.org/viewcvs/all
javacc.xml is new
Index: maven.xml
===================================================================
RCS file: /var/cvs/all/maven.xml,v
retrieving revision 1.2
retrieving revision 1.2.2.1
diff -u -b -r1.2 -r1.2.2.1
--- maven.xml 12 Jun 2006 08:20:48 -0000 1.2
+++ maven.xml 24 Sep 2008 08:28:49 -0000 1.2.2.1
@@ -14,6 +14,15 @@
<attainGoal name="javacc"/>
</preGoal>
+ <preGoal name="java:compile">
+ <path id="generated-src"
location="${basedir}/target/generated-src/main/java" />
+ <ant:ant dir="${basedir}" antfile="javacc.xml">
+ <ant:property name="build.dir" location="target" />
+ <ant:property name="generated-source-src.dir"
location="target/generated-src/main/java" />
+ </ant:ant>
+ <maven:addPath id="maven.compile.src.set" refid="generated-src" />
+ </preGoal>
+
<preGoal name="jar:jar">
<util:available file="${maven.build.dest}/org/mmbase">
<!-- Date now = new Date(); -->
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs