You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuscany.apache.org by bd...@apache.org on 2010/08/25 20:01:07 UTC

svn commit: r989271 - in /tuscany/otest/newlayout: build.xml tuscany-java-caa-test-runner/pom.xml

Author: bdaniel
Date: Wed Aug 25 18:01:06 2010
New Revision: 989271

URL: http://svn.apache.org/viewvc?rev=989271&view=rev
Log:
Update sca_variables.dtd file from oasis contribution

Modified:
    tuscany/otest/newlayout/build.xml
    tuscany/otest/newlayout/tuscany-java-caa-test-runner/pom.xml

Modified: tuscany/otest/newlayout/build.xml
URL: http://svn.apache.org/viewvc/tuscany/otest/newlayout/build.xml?rev=989271&r1=989270&r2=989271&view=diff
==============================================================================
--- tuscany/otest/newlayout/build.xml (original)
+++ tuscany/otest/newlayout/build.xml Wed Aug 25 18:01:06 2010
@@ -53,4 +53,20 @@
               tofile="${to.file}"/>
     </target>
 
+
+    <target name="updateTestArtifact">
+        <unzip src="${zip.file}" dest="testJarTemp">
+            <patternset>
+                <include name="${target.file}"/>
+            </patternset>
+        </unzip>
+        <replace file="testJarTemp/${target.file}" token="${source.token}" value="${target.token}"/>
+        <zip  destfile="${zip.file}"
+            basedir="testJarTemp"
+            includes="${target.file}"
+            update="true"/>
+        <delete dir="testJarTemp"/>
+
+    </target>
+
 </project>

Modified: tuscany/otest/newlayout/tuscany-java-caa-test-runner/pom.xml
URL: http://svn.apache.org/viewvc/tuscany/otest/newlayout/tuscany-java-caa-test-runner/pom.xml?rev=989271&r1=989270&r2=989271&view=diff
==============================================================================
--- tuscany/otest/newlayout/tuscany-java-caa-test-runner/pom.xml (original)
+++ tuscany/otest/newlayout/tuscany-java-caa-test-runner/pom.xml Wed Aug 25 18:01:06 2010
@@ -159,6 +159,13 @@
                                     <property name="to.file" value="src/main/resources/TestClient.wsdl"/>
                                     <target name="copyFile"/>
                                 </ant>
+                                <ant antfile="../build.xml">
+                                    <property name="zip.file" value="../sca-java-caa/JCA_GENERAL_POJO/target/JCA_GENERAL_POJO.zip"/>
+                                    <property name="target.file" value="sca_variables.dtd"/>
+                                    <property name="source.token" value="http://Domain1"/>
+                                    <property name="target.token" value="default"/>
+                                    <target name="updateTestArtifact"/>
+                                </ant>
                             </tasks>
                         </configuration>
                     </execution>