Changeset 15735 for other-projects/trunk/gs3-webservices-democlient
- Timestamp:
- 2008-05-27T19:29:06+12:00 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
other-projects/trunk/gs3-webservices-democlient/build.xml
r15734 r15735 15 15 <property name="src.dir" value="${basedir}/src" /> 16 16 <property name="democlient.rootdir" value="${src.dir}/GS3DemoClient" /> 17 <property name="democlient.src" value="${democlient.rootdir}/org" /> 17 18 <property name="fedorags3.rootdir" value="${src.dir}/GS3Fedora" /> 18 <property name="democlient.src" value="${democlient.rootdir}/org" />19 19 <property name="fedorags3.src" value="${fedorags3.rootdir}/org" /> 20 <property name="gsearchinstaller.rootdir" value="${src.dir}/GSearchInstaller" /> 21 <property name="gsearchinstaller.src" value="${gsearchinstaller.rootdir}/org" /> 22 20 23 <property name="build" value="${basedir}/build" /> 21 24 <property name="dist" value="${basedir}/dist" /> … … 65 68 <echo>- ant update</echo> 66 69 <echo> for getting the latest version of CheckJavaVersion.java, and the files for creating the gs3_for_client.jar dependency from Greenstone's SVN repository</echo> 70 <echo>- ant GSearchInstallerjar</echo> 71 <echo> for generating the GSearchInstaller.jar application that helps in installing Fedora Generic Search (if you have Fedora installed).</echo> 67 72 </target> 68 73 … … 80 85 </target> 81 86 82 <target name="make-dist" description="Generates the zip file of the lib and src folders and the executable ${exec.jar.name} file" depends="get-zipformat,ensure-exec-jar " if="zip.type">87 <target name="make-dist" description="Generates the zip file of the lib and src folders and the executable ${exec.jar.name} file" depends="get-zipformat,ensure-exec-jar,ensure-gsearchinstall-jar" if="zip.type"> 83 88 <mkdir dir="${dist}" /> 84 89 <antcall target="create-${zip.type}"/> … … 100 105 </target> 101 106 102 <target name="clean" description="Removes all class files from the GS3DemoClient and GS3Fedorasource folders" depends="clean-democlient">107 <target name="clean" description="Removes all class files from the GS3DemoClient, GS3Fedora, GSearchInstaller source folders" depends="clean-democlient"> 103 108 <delete> 104 109 <fileset dir="${fedorags3.src}" includes="**/*.class"/> 105 </delete> 106 </target> 107 108 <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"> 110 <fileset dir="${gsearchinstaller.src}" includes="**/*.class"/> 111 </delete> 112 </target> 113 114 <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, GS3Fedora and GSearchInstaller source folders" depends="clean"> 109 115 <delete includeEmptyDirs="true" failonerror="false"> 116 <fileset file="${basedir}/GSearchInstaller.jar"/> 110 117 <fileset file="${basedir}/lib/fedoraGS3.jar"/> 111 118 <fileset file="${basedir}/lib/QBRdata.jar"/> … … 196 203 </target> 197 204 205 <!-- Target that generates the GSearchInstaller jar file --> 206 <target name="GSearchInstallerjar" description="Compiles and creates the jar file for the stand-alone GSearchInstaller application"> 207 <javac srcdir="${gsearchinstaller.rootdir}"/> 208 <jar destfile="GSearchInstaller.jar" 209 basedir="${gsearchinstaller.rootdir}/" 210 manifest="${gsearchinstaller.rootdir}/Manifest.MF"/> 211 </target> 212 198 213 <!-- Targets that check for and ensure the existence of project-specific jar files --> 199 214 <target name="check-QBRdata-jar" description="Checks for existence of dependency file QBRdata.jar"> … … 226 241 <target name="ensure-exec-jar" description="Will generate ${exec.jar.name} if it did not exist" depends="check-exec-jar" unless="executable.exists"> 227 242 <antcall target="build-demo-client"/> 243 </target> 244 245 <!-- Targets that check for and ensure the existence of standalone application GSearchInstaller.jar --> 246 <target name="check-gsearchinstall-jar" description="Checks for existence of stand-alone application GSearchInstaller.jar"> 247 <condition property="gsearchinstaller.exists"> 248 <available file="GSearchInstaller.jar"/> 249 </condition> 250 </target> 251 252 <target name="ensure-gsearchinstall-jar" description="Will generate GSearchInstaller.jar if it did not exist" depends="check-gsearchinstall-jar" unless="gsearchinstaller.exists"> 253 <antcall target="GSearchInstallerjar"/> 228 254 </target> 229 255
Note:
See TracChangeset
for help on using the changeset viewer.