From 76e9f96ca7f494088fe3af5a46ad0d153e961008 Mon Sep 17 00:00:00 2001 From: lresende Date: Wed, 11 Nov 2009 23:11:40 +0000 Subject: Moving 1.x branches git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@835139 13f79535-47bb-0310-9956-ffa450edef68 --- .../java-M1/java/distribution/BUILDING.txt | 5 + .../java/distribution/axis2-overlay/pom.xml | 88 +++++ .../axis2-overlay/src/main/assembly/bin.xml | 38 ++ .../java-M1/java/distribution/build-dist.bat | 33 ++ .../java-M1/java/distribution/build-dist.sh | 33 ++ .../java/distribution/buildDistribution.xml | 83 ++++ .../java/distribution/celtix-overlay/pom.xml | 88 +++++ .../celtix-overlay/src/main/assembly/bin.xml | 39 ++ .../branches/java-M1/java/distribution/pom.xml | 39 ++ .../tomcat-overlay/configureTomcat.xml | 425 +++++++++++++++++++++ .../java/distribution/tomcat-overlay/context.xsl | 96 +++++ .../distribution/tomcat-overlay/datasource.xsl | 39 ++ .../java/distribution/tomcat-overlay/pom.xml | 121 ++++++ .../java/distribution/tomcat-overlay/server.xsl | 49 +++ .../java/distribution/tuscany-core-overlay/pom.xml | 113 ++++++ .../tuscany-core-overlay/src/main/assembly/bin.xml | 38 ++ .../java/distribution/tuscany-polish/fixupJars.xml | 112 ++++++ .../java/distribution/tuscany-polish/pom.xml | 110 ++++++ .../java/distribution/tuscany-samples/pom.xml | 56 +++ .../tuscany-samples/src/main/assembly/bin.xml | 88 +++++ .../distribution/tuscany-tools-overlay/pom.xml | 104 +++++ .../src/main/assembly/bin.xml | 38 ++ 22 files changed, 1835 insertions(+) create mode 100644 sca-java-1.x/branches/java-M1/java/distribution/BUILDING.txt create mode 100644 sca-java-1.x/branches/java-M1/java/distribution/axis2-overlay/pom.xml create mode 100644 sca-java-1.x/branches/java-M1/java/distribution/axis2-overlay/src/main/assembly/bin.xml create mode 100644 sca-java-1.x/branches/java-M1/java/distribution/build-dist.bat create mode 100755 sca-java-1.x/branches/java-M1/java/distribution/build-dist.sh create mode 100644 sca-java-1.x/branches/java-M1/java/distribution/buildDistribution.xml create mode 100644 sca-java-1.x/branches/java-M1/java/distribution/celtix-overlay/pom.xml create mode 100644 sca-java-1.x/branches/java-M1/java/distribution/celtix-overlay/src/main/assembly/bin.xml create mode 100644 sca-java-1.x/branches/java-M1/java/distribution/pom.xml create mode 100644 sca-java-1.x/branches/java-M1/java/distribution/tomcat-overlay/configureTomcat.xml create mode 100644 sca-java-1.x/branches/java-M1/java/distribution/tomcat-overlay/context.xsl create mode 100644 sca-java-1.x/branches/java-M1/java/distribution/tomcat-overlay/datasource.xsl create mode 100644 sca-java-1.x/branches/java-M1/java/distribution/tomcat-overlay/pom.xml create mode 100644 sca-java-1.x/branches/java-M1/java/distribution/tomcat-overlay/server.xsl create mode 100644 sca-java-1.x/branches/java-M1/java/distribution/tuscany-core-overlay/pom.xml create mode 100644 sca-java-1.x/branches/java-M1/java/distribution/tuscany-core-overlay/src/main/assembly/bin.xml create mode 100644 sca-java-1.x/branches/java-M1/java/distribution/tuscany-polish/fixupJars.xml create mode 100644 sca-java-1.x/branches/java-M1/java/distribution/tuscany-polish/pom.xml create mode 100644 sca-java-1.x/branches/java-M1/java/distribution/tuscany-samples/pom.xml create mode 100644 sca-java-1.x/branches/java-M1/java/distribution/tuscany-samples/src/main/assembly/bin.xml create mode 100644 sca-java-1.x/branches/java-M1/java/distribution/tuscany-tools-overlay/pom.xml create mode 100644 sca-java-1.x/branches/java-M1/java/distribution/tuscany-tools-overlay/src/main/assembly/bin.xml (limited to 'sca-java-1.x/branches/java-M1/java/distribution') diff --git a/sca-java-1.x/branches/java-M1/java/distribution/BUILDING.txt b/sca-java-1.x/branches/java-M1/java/distribution/BUILDING.txt new file mode 100644 index 0000000000..4164dd9a78 --- /dev/null +++ b/sca-java-1.x/branches/java-M1/java/distribution/BUILDING.txt @@ -0,0 +1,5 @@ +To create the Tuscany distribution, you just simply run: + +build-dist.bat +or +build-dist.sh diff --git a/sca-java-1.x/branches/java-M1/java/distribution/axis2-overlay/pom.xml b/sca-java-1.x/branches/java-M1/java/distribution/axis2-overlay/pom.xml new file mode 100644 index 0000000000..86dd740c59 --- /dev/null +++ b/sca-java-1.x/branches/java-M1/java/distribution/axis2-overlay/pom.xml @@ -0,0 +1,88 @@ + + + + + org.apache.tuscany + tuscany-distribution + incubating-M1 + + 4.0.0 + tuscany-distribution-axis2-overlay + jar + Tuscany Distribution Project - Axis2 Overlay + incubating-M1 + + + + org.apache.tuscany.sca.bindings + tuscany-binding-axis2 + ${pom.version} + + + org.apache.tuscany + tuscany-core + + + + + + + + org.apache.maven.plugins + maven-jar-plugin + + tuscany-axis2-${project.version} + + + true + + + + + + manifest-jar + package + + jar + + + + + + org.apache.maven.plugins + maven-assembly-plugin + 2.0.1 + + + overlay + package + + directory + + + + + + src/main/assembly/bin.xml + + tuscany + ${basedir}/../target + + + + + diff --git a/sca-java-1.x/branches/java-M1/java/distribution/axis2-overlay/src/main/assembly/bin.xml b/sca-java-1.x/branches/java-M1/java/distribution/axis2-overlay/src/main/assembly/bin.xml new file mode 100644 index 0000000000..97dcfea287 --- /dev/null +++ b/sca-java-1.x/branches/java-M1/java/distribution/axis2-overlay/src/main/assembly/bin.xml @@ -0,0 +1,38 @@ + + + + dist + + dir + + false + + + axis2-overlay/target + lib/axis2 + + tuscany-axis2-incubating-M1.jar + + + + + + lib/axis2 + + + + diff --git a/sca-java-1.x/branches/java-M1/java/distribution/build-dist.bat b/sca-java-1.x/branches/java-M1/java/distribution/build-dist.bat new file mode 100644 index 0000000000..c4d0b4b7fe --- /dev/null +++ b/sca-java-1.x/branches/java-M1/java/distribution/build-dist.bat @@ -0,0 +1,33 @@ +@REM ---------------------------------------------------------------------------- +@REM Copyright 2006 The Apache Software Foundation. +@REM +@REM Licensed under the Apache License, Version 2.0 (the "License"); +@REM you may not use this file except in compliance with the License. +@REM You may obtain a copy of the License at +@REM +@REM http://www.apache.org/licenses/LICENSE-2.0 +@REM +@REM Unless required by applicable law or agreed to in writing, software +@REM distributed under the License is distributed on an "AS IS" BASIS, +@REM WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +@REM See the License for the specific language governing permissions and +@REM limitations under the License. +@REM ---------------------------------------------------------------------------- +@REM +@setlocal +@echo off + +SET CUR_DIR=%cd% +cd /d "%~dp0.." +SET TUSCANY_HOME=%cd% +cd /d "%CUR_DIR%" +echo Building Tuscany ... +cd /d "%TUSCANY_HOME%" +call mvn -Dtuscany.home=%TUSCANY_HOME% %1 clean install -Dmaven.test.skip=true +if ERRORLEVEL 1 goto error +cd /d "%TUSCANY_HOME%/distribution" +echo Creating Tuscany distribution ... +call mvn %1 clean install +:error +cd /d "%CUR_DIR%" +@endlocal diff --git a/sca-java-1.x/branches/java-M1/java/distribution/build-dist.sh b/sca-java-1.x/branches/java-M1/java/distribution/build-dist.sh new file mode 100755 index 0000000000..f23fd378d2 --- /dev/null +++ b/sca-java-1.x/branches/java-M1/java/distribution/build-dist.sh @@ -0,0 +1,33 @@ +#!/bin/sh +# ---------------------------------------------------------------------------- +# Copyright 2006 The Apache Software Foundation. +# +# Licensed 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. +# ---------------------------------------------------------------------------- + +# Copyright (c) 2001-2002 The Apache Software Foundation. All rights +# reserved. +# +CUR_DIR=`pwd` +cd .. +TUSCANY_HOME=`pwd` +echo Building Tuscany ... +echo $TUSCANY_HOME +mvn -Dtuscany.home=$TUSCANY_HOME $1 clean install -Dmaven.test.skip=true +if [ $? -eq 0 ] +then +cd $CUR_DIR +echo Creating Tuscany distribution ... +mvn $1 clean install +fi + diff --git a/sca-java-1.x/branches/java-M1/java/distribution/buildDistribution.xml b/sca-java-1.x/branches/java-M1/java/distribution/buildDistribution.xml new file mode 100644 index 0000000000..0c7d15435b --- /dev/null +++ b/sca-java-1.x/branches/java-M1/java/distribution/buildDistribution.xml @@ -0,0 +1,83 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/sca-java-1.x/branches/java-M1/java/distribution/celtix-overlay/pom.xml b/sca-java-1.x/branches/java-M1/java/distribution/celtix-overlay/pom.xml new file mode 100644 index 0000000000..6c999bb89a --- /dev/null +++ b/sca-java-1.x/branches/java-M1/java/distribution/celtix-overlay/pom.xml @@ -0,0 +1,88 @@ + + + + + org.apache.tuscany + tuscany-distribution + incubating-M1 + + 4.0.0 + tuscany-distribution-celtix-overlay + jar + Tuscany Distribution Project - Celtix Overlay + incubating-M1 + + + + org.apache.tuscany.sca.bindings + tuscany-binding-celtix + ${pom.version} + + + org.apache.tuscany + tuscany-core + + + + + + + + org.apache.maven.plugins + maven-jar-plugin + + tuscany-celtix-${project.version} + + + true + + + + + + manifest-jar + package + + jar + + + + + + org.apache.maven.plugins + maven-assembly-plugin + 2.0.1 + + + overlay + package + + directory + + + + + + src/main/assembly/bin.xml + + tuscany + ${basedir}/../target + + + + + diff --git a/sca-java-1.x/branches/java-M1/java/distribution/celtix-overlay/src/main/assembly/bin.xml b/sca-java-1.x/branches/java-M1/java/distribution/celtix-overlay/src/main/assembly/bin.xml new file mode 100644 index 0000000000..0f1fcb967f --- /dev/null +++ b/sca-java-1.x/branches/java-M1/java/distribution/celtix-overlay/src/main/assembly/bin.xml @@ -0,0 +1,39 @@ + + + + dist + + dir + + false + + + celtix-overlay/target + lib/celtix + + tuscany-celtix-incubating-M1.jar + + + + + + lib/celtix + + + + + diff --git a/sca-java-1.x/branches/java-M1/java/distribution/pom.xml b/sca-java-1.x/branches/java-M1/java/distribution/pom.xml new file mode 100644 index 0000000000..172f1e5494 --- /dev/null +++ b/sca-java-1.x/branches/java-M1/java/distribution/pom.xml @@ -0,0 +1,39 @@ + + + + + org.apache.tuscany + tuscany-project + incubating-M1 + + 4.0.0 + tuscany-distribution + pom + Tuscany Distribution Project + incubating-M1 + + + axis2-overlay + celtix-overlay + tuscany-core-overlay + tuscany-tools-overlay + tuscany-samples + tomcat-overlay + tuscany-polish + + + diff --git a/sca-java-1.x/branches/java-M1/java/distribution/tomcat-overlay/configureTomcat.xml b/sca-java-1.x/branches/java-M1/java/distribution/tomcat-overlay/configureTomcat.xml new file mode 100644 index 0000000000..32407b4e88 --- /dev/null +++ b/sca-java-1.x/branches/java-M1/java/distribution/tomcat-overlay/configureTomcat.xml @@ -0,0 +1,425 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/sca-java-1.x/branches/java-M1/java/distribution/tomcat-overlay/context.xsl b/sca-java-1.x/branches/java-M1/java/distribution/tomcat-overlay/context.xsl new file mode 100644 index 0000000000..3224d15dae --- /dev/null +++ b/sca-java-1.x/branches/java-M1/java/distribution/tomcat-overlay/context.xsl @@ -0,0 +1,96 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/sca-java-1.x/branches/java-M1/java/distribution/tomcat-overlay/datasource.xsl b/sca-java-1.x/branches/java-M1/java/distribution/tomcat-overlay/datasource.xsl new file mode 100644 index 0000000000..ad473e317c --- /dev/null +++ b/sca-java-1.x/branches/java-M1/java/distribution/tomcat-overlay/datasource.xsl @@ -0,0 +1,39 @@ + + + + + + + + + + + + + + + + Global Datasource for Derby dastest database + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/sca-java-1.x/branches/java-M1/java/distribution/tomcat-overlay/pom.xml b/sca-java-1.x/branches/java-M1/java/distribution/tomcat-overlay/pom.xml new file mode 100644 index 0000000000..bbb8acc81d --- /dev/null +++ b/sca-java-1.x/branches/java-M1/java/distribution/tomcat-overlay/pom.xml @@ -0,0 +1,121 @@ + + + + + org.apache.tuscany + tuscany-distribution + incubating-M1 + + 4.0.0 + tuscany-distribution-tomcat-overlay + pom + Tuscany Distribution Project - Tomcat Overlay + incubating-M1 + + + + + + + maven-antrun-plugin + + + ant + ant-trax + 1.6.5 + + + + + + create-tomcat + install + + + + + + + + + + run + + + + clean-tomcat + clean + + + + + + + + + run + + + + + + + diff --git a/sca-java-1.x/branches/java-M1/java/distribution/tomcat-overlay/server.xsl b/sca-java-1.x/branches/java-M1/java/distribution/tomcat-overlay/server.xsl new file mode 100644 index 0000000000..7f3deb8107 --- /dev/null +++ b/sca-java-1.x/branches/java-M1/java/distribution/tomcat-overlay/server.xsl @@ -0,0 +1,49 @@ + + + + + + + + + + + + + + + + org.apache.tuscany.tomcat.TuscanyHost + + + + + + + + + diff --git a/sca-java-1.x/branches/java-M1/java/distribution/tuscany-core-overlay/pom.xml b/sca-java-1.x/branches/java-M1/java/distribution/tuscany-core-overlay/pom.xml new file mode 100644 index 0000000000..bb76b3b5ef --- /dev/null +++ b/sca-java-1.x/branches/java-M1/java/distribution/tuscany-core-overlay/pom.xml @@ -0,0 +1,113 @@ + + + + + org.apache.tuscany + tuscany-distribution + incubating-M1 + + 4.0.0 + tuscany-distribution-tuscany-core-overlay + pom + Tuscany Distribution Project - Tuscany Core Overlay + incubating-M1 + + + + org.apache.tuscany + tuscany-core + ${pom.version} + + + org.apache.tuscany.databinding + tuscany-databinding-sdo + ${pom.version} + + + org.apache.tuscany.sca.bindings + tuscany-binding-jsonrpc + ${pom.version} + + + org.apache.tuscany.sca.containers + tuscany-container-rhino + ${pom.version} + + + org.apache.tuscany.sca.bindings + tuscany-binding-axis2 + + + + + org.apache.tuscany.sca.containers + tuscany-container-java + ${pom.version} + + + org.apache.tuscany.das + tuscany-das-rdb + ${pom.version} + + + + + + org.apache.maven.plugins + maven-jar-plugin + + tuscany-runtime-${project.version} + + + true + + + + + + manifest-jar + package + + jar + + + + + + org.apache.maven.plugins + maven-assembly-plugin + 2.0.1 + + + overlay + package + + directory + + + + + + src/main/assembly/bin.xml + + tuscany + ${basedir}/../target + + + + + diff --git a/sca-java-1.x/branches/java-M1/java/distribution/tuscany-core-overlay/src/main/assembly/bin.xml b/sca-java-1.x/branches/java-M1/java/distribution/tuscany-core-overlay/src/main/assembly/bin.xml new file mode 100644 index 0000000000..6bc4113627 --- /dev/null +++ b/sca-java-1.x/branches/java-M1/java/distribution/tuscany-core-overlay/src/main/assembly/bin.xml @@ -0,0 +1,38 @@ + + + + dist + + dir + + false + + + tuscany-core-overlay/target + lib + + tuscany-runtime-incubating-M1.jar + + + + + + lib + + + + diff --git a/sca-java-1.x/branches/java-M1/java/distribution/tuscany-polish/fixupJars.xml b/sca-java-1.x/branches/java-M1/java/distribution/tuscany-polish/fixupJars.xml new file mode 100644 index 0000000000..8142364b78 --- /dev/null +++ b/sca-java-1.x/branches/java-M1/java/distribution/tuscany-polish/fixupJars.xml @@ -0,0 +1,112 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/sca-java-1.x/branches/java-M1/java/distribution/tuscany-polish/pom.xml b/sca-java-1.x/branches/java-M1/java/distribution/tuscany-polish/pom.xml new file mode 100644 index 0000000000..48340a3af0 --- /dev/null +++ b/sca-java-1.x/branches/java-M1/java/distribution/tuscany-polish/pom.xml @@ -0,0 +1,110 @@ + + + + + org.apache.tuscany + tuscany-distribution + incubating-M1 + + 4.0.0 + tuscany-distribution-tuscany-polish + pom + Tuscany Distribution Project - Tuscany Polish + incubating-M1 + + + + + + + maven-antrun-plugin + + + ant + ant-trax + 1.6.5 + + + + + + fixup-jars + install + + + + + + + + + run + + + + + + + diff --git a/sca-java-1.x/branches/java-M1/java/distribution/tuscany-samples/pom.xml b/sca-java-1.x/branches/java-M1/java/distribution/tuscany-samples/pom.xml new file mode 100644 index 0000000000..bbf04e3f6a --- /dev/null +++ b/sca-java-1.x/branches/java-M1/java/distribution/tuscany-samples/pom.xml @@ -0,0 +1,56 @@ + + + + + org.apache.tuscany + tuscany-distribution + incubating-M1 + + 4.0.0 + tuscany-distribution-tuscany-samples + pom + Tuscany Distribution Project - Tuscany Samples Overlay + incubating-M1 + + + + + org.apache.maven.plugins + maven-assembly-plugin + 2.0.1 + + + overlay + package + + directory + + + + + + + src/main/assembly/bin.xml + + tuscany + ${basedir}/../target + + + + + + diff --git a/sca-java-1.x/branches/java-M1/java/distribution/tuscany-samples/src/main/assembly/bin.xml b/sca-java-1.x/branches/java-M1/java/distribution/tuscany-samples/src/main/assembly/bin.xml new file mode 100644 index 0000000000..c65e791ddd --- /dev/null +++ b/sca-java-1.x/branches/java-M1/java/distribution/tuscany-samples/src/main/assembly/bin.xml @@ -0,0 +1,88 @@ + + + + dist + + dir + + false + + + ../sampleapps + sampleapps + + **/src/test/**/* + **/src/test + **/target + **/target/**/* + **/target/site/**/* + **/build + **/build/**/* + **/.settings/**/* + **/.classpath + **/.project + **/.wtpmodules + **/surefire* + **/cobertura.ser + **/bin/* + **/var/journal + **/build.out* + + + + ../sampleapps + sampleapps + + **/target/*.jar + **/target/*.war + + + + + ../samples + samples + + **/src/test/**/* + **/src/test + **/target/**/* + **/target + **/target/site/**/* + **/build + **/build/**/* + **/.settings + **/.settings/**/* + **/.classpath + **/.project + **/.wtpmodules + **/surefire* + **/cobertura.ser + **/bin/* + **/var/journal + **/build.out* + + + + ../samples + samples + + **/target/*.jar + **/target/*.war + + + + + diff --git a/sca-java-1.x/branches/java-M1/java/distribution/tuscany-tools-overlay/pom.xml b/sca-java-1.x/branches/java-M1/java/distribution/tuscany-tools-overlay/pom.xml new file mode 100644 index 0000000000..b9c95b9c83 --- /dev/null +++ b/sca-java-1.x/branches/java-M1/java/distribution/tuscany-tools-overlay/pom.xml @@ -0,0 +1,104 @@ + + + + + org.apache.tuscany + tuscany-distribution + incubating-M1 + + 4.0.0 + tuscany-distribution-tuscany-tools-overlay + pom + Tuscany Distribution Project - Tuscany Tools Overlay + incubating-M1 + + + + org.apache.tuscany + tuscany-sca-tools + ${pom.version} + + + org.apache.tuscany + tuscany-sdo-tools + ${pom.version} + + + org.apache.tuscany.sca.plugins + tuscany-plugin-wsdl2java + ${pom.version} + + + org.apache.tuscany.sca.plugins + tuscany-plugin-java2wsdl + ${pom.version} + + + org.apache.tuscany + tuscany-sdo-plugin + ${pom.version} + + + + + + org.apache.maven.plugins + maven-jar-plugin + + tuscany-tools-${project.version} + + + true + + + + + + manifest-jar + package + + jar + + + + + + org.apache.maven.plugins + maven-assembly-plugin + 2.0.1 + + + overlay + package + + directory + + + + + + + src/main/assembly/bin.xml + + tuscany + ${basedir}/../target + + + + + + diff --git a/sca-java-1.x/branches/java-M1/java/distribution/tuscany-tools-overlay/src/main/assembly/bin.xml b/sca-java-1.x/branches/java-M1/java/distribution/tuscany-tools-overlay/src/main/assembly/bin.xml new file mode 100644 index 0000000000..90694fb5b2 --- /dev/null +++ b/sca-java-1.x/branches/java-M1/java/distribution/tuscany-tools-overlay/src/main/assembly/bin.xml @@ -0,0 +1,38 @@ + + + + dist + + dir + + false + + + tuscany-tools-overlay/target + lib/tools + + tuscany-tools-incubating-M1.jar + + + + + + lib/tools + + + + -- cgit v1.2.3