- Timestamp:
- 2008-04-30T15:57:54+12:00 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
other-projects/trunk/gs3-webservices-democlient/build.xml
r15305 r15306 72 72 <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"> 73 73 <mkdir dir="${dist}" /> 74 <echo>zip.type=${zip.type}</echo>75 74 <antcall target="create-${zip.type}"/> 76 75 </target> … … 170 169 <!-- User input for generating compressed output file for one of the chosen file types. A choice of zip, tar.gz (tar gzip), or tar.bz2 (tar bzip)--> 171 170 <target name="create-targzip" if="zip.type" description="User chose to create a tar.gz file of the project"> 172 <tar destfile="${dist}/${download.zip.name}.tar.gz" basedir="${basedir}" compression="gzip" excludes="${zip.excludes}" /> 171 <tar destfile="${dist}/${download.zip.name}.tar.gz" basedir="${basedir}" compression="gzip" excludes="${zip.excludes}" longfile="gnu" /> 172 <echo>If the filepaths are longer than 100 characters, GNU compatible tar commands are necessary to untar the tar.gz</echo> 173 173 </target> 174 174 175 175 <target name="create-tarbzip" if="zip.type" description="User chose to create a tar.bz2 file of the project"> 176 <tar destfile="${dist}/${download.zip.name}.tar.bz2" basedir="${basedir}" compression="bzip2" excludes="${zip.excludes}" /> 176 <tar destfile="${dist}/${download.zip.name}.tar.bz2" basedir="${basedir}" compression="bzip2" excludes="${zip.excludes}" longfile="gnu" /> 177 <echo>If the filepaths are longer than 100 characters, GNU compatible tar commands are necessary to untar the tar.gz</echo> 177 178 </target> 178 179 … … 187 188 Type one of: zip, tar.gz, tar.bz2 188 189 Press enter for default: zip /></input> 189 <echo>You chose output file type: ${zip.type}</echo>190 190 <condition property="zip.type" value="targzip"> 191 191 <equals arg1="tar.gz" arg2="${zip.format}"/> … … 197 197 <equals arg1="tar.bz2" arg2="${zip.format}"/> 198 198 </condition> 199 <echo> zip.type=${zip.type}</echo>199 <echo>You chose output file type: ${zip.type}</echo> 200 200 </target> 201 201 </project>
Note:
See TracChangeset
for help on using the changeset viewer.