Ensure Ant build behaves the same as Maven for component resources

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1165147 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Sebastian Bazley 2011-09-05 02:09:14 +00:00
parent d696293435
commit e39a389555
1 changed files with 6 additions and 3 deletions

View File

@ -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 =========================================== -->