diff options
Diffstat (limited to 'otest/newlayout/build.xml')
-rw-r--r-- | otest/newlayout/build.xml | 16 |
1 files changed, 16 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> |