ovidiu 02/01/09 21:17:51 Modified: src/scratchpad/schecoon build.xml Log: Copy the dtd and stylesheets directories from the master Cocoon. Revision Changes Path 1.3 +17 -1 xml-cocoon2/src/scratchpad/schecoon/build.xml Index: build.xml =================================================================== RCS file: /home/cvs/xml-cocoon2/src/scratchpad/schecoon/build.xml,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- build.xml 8 Jan 2002 23:17:27 -0000 1.2 +++ build.xml 10 Jan 2002 05:17:51 -0000 1.3 @@ -121,12 +121,27 @@ </target> <!-- =================================================================== --> + <!-- Copies the DTD directory from the parent --> + <!-- =================================================================== --> + <target name="dtd" depends="init"> + <mkdir dir="${webapp.dir}/docs/dtd"/> + <copy todir="${webapp.dir}/docs/dtd" filtering="off"> + <fileset dir="../../webapp/tutorial/docs/dtd"/> + </copy> + </target> + + <!-- =================================================================== --> <!-- Prepares the webapp directories --> <!-- =================================================================== --> - <target name="prepare-webapp" depends="prepare"> + <target name="prepare-webapp" depends="prepare, dtd"> <copy todir="${build.war}" filtering="off"> <fileset dir="${webapp.dir}" excludes="**/*.in"/> </copy> + + <mkdir dir="${build.war}/stylesheets"/> + <copy todir="${build.war}/stylesheets" filtering="off"> + <fileset dir="../../documentation/stylesheets"/> + </copy> </target> <!-- =================================================================== --> @@ -256,6 +271,7 @@ <!-- =================================================================== --> <target name="clean" depends="init" description="* Cleans the build directories"> <delete dir="${build.dir}"/> + <delete dir="${webapp.dir}/docs/dtd"/> <delete> <fileset dir="${emacs.dir}" includes="sisc-servlet.bat"/> <fileset dir="${emacs.dir}" includes="sisc-servlet"/>
---------------------------------------------------------------------- In case of troubles, e-mail: [EMAIL PROTECTED] To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]