synapse-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sami...@apache.org
Subject svn commit: r351912 - /incubator/synapse/trunk/java/maven.xml
Date Sat, 03 Dec 2005 12:03:29 GMT
Author: saminda
Date: Sat Dec  3 04:03:20 2005
New Revision: 351912

URL: http://svn.apache.org/viewcvs?rev=351912&view=rev
Log:
added "dist-src" to maven.xml  

Modified:
    incubator/synapse/trunk/java/maven.xml

Modified: incubator/synapse/trunk/java/maven.xml
URL: http://svn.apache.org/viewcvs/incubator/synapse/trunk/java/maven.xml?rev=351912&r1=351911&r2=351912&view=diff
==============================================================================
--- incubator/synapse/trunk/java/maven.xml (original)
+++ incubator/synapse/trunk/java/maven.xml Sat Dec  3 04:03:20 2005
@@ -233,6 +233,37 @@
         <ant:delete dir="target/dist-bin"/>
         <ant:delete file="target/${dist.name}-bin.tar"/>
     </goal>
+    <!-- ================================================================ -->
+    <!--- dist-src -->
+    <!-- ================================================================ -->
+
+    <goal name="dist-src" prereqs="jar">
+        <ant:mkdir dir="${dist.dir}"/>
+        <ant:zip file="${dist.dir}/${dist.name}-src.zip">
+            <ant:fileset dir=".">
+                <ant:include name="**"/>
+                <ant:exclude name="**/target/**"/>
+                <ant:exclude name="**/.svn/**"/>
+                <ant:exclude name="**/bin/**"/>
+                <ant:exclude name="**/*.log"/>
+                <ant:exclude name=".*"/>
+                <ant:exclude name="**/*.license"/>
+            </ant:fileset>
+        </ant:zip>
+        <ant:tar tarfile="target/${dist.name}-src.tar" longfile="gnu">
+            <ant:tarfileset dir=".">
+                <ant:include name="**"/>
+                <ant:exclude name="**/target/**"/>
+                <ant:exclude name="**/.svn/**"/>
+                <ant:exclude name="**/bin/**"/>
+                <ant:exclude name="**/*.log"/>
+                <ant:exclude name=".*"/>
+                <ant:exclude name="**/*.license"/>
+            </ant:tarfileset>
+        </ant:tar>
+        <gzip src="target/${dist.name}-src.tar" zipfile="${dist.dir}/${dist.name}-src.tar.gz"/>
+        <ant:delete file="target/${dist.name}-src.tar"/>
+    </goal>
 
 
 </project>



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


Mime
View raw message