diff options
author | rfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68> | 2009-08-06 18:14:26 +0000 |
---|---|---|
committer | rfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68> | 2009-08-06 18:14:26 +0000 |
commit | 2c67934509ceb8d1f5a68cb71de3b2048f9a7277 (patch) | |
tree | b6b65b336870b41412fe958f50a5a212ea094820 | |
parent | 7f9b374f17e11a583ded08d780d4d973ed25f433 (diff) |
Use ANT sync to build the test projects from OASIS sources
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@801754 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | java/sca/otest/current/build.xml | 8 | ||||
-rw-r--r-- | java/sca/otest/current/tests/pom.xml | 8 |
2 files changed, 9 insertions, 7 deletions
diff --git a/java/sca/otest/current/build.xml b/java/sca/otest/current/build.xml index e281e91dad..1ebfe83b66 100644 --- a/java/sca/otest/current/build.xml +++ b/java/sca/otest/current/build.xml @@ -18,21 +18,21 @@ --> <project name="copy-files-from-svn"> <target name="copySourceDir"> - <copy todir="${to.dir}"> + <sync todir="${to.dir}" verbose="true"> <fileset dir="${from.dir}"> <include name="**/*.java"/> <exclude name="**/.svn/**/*"/> </fileset> - </copy> + </sync> </target> <target name="copyResourceDir"> - <copy todir="${to.dir}"> + <sync todir="${to.dir}" verbose="true"> <fileset dir="${from.dir}"> <exclude name="**/*.java"/> <exclude name="**/.svn/**/*"/> </fileset> - </copy> + </sync> </target> diff --git a/java/sca/otest/current/tests/pom.xml b/java/sca/otest/current/tests/pom.xml index 42cdd77ed4..ac7871db61 100644 --- a/java/sca/otest/current/tests/pom.xml +++ b/java/sca/otest/current/tests/pom.xml @@ -113,16 +113,18 @@ </goals> <configuration> <tasks> + <!-- <ant antfile="../build.xml"> - <property name="from.dir" value="../src/test/java"/> + <property name="from.dir" value="../src/test/resources"/> <property name="to.dir" value="src/test/resources"/> <target name="copyResourceDir"/> </ant> + --> <ant antfile="../build.xml"> - <property name="from.dir" value="../src/test/resources"/> + <property name="from.dir" value="../src/test/java"/> <property name="to.dir" value="src/test/resources"/> <target name="copyResourceDir"/> - </ant> + </ant> <ant antfile="../build.xml"> <property name="from.dir" value="../src/test/java"/> <property name="to.dir" value="src/test/java"/> |