You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuscany.apache.org by rf...@apache.org on 2009/08/06 20:14:27 UTC

svn commit: r801754 - in /tuscany/java/sca/otest/current: build.xml tests/pom.xml tests/src/test/

Author: rfeng
Date: Thu Aug  6 18:14:26 2009
New Revision: 801754

URL: http://svn.apache.org/viewvc?rev=801754&view=rev
Log:
Use ANT sync to build the test projects from OASIS sources

Modified:
    tuscany/java/sca/otest/current/build.xml
    tuscany/java/sca/otest/current/tests/pom.xml
    tuscany/java/sca/otest/current/tests/src/test/   (props changed)

Modified: tuscany/java/sca/otest/current/build.xml
URL: http://svn.apache.org/viewvc/tuscany/java/sca/otest/current/build.xml?rev=801754&r1=801753&r2=801754&view=diff
==============================================================================
--- tuscany/java/sca/otest/current/build.xml (original)
+++ tuscany/java/sca/otest/current/build.xml Thu Aug  6 18:14:26 2009
@@ -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>
 
 

Modified: tuscany/java/sca/otest/current/tests/pom.xml
URL: http://svn.apache.org/viewvc/tuscany/java/sca/otest/current/tests/pom.xml?rev=801754&r1=801753&r2=801754&view=diff
==============================================================================
--- tuscany/java/sca/otest/current/tests/pom.xml (original)
+++ tuscany/java/sca/otest/current/tests/pom.xml Thu Aug  6 18:14:26 2009
@@ -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"/>

Propchange: tuscany/java/sca/otest/current/tests/src/test/
------------------------------------------------------------------------------
--- svn:ignore (original)
+++ svn:ignore Thu Aug  6 18:14:26 2009
@@ -1 +1,2 @@
 java
+resources