tuscany-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rf...@apache.org
Subject svn commit: r801445 - in /tuscany/java/sca/otest/current/tests: pom.xml src/test/ src/test/resources/
Date Wed, 05 Aug 2009 22:32:18 GMT
Author: rfeng
Date: Wed Aug  5 22:32:18 2009
New Revision: 801445

URL: http://svn.apache.org/viewvc?rev=801445&view=rev
Log:
Remove svn:externals and set up the pom to pull from ../src folder

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

Modified: tuscany/java/sca/otest/current/tests/pom.xml
URL: http://svn.apache.org/viewvc/tuscany/java/sca/otest/current/tests/pom.xml?rev=801445&r1=801444&r2=801445&view=diff
==============================================================================
--- tuscany/java/sca/otest/current/tests/pom.xml (original)
+++ tuscany/java/sca/otest/current/tests/pom.xml Wed Aug  5 22:32:18 2009
@@ -91,6 +91,49 @@
     <build>
         <finalName>${artifactId}</finalName>
         <plugins>
+           <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-antrun-plugin</artifactId>
+                <version>1.3</version>
+
+                <dependencies>
+                    <dependency>
+                        <groupId>ant</groupId>
+                        <artifactId>ant-trax</artifactId>
+                        <version>1.6.5</version>
+                    </dependency>
+                </dependencies>
+
+                <executions>
+                    <execution>
+                        <id>copy-files-from-svn</id>
+                        <phase>generate-resources</phase>
+                        <goals>
+                            <goal>run</goal>
+                        </goals>
+                        <configuration>
+                            <tasks>
+                                <ant antfile="../build.xml">
+                                    <property name="from.dir" value="../src/test/java"/>
+                                    <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="to.dir" value="src/test/resources"/>
+                                    <target name="copyResourceDir"/>
+                                </ant>                                
+                                <ant antfile="../build.xml">
+                                    <property name="from.dir" value="../src/test/java"/>
+                                    <property name="to.dir" value="src/test/java"/>
+                                    <target name="copySourceDir"/>
+                                </ant>
+                            </tasks>
+                        </configuration>
+                    </execution>
+                </executions>
+            </plugin>
+                        
             <plugin>
                 <groupId>org.codehaus.mojo</groupId>
                 <artifactId>build-helper-maven-plugin</artifactId>

Propchange: tuscany/java/sca/otest/current/tests/src/test/
            ('svn:externals' removed)

Propchange: tuscany/java/sca/otest/current/tests/src/test/
------------------------------------------------------------------------------
--- svn:ignore (added)
+++ svn:ignore Wed Aug  5 22:32:18 2009
@@ -0,0 +1 @@
+java

Propchange: tuscany/java/sca/otest/current/tests/src/test/resources/
------------------------------------------------------------------------------
--- svn:ignore (added)
+++ svn:ignore Wed Aug  5 22:32:18 2009
@@ -0,0 +1,2 @@
+client
+testClient



Mime
View raw message