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:
parent
d696293435
commit
e39a389555
|
@ -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 =========================================== -->
|
||||
|
|
Loading…
Reference in New Issue