abdera-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jmsn...@apache.org
Subject svn commit: r427181 - in /incubator/abdera/java: branches/0.1.0/build/build.xml trunk/build/build.xml
Date Mon, 31 Jul 2006 17:41:24 GMT
Author: jmsnell
Date: Mon Jul 31 10:41:24 2006
New Revision: 427181

URL: http://svn.apache.org/viewvc?rev=427181&view=rev
Log:
Creating a better MANIFEST.MF file.  Probably need to check on what Maven does.

Modified:
    incubator/abdera/java/branches/0.1.0/build/build.xml
    incubator/abdera/java/trunk/build/build.xml

Modified: incubator/abdera/java/branches/0.1.0/build/build.xml
URL: http://svn.apache.org/viewvc/incubator/abdera/java/branches/0.1.0/build/build.xml?rev=427181&r1=427180&r2=427181&view=diff
==============================================================================
--- incubator/abdera/java/branches/0.1.0/build/build.xml (original)
+++ incubator/abdera/java/branches/0.1.0/build/build.xml Mon Jul 31 10:41:24 2006
@@ -144,6 +144,16 @@
       </and>
     </condition>
     
+    <mkdir dir="${work}" />
+    <manifest file="${work}/MANIFEST.MF">
+    <attribute name="Specification-Title" value="Apache Abdera"/>
+    <attribute name="Specification-Version" value="${version}"/>
+    <attribute name="Specification-Vendor" value="The Apache Software Foundation - Incubator"/>
+    <attribute name="Implementation-Title" value="org.apache.abdera"/>
+    <attribute name="Implementation-Version" value="${version}"/> 
+    <attribute name="Implementation-Vendor" value="The Apache Software Foundation - Incubator"/>
+    </manifest>
+    
     <echo>Building Security? ${do.security}</echo>
     
     <antcall target="download"/>
@@ -165,7 +175,7 @@
         <include name="LICENSE" />
         <include name="NOTICE" />
       </fileset>
-    </copy>
+    </copy>    
   </target>
   
   <target name="compile.parser" depends="init,compile.core">
@@ -301,10 +311,10 @@
   <target name="dist" depends="clean,build,test,docs">
     <mkdir dir="${dist}" />
     <mkdir dir="${dist_lib}" />
-    <jar destfile="${core.jar}"   basedir="${core.work}" />
-    <jar destfile="${parser.jar}" basedir="${parser.work}" />
-    <jar destfile="${server.jar}" basedir="${server.work}" />    
-    <jar destfile="${extensions.jar}" basedir="${extensions.work}" />
+    <jar destfile="${core.jar}"   basedir="${core.work}" manifest="${work}/MANIFEST.MF"/>
+    <jar destfile="${parser.jar}" basedir="${parser.work}" manifest="${work}/MANIFEST.MF"
/>
+    <jar destfile="${server.jar}" basedir="${server.work}" manifest="${work}/MANIFEST.MF"
/>    
+    <jar destfile="${extensions.jar}" basedir="${extensions.work}" manifest="${work}/MANIFEST.MF"
/>
     <antcall target="dist.security" />
     <copy todir="${dist_lib}">
       <fileset dir="${dependencies}"  />
@@ -314,7 +324,7 @@
   </target>
   
   <target name="dist.security" if="do.security">
-    <jar destfile="${security.jar}" basedir="${security.work}" />
+    <jar destfile="${security.jar}" basedir="${security.work}" manifest="${work}/MANIFEST.MF"
/>
   </target>
   
   <target name="zip" depends="retro"> 

Modified: incubator/abdera/java/trunk/build/build.xml
URL: http://svn.apache.org/viewvc/incubator/abdera/java/trunk/build/build.xml?rev=427181&r1=427180&r2=427181&view=diff
==============================================================================
--- incubator/abdera/java/trunk/build/build.xml (original)
+++ incubator/abdera/java/trunk/build/build.xml Mon Jul 31 10:41:24 2006
@@ -144,6 +144,16 @@
       </and>
     </condition>
     
+    <mkdir dir="${work}" />
+    <manifest file="${work}/MANIFEST.MF">
+    <attribute name="Specification-Title" value="Apache Abdera"/>
+    <attribute name="Specification-Version" value="${version}"/>
+    <attribute name="Specification-Vendor" value="The Apache Software Foundation - Incubator"/>
+    <attribute name="Implementation-Title" value="org.apache.abdera"/>
+    <attribute name="Implementation-Version" value="${version}"/> 
+    <attribute name="Implementation-Vendor" value="The Apache Software Foundation - Incubator"/>
+    </manifest>
+    
     <echo>Building Security? ${do.security}</echo>
     
     <antcall target="download"/>
@@ -301,10 +311,10 @@
   <target name="dist" depends="clean,build,test,docs">
     <mkdir dir="${dist}" />
     <mkdir dir="${dist_lib}" />
-    <jar destfile="${core.jar}"   basedir="${core.work}" />
-    <jar destfile="${parser.jar}" basedir="${parser.work}" />
-    <jar destfile="${server.jar}" basedir="${server.work}" />    
-    <jar destfile="${extensions.jar}" basedir="${extensions.work}" />
+    <jar destfile="${core.jar}"   basedir="${core.work}" manifest="${work}/MANIFEST.MF"
/>
+    <jar destfile="${parser.jar}" basedir="${parser.work}" manifest="${work}/MANIFEST.MF"
/>
+    <jar destfile="${server.jar}" basedir="${server.work}" manifest="${work}/MANIFEST.MF"
/>    
+    <jar destfile="${extensions.jar}" basedir="${extensions.work}" manifest="${work}/MANIFEST.MF"
/>
     <antcall target="dist.security" />
     <copy todir="${dist_lib}">
       <fileset dir="${dependencies}"  />
@@ -314,7 +324,7 @@
   </target>
   
   <target name="dist.security" if="do.security">
-    <jar destfile="${security.jar}" basedir="${security.work}" />
+    <jar destfile="${security.jar}" basedir="${security.work}" manifest="${work}/MANIFEST.MF"
/>
   </target>
   
   <target name="zip" depends="retro"> 



Mime
View raw message