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
This commit is contained in:
bdaniel 2010-08-25 18:01:06 +00:00
parent 04d678bc9a
commit de808ec873
2 changed files with 23 additions and 0 deletions

View file

@ -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>

View file

@ -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>