commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bay...@apache.org
Subject svn commit: r608032 - /commons/proper/discovery/trunk/build.xml
Date Wed, 02 Jan 2008 07:39:45 GMT
Author: bayard
Date: Tue Jan  1 23:39:36 2008
New Revision: 608032

URL: http://svn.apache.org/viewvc?rev=608032&view=rev
Log:
Applying Petteri Raty's build.xml patch so there is a jar target

Modified:
    commons/proper/discovery/trunk/build.xml

Modified: commons/proper/discovery/trunk/build.xml
URL: http://svn.apache.org/viewvc/commons/proper/discovery/trunk/build.xml?rev=608032&r1=608031&r2=608032&view=diff
==============================================================================
--- commons/proper/discovery/trunk/build.xml (original)
+++ commons/proper/discovery/trunk/build.xml Tue Jan  1 23:39:36 2008
@@ -175,23 +175,26 @@
     </javadoc>
   </target>
 
+  <target name="jar" depends="compile"
+   description="Create the jar file">
+    <mkdir      dir="${build.home}/classes/META-INF"/>
+    <copy      file="LICENSE.txt"
+             tofile="${build.home}/classes/META-INF/LICENSE.txt"/>
+    <copy      file="NOTICE.txt"
+             tofile="${build.home}/classes/META-INF/NOTICE.txt"/>
+    <mkdir      dir="${dist.home}"/>
+    <jar   jarfile="${dist.home}/${component.name}.jar"
+           basedir="${build.home}/classes"
+          manifest="${build.home}/conf/MANIFEST.MF"/>
+  </target>
 
-  <target name="dist" depends="compile,javadoc"
+  <target name="dist" depends="jar,javadoc"
    description="Create binary distribution">
     <!-- TODO: top level files like LICENSE and README -->
-    <mkdir      dir="${dist.home}"/>
     <copy      file="LICENSE.txt"
               todir="${dist.home}"/>
     <copy      file="NOTICE.txt"
               todir="${dist.home}"/>
-    <mkdir      dir="${build.home}/classes/META-INF"/>
-    <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}/${component.name}.jar"
-            basedir="${build.home}/classes"
-           manifest="${build.home}/conf/MANIFEST.MF"/>
   </target>
 
 <!-- ========== Testing section ======================================== -->



Mime
View raw message