You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by ma...@apache.org on 2004/12/29 14:28:24 UTC
cvs commit: incubator-myfaces/build/tiles-webapp build.xml
matzew 2004/12/29 05:28:24
Modified: build/tiles-webapp build.xml
Log:
changed Tiles sample
Revision Changes Path
1.6 +15 -2 incubator-myfaces/build/tiles-webapp/build.xml
Index: build.xml
===================================================================
RCS file: /home/cvs/incubator-myfaces/build/tiles-webapp/build.xml,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- build.xml 28 Dec 2004 21:17:20 -0000 1.5
+++ build.xml 29 Dec 2004 13:28:24 -0000 1.6
@@ -60,9 +60,22 @@
<target name="-compile-and-copy-libs"
- depends="-myfaces-jar, -myfaces-jsf-api-jar"
+ depends="-myfaces-jar"
description="compiles the tiles java classes to WEB-INF/classes and copies all needed libs to WEB-INF/lib">
<mkdir dir="${web-inf.classes.dir}" />
+ <javac srcdir="${tiles.src}"
+ destdir="${web-inf.classes.dir}"
+ optimize="${javac.optimize}"
+ debug="${javac.debug}"
+ classpathref="tiles.class.path">
+ </javac>
+ <copy todir="${web-inf.classes.dir}">
+ <fileset dir="${tiles.src}"
+ includes="**"
+ excludes="**/*.java
+ **/package.html"/>
+ </copy>
+
</target>
<target name="-war" depends="-compile-and-copy-libs">
@@ -88,7 +101,7 @@
<lib file="${jstl.jar}"/>
<lib file="${myfaces.jar}"/>
<lib file="${struts.jar}"/>
- <lib file="${myfaces-jsf-api.jar}"/>
+ <!--lib file="${myfaces-jsf-api.jar}"/-->
<classes dir="${web-inf.classes.dir}" />
<fileset dir="${tiles.web}"
excludes="WEB-INF/classes/**,