ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hi...@apache.org
Subject svn commit: r667147 - /ant/ivy/ivyde/trunk/build.xml
Date Thu, 12 Jun 2008 16:24:50 GMT
Author: hibou
Date: Thu Jun 12 09:24:50 2008
New Revision: 667147

URL: http://svn.apache.org/viewvc?rev=667147&view=rev
Log:
- The source are actaully more a zip than a jar, later we would probably support better jar
sources
- add the site.xml to the sources

Modified:
    ant/ivy/ivyde/trunk/build.xml

Modified: ant/ivy/ivyde/trunk/build.xml
URL: http://svn.apache.org/viewvc/ant/ivy/ivyde/trunk/build.xml?rev=667147&r1=667146&r2=667147&view=diff
==============================================================================
--- ant/ivy/ivyde/trunk/build.xml (original)
+++ ant/ivy/ivyde/trunk/build.xml Thu Jun 12 09:24:50 2008
@@ -35,7 +35,6 @@
 
     <property name="work.dir" value="${basedir}/work"/>
     <property name="dist.dir" value="${basedir}/dist"/>
-    <property name="updatesite.dir" value="${basedir}/updatesite"/>
 
     <target name="/release" description="Make the build artifacts tagged with the release
version">
         <property name="forceContextQualifier" value="${version.qualifier}" />
@@ -131,13 +130,9 @@
 
     <target name="sources" depends="compute-version" description="Create source archive
files">
         <mkdir dir="${dist.dir}"/>
-        <jar destfile="${dist.dir}/apache-ivyde-sources-${build.version}.jar">
-            <manifest>
-                <attribute name="Specification-Title" value="Apache IvyDE sources" />
-                <attribute name="Specification-Version" value="${build.version}" />
-                <attribute name="Specification-Vendor" value="Apache Software Foundation"
/>
-            </manifest>
+        <zip destfile="${dist.dir}/apache-ivyde-sources-${build.version}.zip">
             <fileset dir="${basedir}">
+                <include name="site.xml" />
                 <include name="build.xml" />
                 <include name="build.properties" />
                 <include name="builder/**" />
@@ -156,7 +151,7 @@
                 <include name="org.apache.ivyde.feature/LICENCE"/>
                 <include name="org.apache.ivyde.feature/NOTICE"/>
             </fileset>
-        </jar>
+        </zip>
     </target>
 
     <target name="updatesite:build" depends="/updatesite,build" description="Build the
distribution binaries and put them into the update-site">
@@ -197,7 +192,7 @@
                 <include name="updatesite/feature/org.apache.ivy*.jar.pack.gz" />
                 <include name="updatesite/digest.zip" />
                 <include name="org.apache.ivyde.feature-*.zip" />
-                <include name="apache-ivyde-sources-*.jar" />
+                <include name="apache-ivyde-sources-*.zip" />
             </fileset>
         </checksum>
         <checksum algorithm="SHA" fileext=".sha1">
@@ -212,7 +207,7 @@
                 <include name="updatesite/feature/org.apache.ivy*.jar.pack.gz" />
                 <include name="updatesite/digest.zip" />
                 <include name="org.apache.ivyde.feature-*.zip" />
-                <include name="apache-ivyde-sources-*.jar" />
+                <include name="apache-ivyde-sources-*.zip" />
             </fileset>
         </checksum>
     </target>



Mime
View raw message