packages apache-commons-daemon-1.0.4-add_OSGi_Manifest.patch
      Pages: < 1 >  DOWNLOAD      
--- build.xml	2010-10-19 20:05:34.000000000 +0200
+++ build.xml-gil	2010-12-12 06:29:33.000000000 +0100
@@ -292,22 +292,17 @@
              tofile="${build.home}/classes/META-INF/LICENSE.txt"/>
     <copy      file="NOTICE.txt"
              tofile="${build.home}/classes/META-INF/NOTICE.txt"/>
-    <jar    jarfile="${dist.home}/commons-${component.name}-${component.version}.jar">
-        <manifest>
-            <attribute name="Specification-Title" value="Commons Daemon"/>
-            <attribute name="Specification-Version" value="${component.version}"/>
-            <attribute name="Specification-Vendor" value="Apache Software Foundation"/>
-            <attribute name="Implementation-Title" value="Commons Daemon"/>
-            <attribute name="Implementation-Version" value="${component.version}"/>
-            <attribute name="Implementation-Vendor" value="Apache Software Foundation"/>
-            <attribute name="Implementation-Vendor-Id" value="org.apache"/>
-            <attribute name="X-Compile-Source-JDK" value="${compile.source}"/>
-            <attribute name="X-Compile-Target-JDK" value="${compile.target}"/>
-        </manifest>
+    <jar    jarfile="${dist.home}/commons-${component.name}-${component.version}.jar"
+            compress="true"
+            index="false" 
+            manifest="${build.home}/classes/META-INF/MANIFEST.MF" 
+            excludes="**/*.html">
         <fileset dir="${build.home}/classes">
             <include name="org/apache/commons/daemon/**"/>
             <include name="META-INF/LICENSE.txt"/>
             <include name="META-INF/NOTICE.txt"/>
+            <include name="META-INF/maven/commons-daemon/commons-daemon/pom.properties"/>
+            <include name="META-INF/maven/commons-daemon/commons-daemon/pom.xml"/>
         </fileset>
     </jar>
   </target>