Changeset 15234 for other-projects/trunk/gs3-webservices-democlient
- Timestamp:
- 2008-04-29T11:30:53+12:00 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
other-projects/trunk/gs3-webservices-democlient/build.xml
r15223 r15234 26 26 <property name="exec.jar.name" value="GS3democlient.jar" /> <!-- name of the executable--> 27 27 <property name="download.zip.name" value="gs3_webservices_democlient" /> 28 <property name="zip.excludes" value=" ${bin}/**,gs3democlient.properties" />28 <property name="zip.excludes" value="bin/**,gs3democlient.properties" /> 29 29 30 30 <!-- ============ project classpath: everything in the lib folder =================== --> … … 47 47 <echo>- generate-download</echo> 48 48 <echo> for generating the zip/gzip/bzip file of the project</echo> 49 <echo>- ant clean-democlient</echo> 50 <echo> for deleting the *.class files from the GS3democlient's source</echo> 49 51 <echo>- ant clean</echo> 50 <echo> for deleting the *.class files from the GS3democlient's source</echo>51 <echo>- ant clean-all</echo>52 52 <echo> for deleting the *.class files from the GS3democlient and GS3Fedora sources</echo> 53 <echo>- ant retain-sources-only</echo>53 <echo>- ant dist-clean</echo> 54 54 <echo> for deleting the *.class files from the sources, the QBRdata.jar, fedoraGS3.jar, executable jar file, and any zips of the project folder</echo> 55 55 </target> … … 67 67 </target> 68 68 69 <target name="generate-download" description="Generates the zip file of the lib and src folders and the executable ${exec.jar.name} file" depends="get-ziptype,ensure-exec-jar" >69 <target name="generate-download" description="Generates the zip file of the lib and src folders and the executable ${exec.jar.name} file" depends="get-ziptype,ensure-exec-jar" if="zip.type"> 70 70 <mkdir dir="${bin}" /> 71 <antcall target="create-gzip"/> 72 <antcall target="create-zip"/> 73 <antcall target="create-bzip"/> 71 <antcall target="create-${zip.type}"/> 74 72 </target> 75 73 … … 83 81 84 82 <!-- Cleaning targets --> 85 <target name="clean " description="Removes all class files from the GS3demo-client">83 <target name="clean-democlient" description="Removes all class files from the GS3demo-client"> 86 84 <delete> 87 85 <fileset dir="${democlient.src}" includes="**/*.class"/> … … 89 87 </target> 90 88 91 <target name="clean -all" description="Removes all class files from the GS3DemoClient and GS3Fedora source folders" depends="clean">89 <target name="clean" description="Removes all class files from the GS3DemoClient and GS3Fedora source folders" depends="clean-democlient"> 92 90 <delete> 93 91 <fileset dir="${fedorags3.src}" includes="**/*.class"/> … … 95 93 </target> 96 94 97 <target name=" retain-sources-only" description="Removes the project-specific jars fedoraGS3.jar, QBRdata.jar, ${exec.jar.name} files AND all class files from the GS3DemoClient and GS3Fedora source folders" depends="clean-all">95 <target name="dist-clean" description="Removes the project-specific jars fedoraGS3.jar, QBRdata.jar, ${exec.jar.name} files AND all class files from the GS3DemoClient and GS3Fedora source folders" depends="clean"> 98 96 <delete> 99 97 <fileset file="${basedir}/lib/fedoraGS3.jar"/> … … 166 164 <!-- User input for generating compressed output file for one of the chosen file types (zip, gzip, or bzip)--> 167 165 <target name="create-gzip" if="gzip" description="User chose to create a tar.gz file of the project"> 168 <tar destfile="${bin}/${download.zip.name}.tar" basedir="${basedir}" excludes="${zip.excludes}" />166 <tar destfile="${bin}/${download.zip.name}.tar" basedir="${basedir}" excludes="${zip.excludes}" /> 169 167 <gzip destfile="${bin}/${download.zip.name}.tar.gz" src="${bin}/${download.zip.name}.tar" /> 170 168 <delete file="${bin}/${download.zip.name}.tar"/> … … 197 195 </condition> 198 196 </target> 199 200 197 </project>
Note:
See TracChangeset
for help on using the changeset viewer.