tuscany-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From adrianocrest...@apache.org
Subject svn commit: r613370 - /incubator/tuscany/cpp/sdo/build.xml
Date Sat, 19 Jan 2008 06:24:04 GMT
Author: adrianocrestani
Date: Fri Jan 18 22:24:03 2008
New Revision: 613370

URL: http://svn.apache.org/viewvc?rev=613370&view=rev
Log:

-aTais line, and those below, will be ignored--
#!/bin 
only on windows when packing the distribution, otherwise,
generate .tar file
ssh

M    build.xml

Modified:
    incubator/tuscany/cpp/sdo/build.xml

Modified: incubator/tuscany/cpp/sdo/build.xml
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/sdo/build.xml?rev=613370&r1=613369&r2=613370&view=diff
==============================================================================
--- incubator/tuscany/cpp/sdo/build.xml (original)
+++ incubator/tuscany/cpp/sdo/build.xml Fri Jan 18 22:24:03 2008
@@ -107,28 +107,39 @@
 	<copy todir="${pack.dir}/${tuscanySDO.release.file.name}src">
 		<fileset dir="${distribution.src.dir}" includes="**"/>
 	</copy>
-
-	<zip destfile="${pack.dir}/${tuscanySDO.release.file.name}src.zip" level="9">
-		<fileset dir="${pack.dir}" includes="${tuscanySDO.release.file.name}src/"/>
-	</zip>
-
-	<tar destfile="${pack.dir}/${tuscanySDO.release.file.name}src.tar.gz" compression="gzip"
longfile="gnu">
-		<fileset dir="${pack.dir}" includes="${tuscanySDO.release.file.name}src/"/>
-	</tar>
-
-	<delete quiet="true" dir="${pack.dir}/${tuscanySDO.release.file.name}src"/>
-
-	<!--Generate the checksum files-->
-	<checksum forceOverwrite="yes" file="${pack.dir}/${tuscanySDO.release.file.name}bin.zip"
fileext=".md5"/>
-	<checksum forceOverwrite="yes" file="${pack.dir}/${tuscanySDO.release.file.name}src.zip"
fileext=".md5"/>
-	<checksum forceOverwrite="yes" file="${pack.dir}/${tuscanySDO.release.file.name}bin.tar.gz"
fileext=".md5"/>
-	<checksum forceOverwrite="yes" file="${pack.dir}/${tuscanySDO.release.file.name}src.tar.gz"
fileext=".md5"/>
 	
-	<signer asciiarmor="true" artefact="${pack.dir}/${tuscanySDO.release.file.name}bin.zip"
secring="${secret.key.path}" pubring="${public.key.path}" password="${secret.key.password}"
keyid="${key.id}"/>
-	<signer asciiarmor="true" artefact="${pack.dir}/${tuscanySDO.release.file.name}src.zip"
secring="${secret.key.path}" pubring="${public.key.path}" password="${secret.key.password}"
keyid="${key.id}"/>
-	<signer asciiarmor="true" artefact="${pack.dir}/${tuscanySDO.release.file.name}bin.tar.gz"
secring="${secret.key.path}" pubring="${public.key.path}" password="${secret.key.password}"
keyid="${key.id}"/>
-	<signer asciiarmor="true" artefact="${pack.dir}/${tuscanySDO.release.file.name}src.tar.gz"
secring="${secret.key.path}" pubring="${public.key.path}" password="${secret.key.password}"
keyid="${key.id}"/>
-
+	<if>
+		<os family="windows"/>
+    		<then>
+			<zip destfile="${pack.dir}/${tuscanySDO.release.file.name}src.zip" level="9">
+				<fileset dir="${pack.dir}" includes="${tuscanySDO.release.file.name}src/"/>
+			</zip>
+			
+			<!--Generate the checksum files-->
+			<checksum forceOverwrite="yes" file="${pack.dir}/${tuscanySDO.release.file.name}bin.zip"
fileext=".md5"/>
+			<checksum forceOverwrite="yes" file="${pack.dir}/${tuscanySDO.release.file.name}src.zip"
fileext=".md5"/>
+			
+			<signer asciiarmor="true" artefact="${pack.dir}/${tuscanySDO.release.file.name}bin.zip"
secring="${secret.key.path}" pubring="${public.key.path}" password="${secret.key.password}"
keyid="${key.id}"/>
+			<signer asciiarmor="true" artefact="${pack.dir}/${tuscanySDO.release.file.name}src.zip"
secring="${secret.key.path}" pubring="${public.key.path}" password="${secret.key.password}"
keyid="${key.id}"/>
+			
+		</then>
+		<else>
+			<tar destfile="${pack.dir}/${tuscanySDO.release.file.name}src.tar.gz" compression="gzip"
longfile="gnu">
+				<fileset dir="${pack.dir}" includes="${tuscanySDO.release.file.name}src/"/>
+			</tar>
+			
+			<!--Generate the checksum files-->
+			<checksum forceOverwrite="yes" file="${pack.dir}/${tuscanySDO.release.file.name}bin.tar.gz"
fileext=".md5"/>
+			<checksum forceOverwrite="yes" file="${pack.dir}/${tuscanySDO.release.file.name}src.tar.gz"
fileext=".md5"/>
+			
+			
+			<signer asciiarmor="true" artefact="${pack.dir}/${tuscanySDO.release.file.name}bin.tar.gz"
secring="${secret.key.path}" pubring="${public.key.path}" password="${secret.key.password}"
keyid="${key.id}"/>
+			<signer asciiarmor="true" artefact="${pack.dir}/${tuscanySDO.release.file.name}src.tar.gz"
secring="${secret.key.path}" pubring="${public.key.path}" password="${secret.key.password}"
keyid="${key.id}"/>
+			
+		</else>
+	</if>
+	
+	<delete quiet="true" dir="${pack.dir}/${tuscanySDO.release.file.name}src"/>
 
   </target>
 	



---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-commits-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-commits-help@ws.apache.org


Mime
View raw message