From: <di...@us...> - 2006-04-29 15:48:52
|
Revision: 3353 Author: dizzzz Date: 2006-04-29 08:48:46 -0700 (Sat, 29 Apr 2006) ViewCVS: http://svn.sourceforge.net/exist/?rev=3353&view=rev Log Message: ----------- Fix: build clean did not remove samples classes Modified Paths: -------------- trunk/eXist-1.0/build/scripts/build-impl.xml Modified: trunk/eXist-1.0/build/scripts/build-impl.xml =================================================================== --- trunk/eXist-1.0/build/scripts/build-impl.xml 2006-04-29 12:31:20 UTC (rev 3352) +++ trunk/eXist-1.0/build/scripts/build-impl.xml 2006-04-29 15:48:46 UTC (rev 3353) @@ -30,6 +30,7 @@ <property name="build.docs" value="${build}/docs"/> <property name="build.docs.src" value="${build.docs}/source"/> <property name="build.docs.html" value="${build.docs}/html"/> + <property name="build.examples" value="${build}/examples"/> <property name="ant.home" value="."/> <property name="dist" value="./dist"/> <property name="webapp.dir" value="${dist}/webapp"/> @@ -207,19 +208,19 @@ <!-- Create samples --> <!-- ================================================================== --> <target depends="prepare" name="samples" description="Create samples"> - <delete failonerror="false" dir="${build}/examples"/> - <mkdir dir="${build}/examples"/> + <delete failonerror="false" dir="${build.examples}"/> + <mkdir dir="${build.examples}"/> <echo message="Compiling samples with Java ${ant.java.version} from ${build.compiler.source} source to ${build.compiler.target} target, debug ${build.debug}, optimize ${build.optimize}, deprecation ${build.deprecation}"/> <javac debug="${build.debug}" deprecation="${build.deprecation}" - destdir="${build}/examples" srcdir="${samples}" + destdir="${build.examples}" srcdir="${samples}" source="${build.compiler.source}" target="${build.compiler.target}" optimize="${build.optimize}" encoding="UTF-8"> <classpath> <path refid="classpath.core"/> </classpath> </javac> - <jar basedir="${build}/examples" compress="true" jarfile="examples.jar"> + <jar basedir="${build.examples}" compress="true" jarfile="examples.jar"> <include name="org/exist/examples/**"/> </jar> </target> @@ -371,6 +372,7 @@ <echo message="Cleaning"/> <echo message="-------------------------"/> <delete dir="${build.classes}"/> + <delete dir="${build.examples}"/> <delete dir="${dist.dir}"/> <delete quiet="true"> <fileset dir="log" includes="*"/> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |