joerg 2003/07/17 12:01:42
Modified: src/targets ide-build.xml
Log:
splitted the eclipse-webapp-prepare target for usage with external started servlet
containers in combination with WEB-INF/classes as eclipse output folder
Revision Changes Path
1.10 +10 -4 cocoon-2.1/src/targets/ide-build.xml
Index: ide-build.xml
===================================================================
RCS file: /home/cvs/cocoon-2.1/src/targets/ide-build.xml,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- ide-build.xml 12 Jul 2003 19:40:44 -0000 1.9
+++ ide-build.xml 17 Jul 2003 19:01:41 -0000 1.10
@@ -120,12 +120,18 @@
</target>
<!-- Prepares the webapp to make it directly usable with the eclipse project -->
- <target name="eclipse-prepare-webapp" depends="prepare" description="Prepares the
webapp directory to make it usable within Eclipse">
+ <target name="eclipse-webapp-prepare" depends="prepare,
eclipse-webapp-delete-jars, eclipse-webapp-restore-roles"
+ description="Prepares the webapp directory to make it usable within
Eclipse"/>
+
+ <target name="eclipse-webapp-restore-roles">
+ <copy file="${build.dest}/org/apache/cocoon/cocoon.roles"
+ tofile="${build.webapp}/WEB-INF/classes/org/apache/cocoon/cocoon.roles"
+ overwrite="yes"/>
+ </target>
+
+ <target name="eclipse-webapp-delete-jars">
<!-- delete all jars, they are already included in the project -->
<delete>
<fileset dir="${build.webapp}/WEB-INF/lib" includes="*.jar"/>
</delete>
- <copy file="${build.dest}/org/apache/cocoon/cocoon.roles"
- tofile="${build.webapp}/WEB-INF/classes/org/apache/cocoon/cocoon.roles"
- overwrite="yes"/>
</target>