diff options
author | slaws <slaws@13f79535-47bb-0310-9956-ffa450edef68> | 2009-09-23 09:48:43 +0000 |
---|---|---|
committer | slaws <slaws@13f79535-47bb-0310-9956-ffa450edef68> | 2009-09-23 09:48:43 +0000 |
commit | cfb8731e12b9d44cf30223f430a23342e1fb5b6e (patch) | |
tree | d61eb8efda29741a79c2f07992edd3f6107564b3 /java | |
parent | 992895003cb0c5f57425d4c49b98a6fb5e155857 (diff) |
Top level pom and ant script (now only used for copying files). Am looking to see if we can remove the need for the file copying.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@818026 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java')
-rw-r--r-- | java/sca/otest/newlayout/build.xml | 44 | ||||
-rw-r--r-- | java/sca/otest/newlayout/pom.xml | 75 |
2 files changed, 119 insertions, 0 deletions
diff --git a/java/sca/otest/newlayout/build.xml b/java/sca/otest/newlayout/build.xml new file mode 100644 index 0000000000..714cee2bd3 --- /dev/null +++ b/java/sca/otest/newlayout/build.xml @@ -0,0 +1,44 @@ +<!-- + * 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> + +</project> diff --git a/java/sca/otest/newlayout/pom.xml b/java/sca/otest/newlayout/pom.xml new file mode 100644 index 0000000000..b8e5c1b1a3 --- /dev/null +++ b/java/sca/otest/newlayout/pom.xml @@ -0,0 +1,75 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + * 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> + <modelVersion>4.0.0</modelVersion> + <parent> + <groupId>org.apache.tuscany.sca</groupId> + <artifactId>tuscany-sca</artifactId> + <version>2.0-SNAPSHOT</version> + <relativePath>../pom.xml</relativePath> + </parent> + <artifactId>tuscany-otests</artifactId> + <name>OASIS SCA Specification Tests</name> + <packaging>pom</packaging> + + <repositories> + <repository> + <id>apache.incubator</id> + <url>http://people.apache.org/repo/m2-incubating-repository</url> + </repository> + </repositories> + + <dependencies> + <dependency> + <groupId>org.apache.tuscany.sca</groupId> + <artifactId>tuscany-feature-api</artifactId> + <type>pom</type> + <version>2.0-SNAPSHOT</version> + </dependency> + + <dependency> + <groupId>org.apache.tuscany.sca</groupId> + <artifactId>tuscany-feature-core</artifactId> + <type>pom</type> + <version>2.0-SNAPSHOT</version> + </dependency> + + <dependency> + <groupId>org.apache.tuscany.sca</groupId> + <artifactId>tuscany-feature-webservice</artifactId> + <type>pom</type> + <version>2.0-SNAPSHOT</version> + </dependency> + + <dependency> + <groupId>junit</groupId> + <artifactId>junit</artifactId> + <version>4.5</version> + <scope>test</scope> + </dependency> + + </dependencies> + + <modules> + <module>sca-assembly</module> + <module>tuscany-test-runner</module> + </modules> + +</project> |