You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-dev@logging.apache.org by ca...@apache.org on 2006/01/25 22:44:12 UTC

svn commit: r372325 - /logging/log4j/trunk/build.xml

Author: carnold
Date: Wed Jan 25 13:44:10 2006
New Revision: 372325

URL: http://svn.apache.org/viewcvs?rev=372325&view=rev
Log:
Add log4j-all.jar target

Modified:
    logging/log4j/trunk/build.xml

Modified: logging/log4j/trunk/build.xml
URL: http://svn.apache.org/viewcvs/logging/log4j/trunk/build.xml?rev=372325&r1=372324&r2=372325&view=diff
==============================================================================
--- logging/log4j/trunk/build.xml (original)
+++ logging/log4j/trunk/build.xml Wed Jan 25 13:44:10 2006
@@ -64,6 +64,7 @@
   <property name="log4j-db.jar" value="log4j-db-${version}.jar"/>
   <property name="log4j-nt.jar" value="log4j-nt-${version}.jar"/>
   <property name="log4j-jmx.jar" value="log4j-jmx-${version}.jar"/>
+  <property name="log4j-all.jar" value="log4j-all-${version}.jar"/>
 
 
 	<!-- Destination for documentation files -->
@@ -744,6 +745,27 @@
         <attribute name="Manifest-version" value="1.0"/>
         <section name="org/apache/log4j/">
           <attribute name="Implementation-Title" value="log4j"/>
+          <attribute name="Implementation-Version" value="${version}"/>
+          <attribute name="Implementation-Vendor" value="Apache Software Foundation"/>
+        </section>
+      </manifest>
+    </jar>
+
+  </target>
+
+  <target name="log4j-all.jar" depends="build">
+    
+    <delete file="${log4j-all.jar}" verbose="true"/>
+    <mkdir dir="${jar.dest}/"/>
+    
+    <jar jarfile="${jar.dest}/${log4j-all.jar}" basedir="${javac.dest}"
+         includes="${stem}/**/*.class" 
+         excludes="**/UnitTest**,
+    	        ${stem}/xml/test/*.class">
+      <manifest>
+        <attribute name="Manifest-version" value="1.0"/>
+        <section name="org/apache/log4j/">
+          <attribute name="Implementation-Title" value="log4j with all features"/>
           <attribute name="Implementation-Version" value="${version}"/>
           <attribute name="Implementation-Vendor" value="Apache Software Foundation"/>
         </section>



---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org