From: Vincent M. <vm...@us...> - 2003-05-14 15:13:28
|
Update of /cvsroot/mockobjects/mockobjects-java/doc In directory sc8-pr-cvs1:/tmp/cvs-serv24444/doc Modified Files: site.xml Added Files: .cvsignore Log Message: - Added cvs ignore file for the out/ dir - Compile the class file in out/ rather than in place (make it less ugly when doing a cvs update) --- NEW FILE: .cvsignore --- out Index: site.xml =================================================================== RCS file: /cvsroot/mockobjects/mockobjects-java/doc/site.xml,v retrieving revision 1.7 retrieving revision 1.8 diff -u -r1.7 -r1.8 --- site.xml 14 Oct 2002 22:56:25 -0000 1.7 +++ site.xml 14 May 2003 15:13:24 -0000 1.8 @@ -10,30 +10,28 @@ </target> <target name="copy-stylesheet"> - <copy file="html/stylesheet.css" todir="out"/> + <copy file="html/stylesheet.css" todir="${out.dir}/html"/> </target> <target name="clean" depends="project-properties"> - <delete quiet="true"> - <fileset dir="${out.dir}"/> - <fileset includes="**/*.class"/> - </delete> + <delete dir="${out.dir}"/> </target> <target name="add-task"> - <javac srcdir="."/> + <mkdir dir="${out.dir}/classes"/> + <javac srcdir="." destdir="${out.dir}/classes"/> <taskdef name="template" classname="com.mockobjects.doc.SiteTemplate" - classpath="."/> + classpath="${out.dir}/classes"/> </target> <target name="site" depends="project-properties, add-task, copy-stylesheet" description="Create the output directory and copy templated files over."> - <mkdir dir="${out.dir}"/> + <mkdir dir="${out.dir}/html"/> <template templatefile="html/template.txt" - todir="${out.dir}" + todir="${out.dir}/html" dir="html" includes="*.html"/> </target> |