commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1165147 - /commons/proper/math/trunk/build.xml
Date Mon, 05 Sep 2011 02:09:14 GMT
Author: sebb
Date: Mon Sep  5 02:09:14 2011
New Revision: 1165147

URL: http://svn.apache.org/viewvc?rev=1165147&view=rev
Log:
Ensure Ant build behaves the same as Maven for component resources

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

Modified: commons/proper/math/trunk/build.xml
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/build.xml?rev=1165147&r1=1165146&r2=1165147&view=diff
==============================================================================
--- commons/proper/math/trunk/build.xml (original)
+++ commons/proper/math/trunk/build.xml Mon Sep  5 02:09:14 2011
@@ -57,6 +57,9 @@
   <!-- The base directory for component sources -->
   <property name="source.home"             value="src/main/java"/>
 
+  <!-- The base directory for component resources -->
+  <property name="source.resources"        value="src/main/resources"/>
+
   <!-- The base directory for unit test sources -->
   <property name="test.home"               value="src/test/java"/>
 
@@ -142,10 +145,10 @@
     <mkdir dir="${build.home}"/>
     <mkdir dir="${build.home}/classes"/>
     <mkdir dir="${build.home}/test-classes"/>
-    <mkdir dir="${build.home}/classes/META-INF"/>
-    <copy todir="${build.home}/classes/META-INF">
-       <fileset dir="src/main/resources/META-INF" />
+    <copy todir="${build.home}/classes/">
+       <fileset dir="${source.resources}" />
     </copy>
+
   </target>
 
 <!-- ========== Compile Targets =========================================== -->



Mime
View raw message