summaryrefslogtreecommitdiffstats
path: root/otest/current/build.xml
diff options
context:
space:
mode:
authorantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2009-11-02 09:59:23 +0000
committerantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2009-11-02 09:59:23 +0000
commit8227d226f54d00bb430e1e0985bbef7596864e28 (patch)
tree533d0953cfe03904fd3f9af8c4cc2d0484cf2ede /otest/current/build.xml
parent9ea808f62ef15eba6b1501c9400ab23f7d2154e7 (diff)
Try out moving the otests out of 2.x trunk by copying the tuscany/sca/java/otest folder to tuscany/otest. - A copy not a move so the old one can continued to be used. Can worry about the name tuscany/otest later
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@831839 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '')
-rw-r--r--otest/current/build.xml147
1 files changed, 147 insertions, 0 deletions
diff --git a/otest/current/build.xml b/otest/current/build.xml
new file mode 100644
index 0000000000..1ebfe83b66
--- /dev/null
+++ b/otest/current/build.xml
@@ -0,0 +1,147 @@
+<!--
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+-->
+<project name="copy-files-from-svn">
+ <target name="copySourceDir">
+ <sync todir="${to.dir}" verbose="true">
+ <fileset dir="${from.dir}">
+ <include name="**/*.java"/>
+ <exclude name="**/.svn/**/*"/>
+ </fileset>
+ </sync>
+ </target>
+
+ <target name="copyResourceDir">
+ <sync todir="${to.dir}" verbose="true">
+ <fileset dir="${from.dir}">
+ <exclude name="**/*.java"/>
+ <exclude name="**/.svn/**/*"/>
+ </fileset>
+ </sync>
+ </target>
+
+
+ <target name="copyFile">
+ <copy file="${from.file}"
+ tofile="${to.file}"/>
+ </target>
+
+ <target name="fixUpContributions">
+ <antcall target="fixUpContribution"><param name="contrib" value="General"/></antcall>
+ <antcall target="fixUpContribution"><param name="contrib" value="General_Java"/></antcall>
+ <antcall target="fixUpContribution"><param name="contrib" value="ASM_4002"/></antcall>
+ <antcall target="fixUpContribution"><param name="contrib" value="ASM_4003"/></antcall>
+ <antcall target="fixUpContribution"><param name="contrib" value="ASM_4004"/></antcall>
+ <antcall target="fixUpContribution"><param name="contrib" value="ASM_4005"/></antcall>
+ <antcall target="fixUpContribution"><param name="contrib" value="ASM_4007"/></antcall>
+
+ <antcall target="fixUpContribution"><param name="contrib" value="ASM_5004"/></antcall>
+ <antcall target="fixUpContribution"><param name="contrib" value="ASM_5005"/></antcall>
+ <antcall target="fixUpContribution"><param name="contrib" value="ASM_5007"/></antcall>
+ <antcall target="fixUpContribution"><param name="contrib" value="ASM_5009"/></antcall>
+ <antcall target="fixUpContribution"><param name="contrib" value="ASM_5023"/></antcall>
+ <antcall target="fixUpContribution"><param name="contrib" value="ASM_5024"/></antcall>
+ <antcall target="fixUpContribution"><param name="contrib" value="ASM_5027"/></antcall>
+ <antcall target="fixUpContribution"><param name="contrib" value="ASM_5030"/></antcall>
+ <antcall target="fixUpContribution"><param name="contrib" value="ASM_5035"/></antcall>
+
+ <antcall target="fixUpContribution"><param name="contrib" value="ASM_6001"/></antcall>
+ <antcall target="fixUpContribution"><param name="contrib" value="ASM_6002"/></antcall>
+ <antcall target="fixUpContribution"><param name="contrib" value="ASM_6003"/></antcall>
+ <antcall target="fixUpContribution"><param name="contrib" value="ASM_6005"/></antcall>
+ <antcall target="fixUpContribution"><param name="contrib" value="ASM_6006"/></antcall>
+ <antcall target="fixUpContribution"><param name="contrib" value="ASM_6008"/></antcall>
+ <antcall target="fixUpContribution"><param name="contrib" value="ASM_6012"/></antcall>
+ <antcall target="fixUpContribution"><param name="contrib" value="ASM_6021"/></antcall>
+ <antcall target="fixUpContribution"><param name="contrib" value="ASM_6022"/></antcall>
+ <antcall target="fixUpContribution"><param name="contrib" value="ASM_6025"/></antcall>
+ <antcall target="fixUpContribution"><param name="contrib" value="ASM_6028"/></antcall>
+ <antcall target="fixUpContribution"><param name="contrib" value="ASM_6029"/></antcall>
+ <antcall target="fixUpContribution"><param name="contrib" value="ASM_6031"/></antcall>
+ <antcall target="fixUpContribution"><param name="contrib" value="ASM_6032"/></antcall>
+ <antcall target="fixUpContribution"><param name="contrib" value="ASM_6033"/></antcall>
+
+ <antcall target="fixUpContribution"><param name="contrib" value="ASM_7001"/></antcall>
+ <antcall target="fixUpContribution"><param name="contrib" value="ASM_7007"/></antcall>
+ <antcall target="fixUpContribution"><param name="contrib" value="ASM_7008"/></antcall>
+ <antcall target="fixUpContribution"><param name="contrib" value="ASM_7009"/></antcall>
+ <antcall target="fixUpContribution"><param name="contrib" value="ASM_7010"/></antcall>
+
+ <antcall target="fixUpContribution"><param name="contrib" value="ASM_8001"/></antcall>
+ <antcall target="fixUpContribution"><param name="contrib" value="ASM_8001_Java"/></antcall>
+ <antcall target="fixUpContribution"><param name="contrib" value="ASM_8003"/></antcall>
+ <antcall target="fixUpContribution"><param name="contrib" value="ASM_8004"/></antcall>
+ <antcall target="fixUpContribution"><param name="contrib" value="ASM_8005"/></antcall>
+ <antcall target="fixUpContribution"><param name="contrib" value="ASM_8010"/></antcall>
+ <antcall target="fixUpContribution"><param name="contrib" value="ASM_8011"/></antcall>
+ <antcall target="fixUpContribution"><param name="contrib" value="ASM_8012"/></antcall>
+ <antcall target="fixUpContribution"><param name="contrib" value="ASM_8017"/></antcall>
+ <antcall target="fixUpContribution"><param name="contrib" value="ASM_8019"/></antcall>
+
+ <antcall target="fixUpContribution"><param name="contrib" value="ASM_9002"/></antcall>
+
+ <antcall target="fixUpContribution"><param name="contrib" value="ASM_10001"/></antcall>
+ <antcall target="fixUpContribution"><param name="contrib" value="ASM_10003"/></antcall>
+
+ <antcall target="fixUpContribution"><param name="contrib" value="ASM_12001"/></antcall>
+ <antcall target="fixUpContribution"><param name="contrib" value="ASM_12002"/></antcall>
+ <antcall target="fixUpContribution"><param name="contrib" value="ASM_12003"/></antcall>
+ <antcall target="fixUpContribution"><param name="contrib" value="ASM_12005"/></antcall>
+ <antcall target="fixUpContribution"><param name="contrib" value="ASM_12007"/></antcall>
+ <antcall target="fixUpContribution"><param name="contrib" value="ASM_12008"/></antcall>
+ <antcall target="fixUpContribution"><param name="contrib" value="ASM_12009"/></antcall>
+ <antcall target="fixUpContribution"><param name="contrib" value="ASM_12010"/></antcall>
+ <antcall target="fixUpContribution"><param name="contrib" value="ASM_12012"/></antcall>
+ <antcall target="fixUpContribution"><param name="contrib" value="ASM_12013"/></antcall>
+
+ <antcall target="fixUpContribution"><param name="contrib" value="ASM_13001"/></antcall>
+ <antcall target="fixUpContribution"><param name="contrib" value="ASM_13002"/></antcall>
+ <antcall target="fixUpContribution"><param name="contrib" value="ASM_13003"/></antcall>
+ <antcall target="fixUpContribution"><param name="contrib" value="ASM_13004"/></antcall>
+ <antcall target="fixUpContribution"><param name="contrib" value="ASM_13005"/></antcall>
+ <antcall target="fixUpContribution"><param name="contrib" value="ASM_13006"/></antcall>
+ <antcall target="fixUpContribution"><param name="contrib" value="ASM_13007"/></antcall>
+ <antcall target="fixUpContribution"><param name="contrib" value="ASM_13008"/></antcall>
+
+ <antcall target="fixUpContribution"><param name="contrib" value="Contribution1"/></antcall>
+ <antcall target="fixUpContribution"><param name="contrib" value="Contribution2"/></antcall>
+ </target>
+
+
+ <target name="fixUpContribution">
+
+ <!-- copy in pom -->
+ <antcall target="copyTemplatePom">
+ <param name="from.file" value="./template-pom.xml"/>
+ <param name="to.file" value="${contrib}/pom.xml"/>
+ </antcall>
+
+ </target>
+
+ <target name="copyTemplatePom">
+ <delete file="${to.file}" quiet="true"/>
+ <copy file="${from.file}"
+ tofile="${to.file}">
+ <filterchain>
+ <replacetokens>
+ <token key="ASM" value="${contrib}"/>
+ </replacetokens>
+ </filterchain>
+ </copy>
+ </target>
+</project>