Author: niallp
Date: Thu Jun 21 16:11:07 2007
New Revision: 549643

URL: http://svn.apache.org/viewvc?view=rev&rev=549643
Log:
Ant build corrections
 - add the NOTICE file to the jar
 - add the LICENSE and NOTICE files to the sources jar
 - add the Specification title to the jar manifest

Modified:
    jakarta/commons/proper/modeler/trunk/build.xml
    jakarta/commons/proper/modeler/trunk/src/conf/MANIFEST.MF

Modified: jakarta/commons/proper/modeler/trunk/build.xml
URL: 
http://svn.apache.org/viewvc/jakarta/commons/proper/modeler/trunk/build.xml?view=diff&rev=549643&r1=549642&r2=549643
==============================================================================
--- jakarta/commons/proper/modeler/trunk/build.xml (original)
+++ jakarta/commons/proper/modeler/trunk/build.xml Thu Jun 21 16:11:07 2007
@@ -227,6 +227,8 @@
              tofile="${build.home}/classes/META-INF/ant.properties"/>
     <copy      file="LICENSE.txt"
              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}.jar"
          index="true"
          basedir="${build.home}/classes"
@@ -234,6 +236,7 @@
        <include name="org/apache/commons/modeler/**" />
        <include name="META-INF/ant.properties" />
        <include name="META-INF/LICENSE.txt" />
+       <include name="META-INF/NOTICE.txt" />
     </jar>
   </target>
 
@@ -255,9 +258,13 @@
 
     <!-- the src is similar with the JDK sources - and very useful for users of
          IDEs, where the jar can be "mounted" and used when debugging -->
-    <jar file="${dist.home}/commons-modeler-src.jar">
-         <fileset dir="src/java" includes="**" />        
-         <fileset dir="src/conf" includes="MANIFEST.MF" />
+    <jar file="${dist.home}/commons-modeler-src.jar"
+         manifest="src/conf/MANIFEST.MF">
+         <fileset dir="src/java" includes="**/*.java" />
+         <fileset dir="src/java" includes="**/*.dtd" />
+         <fileset dir="src/java" includes="**/*.properties" />
+         <fileset dir="." includes="LICENSE.txt" />
+         <fileset dir="." includes="NOTICE.txt" />
      </jar>
  
      <copy      
file="src/java/org/apache/commons/modeler/mbeans-descriptors.dtd"

Modified: jakarta/commons/proper/modeler/trunk/src/conf/MANIFEST.MF
URL: 
http://svn.apache.org/viewvc/jakarta/commons/proper/modeler/trunk/src/conf/MANIFEST.MF?view=diff&rev=549643&r1=549642&r2=549643
==============================================================================
--- jakarta/commons/proper/modeler/trunk/src/conf/MANIFEST.MF (original)
+++ jakarta/commons/proper/modeler/trunk/src/conf/MANIFEST.MF Thu Jun 21 
16:11:07 2007
@@ -1,5 +1,6 @@
 Manifest-version: 1.1
 Extension-Name: org.apache.commons.modeler
+Specification-Title: Commons Modeler
 Specification-Vendor: Apache Software Foundation
 Specification-Version: 1.1
 Implementation-Vendor-Id: org.apache



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to