xmlbeans-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ce...@apache.org
Subject svn commit: r789921 - /xmlbeans/trunk/build.xml
Date Tue, 30 Jun 2009 20:14:03 GMT
Author: cezar
Date: Tue Jun 30 20:14:03 2009
New Revision: 789921

URL: http://svn.apache.org/viewvc?rev=789921&view=rev
Log:
Include source jar creation in build script for maven repository.


Modified:
    xmlbeans/trunk/build.xml

Modified: xmlbeans/trunk/build.xml
URL: http://svn.apache.org/viewvc/xmlbeans/trunk/build.xml?rev=789921&r1=789920&r2=789921&view=diff
==============================================================================
--- xmlbeans/trunk/build.xml (original)
+++ xmlbeans/trunk/build.xml Tue Jun 30 20:14:03 2009
@@ -395,9 +395,10 @@
         </tar>
     </target>
 
-    <target name="dist-src" depends="clean, dirs">
+    <target name="dist-src" depends="clean, dirs, version">
         <delete file="build/private/xmlbeans-${version.base}-src.zip"/>
         <delete file="build/private/xmlbeans-${version.base}-src.tgz"/>
+        <delete file="build/private/xmlbeans-${version.base}-source.jar"/>
 
         <zip destfile="build/private/xmlbeans-${version.base}-src.zip">
             <zipfileset dir="." prefix="xmlbeans-${version.base}">
@@ -424,6 +425,39 @@
                 <exclude name="bin/*.cmd"/>
             </tarfileset>
         </tar>
+        <jar jarfile="build/private/xmlbeans-${version.base}-source.jar" index="false">
+	    <fileset dir="src/common" includes="**/*.java"/>
+	    <fileset dir="src/configschema" includes="**/*.java"/>
+	    <fileset dir="src/jamsupport" includes="**/*.java"/>
+	    <fileset dir="src/marshal" includes="**/*.java"/>
+	    <fileset dir="src/repackage" includes="**/*.java"/>
+	    <fileset dir="src/saaj_api" includes="**/*.java"/>
+	    <fileset dir="src/store" includes="**/*.java"/>
+	    <fileset dir="src/tools" includes="**/*.java"/>
+	    <fileset dir="src/toolschema" includes="**/*.java"/>
+	    <fileset dir="src/typeholder" includes="**/*.java"/>
+	    <fileset dir="src/typeimpl" includes="**/*.java"/>
+	    <fileset dir="src/typestore" includes="**/*.java"/>
+	    <fileset dir="src/xmlcomp" includes="**/*.java"/>
+	    <fileset dir="src/xmlconfig" includes="**/*.java"/>
+	    <fileset dir="src/xmlinputstream" includes="**/*.java"/>
+	    <fileset dir="src/xmlpublic" includes="**/*.java"/>
+	    <fileset dir="src/xmlschema" includes="**/*.java"/>
+	    <fileset dir="src/xpath" includes="**/*.java"/>
+	    <fileset dir="src/xpath_xquery" includes="**/*.java"/>
+	    <fileset dir="src/xsdschema" includes="**/*.java"/>
+	    <fileset dir="src/zipcompare" includes="**/*.java"/>
+	    <fileset dir="maven-plugin/src/java" includes="**/*.java"/>
+            <manifest>
+                <section name="${manifest.name}">
+                    <attribute name="Comment" value="${manifest.comment}"/>
+                    <attribute name="Implementation-Title" value="${manifest.title}"/>
+                    <attribute name="Implementation-Version" value="${version.full}"/>
+                    <attribute name="Implementation-Vendor" value="${manifest.vendor}"/>
+                    <attribute name="Implementation-URL" value="${manifest.url}"/>
+                </section>
+            </manifest>	    
+        </jar>
     </target>
 
     <target name="enum-support.jar"



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


Mime
View raw message