diff options
-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> |