You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by pr...@apache.org on 2006/03/08 12:33:08 UTC
svn commit: r384183 - /webservices/axis/trunk/c/package.xml
Author: prestonf
Date: Wed Mar 8 03:33:06 2006
New Revision: 384183
URL: http://svn.apache.org/viewcvs?rev=384183&view=rev
Log:
New target "ApacheRelease" is used to add md5 files to all zip/tar files created by the packaging scripts.
Modified:
webservices/axis/trunk/c/package.xml
Modified: webservices/axis/trunk/c/package.xml
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/c/package.xml?rev=384183&r1=384182&r2=384183&view=diff
==============================================================================
--- webservices/axis/trunk/c/package.xml (original)
+++ webservices/axis/trunk/c/package.xml Wed Mar 8 03:33:06 2006
@@ -283,4 +283,64 @@
<fileset dir="${dir.zips}" includes="${release}**"/>
</delete>
</target>
+
+<!-- ApacheRelease is used to add md5 files to all zip/tar files created by the packaging scripts.
+ +==> (D) initialize
+ +==> md5Checksums
+ +==> (D) packageWindowsDeliverableName
+ +==> (D) packageUnixDeliverableName
+ +==> md5Checksum
+ -->
+
+ <target name="ApacheRelease" depends="initialize" description="Once the Apache Client has been packaged, two additional files need to be created for both the source and binary zip/tar files. These are the 'md5' and 'asc' files.">
+ <antcall target="md5Checksums">
+ <param name="dir.properties" value="${basedir}/../.."/>
+ </antcall>
+ </target>
+
+ <target name="md5Checksums" depends="packageWindowsDeliverableName, packageUnixDeliverableName">
+ <antcall target="md5Checksum">
+ <param name="zipName" value="${zipNameBin}"/>
+ </antcall>
+ <antcall target="md5Checksum">
+ <param name="zipName" value="${zipNameSrc}"/>
+ </antcall>
+ <antcall target="md5Checksum">
+ <param name="zipName" value="${zipNameTraceBin}"/>
+ </antcall>
+ <antcall target="md5Checksum">
+ <param name="zipName" value="${zipNameTraceSrc}"/>
+ </antcall>
+ </target>
+
+ <target name="md5Checksum">
+ <echo message="zipName=${zipName}"/>
+ <if>
+ <available file="${zipName}"/>
+ <then>
+ <checksum forceOverwrite="yes" fileext=".md5" file="${zipName}"/>
+ </then>
+ <else>
+ <echo message="Skipping ${zipName}, as it does not exist."/>
+ </else>
+ </if>
+ </target>
+
+ <target name="packageWindowsDeliverableName" if="windows">
+ <property name="zipNameBin" value="${dir.zips}/${release}-bin.zip"/>
+ <property name="zipNameSrc" value="${dir.zips}/${release}-src.zip"/>
+ <property name="zipNameTraceBin" value="${dir.zips}/${release}-trace-bin.zip"/>
+ <property name="zipNameTraceSrc" value="${dir.zips}/${release}-trace-src.zip"/>
+ </target>
+
+ <target name="packageUnixDeliverableName" unless="windows">
+ <property name="zipNameBin" value="${dir.zips}/${release}-bin.tar"/>
+ <property name="zipNameSrc" value="${dir.zips}/${release}-src.tar"/>
+ <property name="zipNameTraceBin" value="${dir.zips}/${release}-trace-bin.tar"/>
+ <property name="zipNameTraceSrc" value="${dir.zips}/${release}-trace-src.tar"/>
+ </target>
+
+ <target name="ascFiles">
+ </target>
+
</project>