diff options
author | lresende <lresende@13f79535-47bb-0310-9956-ffa450edef68> | 2010-10-18 02:28:46 +0000 |
---|---|---|
committer | lresende <lresende@13f79535-47bb-0310-9956-ffa450edef68> | 2010-10-18 02:28:46 +0000 |
commit | 05cb79859c35a801922b5eb86f336ab5e1e13d53 (patch) | |
tree | 09808a4a06e4e2f766c7bb8798fbade6d74ba49b /sca-java-2.x/tags/2.0-M5-RC2/itest/distribution | |
parent | b27842ba0b5ee1c797b6dcf421f61e91aca317af (diff) |
Deleting 2.0-M5-RC2 release candidate tag
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1023632 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-2.x/tags/2.0-M5-RC2/itest/distribution')
17 files changed, 0 insertions, 1129 deletions
diff --git a/sca-java-2.x/tags/2.0-M5-RC2/itest/distribution/bin-distro-unzip/build.xml b/sca-java-2.x/tags/2.0-M5-RC2/itest/distribution/bin-distro-unzip/build.xml deleted file mode 100644 index 6c4b1fdf3f..0000000000 --- a/sca-java-2.x/tags/2.0-M5-RC2/itest/distribution/bin-distro-unzip/build.xml +++ /dev/null @@ -1,27 +0,0 @@ -<!-- - * 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="itest-unzip" default="unzip"> - - <target name="unzip"> - <delete dir="../../../distribution/all/target/apache-tuscany-sca-all-${tuscany.version}.dir"/> - <unzip src="../../../distribution/all/target/apache-tuscany-sca-all-${tuscany.version}.zip" - dest="../../../distribution/all/target/apache-tuscany-sca-all-${tuscany.version}.dir"/> - </target> - -</project> diff --git a/sca-java-2.x/tags/2.0-M5-RC2/itest/distribution/bin-distro-unzip/pom.xml b/sca-java-2.x/tags/2.0-M5-RC2/itest/distribution/bin-distro-unzip/pom.xml deleted file mode 100644 index 0b58290ea0..0000000000 --- a/sca-java-2.x/tags/2.0-M5-RC2/itest/distribution/bin-distro-unzip/pom.xml +++ /dev/null @@ -1,128 +0,0 @@ -<?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>itest-distribution</artifactId> - <version>2.0</version> - <relativePath>../pom.xml</relativePath> - </parent> - <artifactId>itest-bin-distro-unzip</artifactId> - <name>Apache Tuscany SCA iTest Distribution Bin Distro Unzip</name> - - <dependencies> - <dependency> - <groupId>org.apache.tuscany.sca</groupId> - <artifactId>tuscany-distribution-all</artifactId> - <type>pom</type> - <version>2.0</version> - </dependency> - </dependencies> - - <!-- HACK: use profile to control if we need to add tools.jar --> - <!-- Mac OS doesn't have tools.jar --> - <profiles> - <profile> - <id>not-sun-jdk</id> - <activation> - <file> - <missing>${java.home}/../lib/tools.jar</missing> - </file> - </activation> - <build> - <plugins> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-antrun-plugin</artifactId> - <executions> - <execution> - <id>run-samples</id> - <phase>verify</phase> - <goals> - <goal>run</goal> - </goals> - <configuration> - <tasks> - <property name="java.home" value="${java.home}"/> - <property name="tuscany.version" value="${version}" /> - <ant antfile="./build.xml" /> - </tasks> - </configuration> - </execution> - </executions> - </plugin> - </plugins> - </build> - </profile> - - <profile> - <id>sun-jdk</id> - <activation> - <file> - <exists>${java.home}/../lib/tools.jar</exists> - </file> - </activation> - <build> - <plugins> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-antrun-plugin</artifactId> - <version>1.3</version> - - <dependencies> - <dependency> - <groupId>ant</groupId> - <artifactId>ant-trax</artifactId> - <version>1.6.5</version> - </dependency> - <!-- this JDk dependency is a workaround for Maven bug - http://jira.codehaus.org/browse/MNG-1323 --> - <dependency> - <groupId>sun.jdk</groupId> - <artifactId>tools</artifactId> - <version>1.6</version> - <scope>system</scope> - <systemPath>${java.home}/../lib/tools.jar</systemPath> - </dependency> - </dependencies> - - <executions> - <execution> - <id>run-samples</id> - <phase>verify</phase> - <goals> - <goal>run</goal> - </goals> - <configuration> - <tasks> - <property name="java.home" value="${java.home}"/> - <property name="tuscany.version" value="${version}" /> - <ant antfile="./build.xml" /> - </tasks> - </configuration> - </execution> - </executions> - </plugin> - </plugins> - </build> - </profile> - </profiles> - -</project> diff --git a/sca-java-2.x/tags/2.0-M5-RC2/itest/distribution/contribution-binding-rmi-calculator/build.xml b/sca-java-2.x/tags/2.0-M5-RC2/itest/distribution/contribution-binding-rmi-calculator/build.xml deleted file mode 100644 index 86afb7a952..0000000000 --- a/sca-java-2.x/tags/2.0-M5-RC2/itest/distribution/contribution-binding-rmi-calculator/build.xml +++ /dev/null @@ -1,39 +0,0 @@ -<!-- - * 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="itest-samples" default="run"> - - <!-- - compile and run each sample as though the user were running - samples from the binary distribution. Here we use ant targets - in the first instance but for some tests we may want to run - jars directly or fire up webapp containers and deploy wars. In other cases - we may need to run two samples together to provide reference and - service sides of the sample. - --> - - <property name="distro.root" value="../../../distribution/all/target/apache-tuscany-sca-all-${tuscany.version}.dir/tuscany-sca-${tuscany.version}" /> - - <target name="run"> - <ant antfile="build.xml" - dir="${distro.root}/samples/binding-rmi/contribution-calculator-reference"/> - <ant antfile="build.xml" - dir="${distro.root}/samples/binding-rmi/contribution-calculator-service"/> - </target> - -</project> diff --git a/sca-java-2.x/tags/2.0-M5-RC2/itest/distribution/contribution-binding-rmi-calculator/pom.xml b/sca-java-2.x/tags/2.0-M5-RC2/itest/distribution/contribution-binding-rmi-calculator/pom.xml deleted file mode 100644 index ef87ceacb0..0000000000 --- a/sca-java-2.x/tags/2.0-M5-RC2/itest/distribution/contribution-binding-rmi-calculator/pom.xml +++ /dev/null @@ -1,68 +0,0 @@ -<?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>itest-distribution</artifactId> - <version>2.0</version> - <relativePath>../pom.xml</relativePath> - </parent> - <artifactId>itest-distribution-contribution-binding-rmi-calculator</artifactId> - <name>Apache Tuscany SCA iTest Distribution Contribution binding-rmi Calculator</name> - - <profiles> - <profile> - <id>distribution</id> - <dependencies> - <dependency> - <groupId>org.apache.tuscany.sca</groupId> - <artifactId>itest-bin-distro-unzip</artifactId> - <type>pom</type> - <version>2.0</version> - </dependency> - </dependencies> - </profile> - </profiles> - - <build> - <plugins> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-antrun-plugin</artifactId> - <executions> - <execution> - <id>run-samples</id> - <phase>verify</phase> - <goals> - <goal>run</goal> - </goals> - <configuration> - <tasks> - <property name="tuscany.version" value="${version}" /> - <ant antfile="./build.xml" target="run"/> - </tasks> - </configuration> - </execution> - </executions> - </plugin> - </plugins> - </build> -</project> diff --git a/sca-java-2.x/tags/2.0-M5-RC2/itest/distribution/contribution-binding-sca-calculator/build.xml b/sca-java-2.x/tags/2.0-M5-RC2/itest/distribution/contribution-binding-sca-calculator/build.xml deleted file mode 100644 index bd5f247a19..0000000000 --- a/sca-java-2.x/tags/2.0-M5-RC2/itest/distribution/contribution-binding-sca-calculator/build.xml +++ /dev/null @@ -1,40 +0,0 @@ -<!-- - * 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="itest-samples" default="run"> - - <echo>${java.home}</echo> - <!-- - compile and run each sample as though the user were running - samples from the binary distribution. Here we use ant targets - in the first instance but for some tests we may want to run - jars directly or fire up webapp containers and deploy wars. In other cases - we may need to run two samples together to provide reference and - service sides of the sample. - --> - - <property name="distro.root" value="../../../distribution/all/target/apache-tuscany-sca-all-${tuscany.version}.dir/tuscany-sca-${tuscany.version}" /> - - <target name="run"> - - <ant antfile="build.xml" - dir="${distro.root}/samples/binding-sca/contribution-calculator"/> - - </target> - -</project> diff --git a/sca-java-2.x/tags/2.0-M5-RC2/itest/distribution/contribution-binding-sca-calculator/pom.xml b/sca-java-2.x/tags/2.0-M5-RC2/itest/distribution/contribution-binding-sca-calculator/pom.xml deleted file mode 100644 index ceb8cc94fb..0000000000 --- a/sca-java-2.x/tags/2.0-M5-RC2/itest/distribution/contribution-binding-sca-calculator/pom.xml +++ /dev/null @@ -1,87 +0,0 @@ -<?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>itest-distribution</artifactId> - <version>2.0</version> - <relativePath>../pom.xml</relativePath> - </parent> - <artifactId>itest-distribution-contribution-binding-sca-calculator</artifactId> - <name>Apache Tuscany SCA iTest Distribution Contribution binding-sca Calculator</name> - - <profiles> - <profile> - <id>distribution</id> - <dependencies> - <dependency> - <groupId>org.apache.tuscany.sca</groupId> - <artifactId>itest-bin-distro-unzip</artifactId> - <type>pom</type> - <version>2.0</version> - </dependency> - </dependencies> - </profile> - </profiles> - - <build> - <plugins> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-antrun-plugin</artifactId> - <version>1.3</version> - - <dependencies> - <dependency> - <groupId>ant</groupId> - <artifactId>ant-trax</artifactId> - <version>1.6.5</version> - </dependency> - <!-- this JDk dependency is a workaround for Maven bug - http://jira.codehaus.org/browse/MNG-1323 --> - <dependency> - <groupId>sun.jdk</groupId> - <artifactId>tools</artifactId> - <version>1.6</version> - <scope>system</scope> - <systemPath>${java.home}/../lib/tools.jar</systemPath> - </dependency> - </dependencies> - - <executions> - <execution> - <id>run-samples</id> - <phase>verify</phase> - <goals> - <goal>run</goal> - </goals> - <configuration> - <tasks> - <property name="tuscany.version" value="${version}" /> - <property name="java.home" value="${java.home}"/> - <ant antfile="./build.xml" target="run"/> - </tasks> - </configuration> - </execution> - </executions> - </plugin> - </plugins> - </build> -</project> diff --git a/sca-java-2.x/tags/2.0-M5-RC2/itest/distribution/contribution-binding-ws-calculator/build.xml b/sca-java-2.x/tags/2.0-M5-RC2/itest/distribution/contribution-binding-ws-calculator/build.xml deleted file mode 100644 index de8ea977a9..0000000000 --- a/sca-java-2.x/tags/2.0-M5-RC2/itest/distribution/contribution-binding-ws-calculator/build.xml +++ /dev/null @@ -1,40 +0,0 @@ -<!-- - * 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="itest-samples" default="run"> - - <echo>${java.home}</echo> - <!-- - compile and run each sample as though the user were running - samples from the binary distribution. Here we use ant targets - in the first instance but for some tests we may want to run - jars directly or fire up webapp containers and deploy wars. In other cases - we may need to run two samples together to provide reference and - service sides of the sample. - --> - - <property name="distro.root" value="../../../distribution/all/target/apache-tuscany-sca-all-${tuscany.version}.dir/tuscany-sca-${tuscany.version}" /> - - <target name="run"> - - <ant antfile="build.xml" - dir="${distro.root}/samples/contribution-binding-ws-calculator"/> - - </target> - -</project> diff --git a/sca-java-2.x/tags/2.0-M5-RC2/itest/distribution/contribution-binding-ws-calculator/pom.xml b/sca-java-2.x/tags/2.0-M5-RC2/itest/distribution/contribution-binding-ws-calculator/pom.xml deleted file mode 100644 index 359bad4233..0000000000 --- a/sca-java-2.x/tags/2.0-M5-RC2/itest/distribution/contribution-binding-ws-calculator/pom.xml +++ /dev/null @@ -1,69 +0,0 @@ -<?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>itest-distribution</artifactId> - <version>2.0</version> - <relativePath>../pom.xml</relativePath> - </parent> - <artifactId>itest-distribution-contribution-binding-ws-calculator</artifactId> - <name>Apache Tuscany SCA iTest Distribution Contribution binding-ws Calculator</name> - - <profiles> - <profile> - <id>distribution</id> - <dependencies> - <dependency> - <groupId>org.apache.tuscany.sca</groupId> - <artifactId>itest-bin-distro-unzip</artifactId> - <type>pom</type> - <version>2.0</version> - </dependency> - </dependencies> - </profile> - </profiles> - - <build> - <plugins> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-antrun-plugin</artifactId> - <executions> - <execution> - <id>run-samples</id> - <phase>verify</phase> - <goals> - <goal>run</goal> - </goals> - <configuration> - <tasks> - <property name="java.home" value="${java.home}"/> - <property name="tuscany.version" value="${version}" /> - <ant antfile="./build.xml" target="run"/> - </tasks> - </configuration> - </execution> - </executions> - </plugin> - </plugins> - </build> -</project> diff --git a/sca-java-2.x/tags/2.0-M5-RC2/itest/distribution/contribution-implementation-java-calculator/build.xml b/sca-java-2.x/tags/2.0-M5-RC2/itest/distribution/contribution-implementation-java-calculator/build.xml deleted file mode 100644 index 52704f49f1..0000000000 --- a/sca-java-2.x/tags/2.0-M5-RC2/itest/distribution/contribution-implementation-java-calculator/build.xml +++ /dev/null @@ -1,40 +0,0 @@ -<!-- - * 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="itest-samples" default="run"> - - <echo>${java.home}</echo> - <!-- - compile and run each sample as though the user were running - samples from the binary distribution. Here we use ant targets - in the first instance but for some tests we may want to run - jars directly or fire up webapp containers and deploy wars. In other cases - we may need to run two samples together to provide reference and - service sides of the sample. - --> - - <property name="distro.root" value="../../../distribution/all/target/apache-tuscany-sca-all-${tuscany.version}.dir/tuscany-sca-${tuscany.version}" /> - - <target name="run"> - - <ant antfile="build.xml" - dir="${distro.root}/samples/contribution-implementation-java-calculator"/> - - </target> - -</project> diff --git a/sca-java-2.x/tags/2.0-M5-RC2/itest/distribution/contribution-implementation-java-calculator/pom.xml b/sca-java-2.x/tags/2.0-M5-RC2/itest/distribution/contribution-implementation-java-calculator/pom.xml deleted file mode 100644 index 9255c147bf..0000000000 --- a/sca-java-2.x/tags/2.0-M5-RC2/itest/distribution/contribution-implementation-java-calculator/pom.xml +++ /dev/null @@ -1,87 +0,0 @@ -<?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>itest-distribution</artifactId> - <version>2.0</version> - <relativePath>../pom.xml</relativePath> - </parent> - <artifactId>itest-distribution-contribution-implementation-java-calculator</artifactId> - <name>Apache Tuscany SCA iTest Distribution contribution implementation-java Calculator</name> - - <profiles> - <profile> - <id>distribution</id> - <dependencies> - <dependency> - <groupId>org.apache.tuscany.sca</groupId> - <artifactId>itest-bin-distro-unzip</artifactId> - <type>pom</type> - <version>2.0</version> - </dependency> - </dependencies> - </profile> - </profiles> - - <build> - <plugins> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-antrun-plugin</artifactId> - <version>1.3</version> - - <dependencies> - <dependency> - <groupId>ant</groupId> - <artifactId>ant-trax</artifactId> - <version>1.6.5</version> - </dependency> - <!-- this JDk dependency is a workaround for Maven bug - http://jira.codehaus.org/browse/MNG-1323 --> - <dependency> - <groupId>sun.jdk</groupId> - <artifactId>tools</artifactId> - <version>1.6</version> - <scope>system</scope> - <systemPath>${java.home}/../lib/tools.jar</systemPath> - </dependency> - </dependencies> - - <executions> - <execution> - <id>run-samples</id> - <phase>verify</phase> - <goals> - <goal>run</goal> - </goals> - <configuration> - <tasks> - <property name="tuscany.version" value="${version}" /> - <property name="java.home" value="${java.home}"/> - <ant antfile="./build.xml" target="run"/> - </tasks> - </configuration> - </execution> - </executions> - </plugin> - </plugins> - </build> -</project> diff --git a/sca-java-2.x/tags/2.0-M5-RC2/itest/distribution/launcher-embedded-jse/build.xml b/sca-java-2.x/tags/2.0-M5-RC2/itest/distribution/launcher-embedded-jse/build.xml deleted file mode 100644 index cd569b380a..0000000000 --- a/sca-java-2.x/tags/2.0-M5-RC2/itest/distribution/launcher-embedded-jse/build.xml +++ /dev/null @@ -1,41 +0,0 @@ -<!-- - * 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="itest-samples" default="run"> - - <echo>${java.home}</echo> - <!-- - compile and run each sample as though the user were running - samples from the binary distribution. Here we use ant targets - in the first instance but for some tests we may want to run - jars directly or fire up webapp containers and deploy wars. In other cases - we may need to run two samples together to provide reference and - service sides of the sample. - --> - - <property name="distro.root" value="../../../distribution/all/target/apache-tuscany-sca-all-${tuscany.version}.dir/tuscany-sca-${tuscany.version}" /> - - <target name="run"> - - <ant dir="${distro.root}/samples/launcher-embedded-jse" - target="run-contribution-binding-sca-calculator"> - </ant> - - </target> - -</project> diff --git a/sca-java-2.x/tags/2.0-M5-RC2/itest/distribution/launcher-embedded-jse/pom.xml b/sca-java-2.x/tags/2.0-M5-RC2/itest/distribution/launcher-embedded-jse/pom.xml deleted file mode 100644 index 64015a7403..0000000000 --- a/sca-java-2.x/tags/2.0-M5-RC2/itest/distribution/launcher-embedded-jse/pom.xml +++ /dev/null @@ -1,69 +0,0 @@ -<?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>itest-distribution</artifactId> - <version>2.0</version> - <relativePath>../pom.xml</relativePath> - </parent> - <artifactId>itest-distribution-launcher-embedded-jse</artifactId> - <name>Apache Tuscany SCA iTest Distribution Launcher Embedded JSE</name> - - <profiles> - <profile> - <id>distribution</id> - <dependencies> - <dependency> - <groupId>org.apache.tuscany.sca</groupId> - <artifactId>itest-bin-distro-unzip</artifactId> - <type>pom</type> - <version>2.0</version> - </dependency> - </dependencies> - </profile> - </profiles> - - <build> - <plugins> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-antrun-plugin</artifactId> - <executions> - <execution> - <id>run-samples</id> - <phase>verify</phase> - <goals> - <goal>run</goal> - </goals> - <configuration> - <tasks> - <property name="java.home" value="${java.home}"/> - <property name="tuscany.version" value="${version}" /> - <ant antfile="./build.xml" target="run"/> - </tasks> - </configuration> - </execution> - </executions> - </plugin> - </plugins> - </build> -</project> diff --git a/sca-java-2.x/tags/2.0-M5-RC2/itest/distribution/launcher-embedded-osgi/build.xml b/sca-java-2.x/tags/2.0-M5-RC2/itest/distribution/launcher-embedded-osgi/build.xml deleted file mode 100644 index c6874ed86e..0000000000 --- a/sca-java-2.x/tags/2.0-M5-RC2/itest/distribution/launcher-embedded-osgi/build.xml +++ /dev/null @@ -1,45 +0,0 @@ -<!-- - * 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="itest-samples" default="run"> - - <echo>${java.home}</echo> - <!-- - compile and run each sample as though the user were running - samples from the binary distribution. Here we use ant targets - in the first instance but for some tests we may want to run - jars directly or fire up webapp containers and deploy wars. In other cases - we may need to run two samples together to provide reference and - service sides of the sample. - --> - - <property name="distro.root" value="../../../distribution/all/target/apache-tuscany-sca-all-${tuscany.version}.dir/tuscany-sca-${tuscany.version}" /> - - <target name="run"> - -<!-- Seems to be hanging in the console at the end of the OSGi run - configure it to run no tests for now - <ant dir="${distro.root}/samples/launcher-embedded-osgi" - target="run-contribution-binding-sca-calculator"/> ---> - - <ant dir="${distro.root}/samples/launcher-embedded-osgi"/> - - </target> - -</project> diff --git a/sca-java-2.x/tags/2.0-M5-RC2/itest/distribution/launcher-embedded-osgi/pom.xml b/sca-java-2.x/tags/2.0-M5-RC2/itest/distribution/launcher-embedded-osgi/pom.xml deleted file mode 100644 index 6b55fa44fa..0000000000 --- a/sca-java-2.x/tags/2.0-M5-RC2/itest/distribution/launcher-embedded-osgi/pom.xml +++ /dev/null @@ -1,69 +0,0 @@ -<?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>itest-distribution</artifactId> - <version>2.0</version> - <relativePath>../pom.xml</relativePath> - </parent> - <artifactId>itest-distribution-launcher-embedded-osgi</artifactId> - <name>Apache Tuscany SCA iTest Distribution Launcher Embedded OSGi</name> - - <profiles> - <profile> - <id>distribution</id> - <dependencies> - <dependency> - <groupId>org.apache.tuscany.sca</groupId> - <artifactId>itest-bin-distro-unzip</artifactId> - <type>pom</type> - <version>2.0</version> - </dependency> - </dependencies> - </profile> - </profiles> - - <build> - <plugins> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-antrun-plugin</artifactId> - <executions> - <execution> - <id>run-samples</id> - <phase>verify</phase> - <goals> - <goal>run</goal> - </goals> - <configuration> - <tasks> - <property name="java.home" value="${java.home}"/> - <property name="tuscany.version" value="${version}" /> - <ant antfile="./build.xml" target="run"/> - </tasks> - </configuration> - </execution> - </executions> - </plugin> - </plugins> - </build> -</project> diff --git a/sca-java-2.x/tags/2.0-M5-RC2/itest/distribution/legal-checks/pom.xml b/sca-java-2.x/tags/2.0-M5-RC2/itest/distribution/legal-checks/pom.xml deleted file mode 100644 index 15bb05736b..0000000000 --- a/sca-java-2.x/tags/2.0-M5-RC2/itest/distribution/legal-checks/pom.xml +++ /dev/null @@ -1,47 +0,0 @@ -<?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>itest-distribution</artifactId> - <version>2.0</version> - <relativePath>../pom.xml</relativePath> - </parent> - <artifactId>itest-distribution-legal-checks</artifactId> - <name>Apache Tuscany SCA iTest Distribution Legal Checks</name> - - <profiles> - <profile> - <id>distribution</id> - <dependencies> - <dependency> - <groupId>org.apache.tuscany.sca</groupId> - <artifactId>itest-bin-distro-unzip</artifactId> - <type>pom</type> - <version>2.0</version> - </dependency> - </dependencies> - </profile> - </profiles> - - <build> - </build> -</project> diff --git a/sca-java-2.x/tags/2.0-M5-RC2/itest/distribution/legal-checks/src/test/java/itest/JarsInLICENSETestCase.java b/sca-java-2.x/tags/2.0-M5-RC2/itest/distribution/legal-checks/src/test/java/itest/JarsInLICENSETestCase.java deleted file mode 100644 index 3564128c8d..0000000000 --- a/sca-java-2.x/tags/2.0-M5-RC2/itest/distribution/legal-checks/src/test/java/itest/JarsInLICENSETestCase.java +++ /dev/null @@ -1,162 +0,0 @@ -/* - * 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. - */ - -package itest; - -import java.io.BufferedReader; -import java.io.File; -import java.io.FileReader; -import java.io.IOException; -import java.util.ArrayList; -import java.util.List; -import java.util.StringTokenizer; - -import org.junit.Test; - -/** - * Checks that all jar files included in the distribution are mentioned in the LICENSE file - * and that all jars mentioned in the LICENSE are in the distribution. - */ -public class JarsInLICENSETestCase { - - @Test - public void testJars() throws Exception { - File distroRoot = getUnzipedDistroRoot(); - - File licenseFile = new File(distroRoot, "LICENSE"); - if (!licenseFile.exists()) { - throw new IllegalStateException("can't find LICENSE file at: " + licenseFile.getAbsoluteFile().toString()); - } - - File libDirectory = new File(distroRoot, "modules"); - if (!libDirectory.exists()) { - throw new IllegalStateException("can't find modules folder at: " + libDirectory.getAbsoluteFile().toString()); - } - - List<String> jars = getJarsInDistro(libDirectory); - - List<String> bad2 = getLICENSEJarsNotInDistro(licenseFile, jars); - if (bad2.size() > 0) { - System.err.println("Jars in LICENSE but not in Distribution: " + bad2); - } - - List<String> bad1 = getJarsNotInLICENSE(jars, licenseFile); - if (bad1.size() > 0) { - System.err.println("Jars in distribution but not in LICENSE: " + bad1); - } - - if (bad1.size() > 0 || bad2.size() > 0) { - throw new IllegalStateException("LICENSE problems, check log"); - } - } - - private List<String> getLICENSEJarsNotInDistro(File licenseFile, List<String> jars) throws IOException { - List<String> badJars = new ArrayList<String>(); - BufferedReader reader = new BufferedReader(new FileReader(licenseFile)); - String line = null; - while ((line = reader.readLine()) != null) { - line = line.trim(); - if (line.contains(".jar")) { - StringTokenizer st = new StringTokenizer(line); - while (st.hasMoreTokens()) { - String s = st.nextToken(); - if (s.contains(".jar")) { - if (s.startsWith("(")) { - s = s.substring(1); - } - if (s.endsWith(",") || s.endsWith(":")) { - s = s.substring(0, s.length()-1); - } - if (s.endsWith(")")) { - s = s.substring(0, s.length()-1); - } - if (!jars.contains(s) && !s.startsWith("tuscany-")) { - badJars.add(s); - } - } - } - } - } - return badJars; - } - - private List<String> getJarsNotInLICENSE(List<String> jars, File licenseFile) throws IOException { - List<String> badJars = new ArrayList<String>(); - String licenseText = readLICENSE(licenseFile); - for (String jar : jars) { - if (!licenseText.contains(jar)) { - if (jar.startsWith("tuscany-")) { - // ignore tuscany jars as they're not mentioned in the LICENSE file - } else { - badJars.add(jar); - } - } - } - return badJars; - } - - private List<String> getJarsInDistro(File directory) { - List<String> jars = new ArrayList<String>(); - for (String fn : directory.list()){ - if (fn.endsWith(".jar")) { - jars.add(fn); - } else { - File f = new File(directory, fn); - if (f.isDirectory()) { - jars.addAll(getJarsInDistro(f)); - } - } - } - return jars; - } - - private File getUnzipedDistroRoot() { - File distroTarget = new File("../../../distribution/all/target"); - File root = null; - for (String f : distroTarget.list()) { - if (f.endsWith(".dir")) { - root = new File(distroTarget, f); - break; - } - } - if (root == null) { - throw new IllegalStateException("can't find distro root"); - } - if (root.list().length != 1) { - throw new IllegalStateException("expecting one directory in distro root"); - } - root = new File(root, root.list()[0]); - return root; - } - - private static String readLICENSE(File licenseFile) throws java.io.IOException { - StringBuffer fileData = new StringBuffer(); - BufferedReader reader = new BufferedReader(new FileReader(licenseFile)); - char[] buf = new char[1024]; - int numRead = 0; - while ((numRead = reader.read(buf)) != -1) { - String readData = String.valueOf(buf, 0, numRead); - fileData.append(readData); - buf = new char[1024]; - } - reader.close(); - return fileData.toString(); - } - -} diff --git a/sca-java-2.x/tags/2.0-M5-RC2/itest/distribution/pom.xml b/sca-java-2.x/tags/2.0-M5-RC2/itest/distribution/pom.xml deleted file mode 100644 index 4cc4ec8654..0000000000 --- a/sca-java-2.x/tags/2.0-M5-RC2/itest/distribution/pom.xml +++ /dev/null @@ -1,71 +0,0 @@ -<?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-itest</artifactId> - <version>2.0</version> - <relativePath>../pom.xml</relativePath> - </parent> - <packaging>pom</packaging> - <artifactId>itest-distribution</artifactId> - <name>Apache Tuscany SCA iTest Distribution</name> - - <dependencies> - <dependency> - <groupId>org.apache.tuscany.sca</groupId> - <artifactId>tuscany-distribution-all</artifactId> - <type>pom</type> - <version>2.0</version> - </dependency> - </dependencies> - - <profiles> - <profile> - <id>default</id> - <activation> - <activeByDefault>true</activeByDefault> - </activation> - </profile> - - <profile> - <id>distribution</id> - <modules> - <module>bin-distro-unzip</module> - </modules> - </profile> - </profiles> - - <modules> - <module>legal-checks</module> - <module>contribution-binding-sca-calculator</module> - <module>contribution-binding-ws-calculator</module> - <module>contribution-binding-rmi-calculator</module> - <module>contribution-implementation-java-calculator</module> - <module>launcher-embedded-jse</module> - <module>launcher-embedded-osgi</module> - </modules> - - <build> - <defaultGoal>install</defaultGoal> - </build> - -</project> |