diff options
author | bdaniel <bdaniel@13f79535-47bb-0310-9956-ffa450edef68> | 2010-08-25 18:01:06 +0000 |
---|---|---|
committer | bdaniel <bdaniel@13f79535-47bb-0310-9956-ffa450edef68> | 2010-08-25 18:01:06 +0000 |
commit | de808ec873c847803bdd2bde0cb439dead798992 (patch) | |
tree | 7f21b70509d7922839b4c83a56fc167ad977cfca | |
parent | 04d678bc9a96d441397b25911104034a782d9bcb (diff) |
Update sca_variables.dtd file from oasis contribution
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@989271 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | otest/newlayout/build.xml | 16 | ||||
-rw-r--r-- | otest/newlayout/tuscany-java-caa-test-runner/pom.xml | 7 |
2 files changed, 23 insertions, 0 deletions
diff --git a/otest/newlayout/build.xml b/otest/newlayout/build.xml index 839e205082..93db35f714 100644 --- a/otest/newlayout/build.xml +++ b/otest/newlayout/build.xml @@ -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> diff --git a/otest/newlayout/tuscany-java-caa-test-runner/pom.xml b/otest/newlayout/tuscany-java-caa-test-runner/pom.xml index 9330bdb34f..1b328625cd 100644 --- a/otest/newlayout/tuscany-java-caa-test-runner/pom.xml +++ b/otest/newlayout/tuscany-java-caa-test-runner/pom.xml @@ -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> |