summaryrefslogtreecommitdiffstats
path: root/branches
diff options
context:
space:
mode:
authorlresende <lresende@13f79535-47bb-0310-9956-ffa450edef68>2009-09-16 06:17:27 +0000
committerlresende <lresende@13f79535-47bb-0310-9956-ffa450edef68>2009-09-16 06:17:27 +0000
commit64909b408c2bbed841866a1a397c52c4c06f82c5 (patch)
treee7afe543adb46ecf8018ac5ae5b82571582af558 /branches
parentbd89794eb9b9a1ff38b67d1a7c487a6112ca07da (diff)
TUSCANY-3274 - Adding build.xml to store-dojo and fixing missing dependencies on the distribution
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@815624 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'branches')
-rw-r--r--branches/sca-java-1.5.1/distribution/bundle/pom.xml28
-rw-r--r--branches/sca-java-1.5.1/distribution/manifest/pom.xml20
-rw-r--r--branches/sca-java-1.5.1/samples/store-dojo/build.xml86
3 files changed, 127 insertions, 7 deletions
diff --git a/branches/sca-java-1.5.1/distribution/bundle/pom.xml b/branches/sca-java-1.5.1/distribution/bundle/pom.xml
index 4e6ee57253..0dc3687e78 100644
--- a/branches/sca-java-1.5.1/distribution/bundle/pom.xml
+++ b/branches/sca-java-1.5.1/distribution/bundle/pom.xml
@@ -54,6 +54,11 @@
</dependency>
<dependency>
<groupId>${pom.groupId}</groupId>
+ <artifactId>tuscany-binding-atom-js-dojo</artifactId>
+ <version>${pom.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>${pom.groupId}</groupId>
<artifactId>tuscany-binding-atom-abdera</artifactId>
<version>${pom.version}</version>
</dependency>
@@ -109,6 +114,11 @@
</dependency>
<dependency>
<groupId>${pom.groupId}</groupId>
+ <artifactId>tuscany-binding-jsonrpc-js-dojo</artifactId>
+ <version>${pom.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>${pom.groupId}</groupId>
<artifactId>tuscany-binding-jsonrpc-runtime</artifactId>
<version>${pom.version}</version>
</dependency>
@@ -451,6 +461,11 @@
</dependency>
<dependency>
<groupId>${pom.groupId}</groupId>
+ <artifactId>tuscany-implementation-widget-runtime-dojo</artifactId>
+ <version>${pom.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>${pom.groupId}</groupId>
<artifactId>tuscany-node-api</artifactId>
<version>${pom.version}</version>
</dependency>
@@ -522,6 +537,11 @@
</dependency>
<dependency>
<groupId>${pom.groupId}</groupId>
+ <artifactId>tuscany-web-javascript-dojo</artifactId>
+ <version>${pom.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>${pom.groupId}</groupId>
<artifactId>tuscany-workspace</artifactId>
<version>${pom.version}</version>
</dependency>
@@ -550,17 +570,13 @@
<artifactId>tuscany-wsdl2java</artifactId>
<version>${pom.version}</version>
<exclusions>
-
<exclusion>
<groupId>org.apache.geronimo.specs</groupId>
-
<artifactId>geronimo-activation_1.1_spec</artifactId>
</exclusion>
-
</exclusions>
</dependency>
-
- <dependency>
+ <dependency>
<groupId>org.apache.tuscany.sdo</groupId>
<artifactId>tuscany-sdo-impl</artifactId>
<version>1.1.1</version>
@@ -577,13 +593,11 @@
</exclusion>
</exclusions>
</dependency>
-
<dependency>
<groupId>org.apache.tuscany.sdo</groupId>
<artifactId>tuscany-sdo-tools</artifactId>
<version>1.1.1</version>
</dependency>
-
</dependencies>
<build>
diff --git a/branches/sca-java-1.5.1/distribution/manifest/pom.xml b/branches/sca-java-1.5.1/distribution/manifest/pom.xml
index d030ebf0ef..fdac869b05 100644
--- a/branches/sca-java-1.5.1/distribution/manifest/pom.xml
+++ b/branches/sca-java-1.5.1/distribution/manifest/pom.xml
@@ -62,6 +62,11 @@
</dependency>
<dependency>
<groupId>${pom.groupId}</groupId>
+ <artifactId>tuscany-binding-atom-js-dojo</artifactId>
+ <version>${pom.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>${pom.groupId}</groupId>
<artifactId>tuscany-binding-atom-abdera</artifactId>
<version>${pom.version}</version>
</dependency>
@@ -212,6 +217,11 @@
</dependency>
<dependency>
<groupId>${pom.groupId}</groupId>
+ <artifactId>tuscany-binding-jsonrpc-js-dojo</artifactId>
+ <version>${pom.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>${pom.groupId}</groupId>
<artifactId>tuscany-binding-jsonrpc-runtime</artifactId>
<version>${pom.version}</version>
</dependency>
@@ -494,6 +504,11 @@
</dependency>
<dependency>
<groupId>${pom.groupId}</groupId>
+ <artifactId>tuscany-implementation-widget-runtime-dojo</artifactId>
+ <version>${pom.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>${pom.groupId}</groupId>
<artifactId>tuscany-node-api</artifactId>
<version>${pom.version}</version>
</dependency>
@@ -550,6 +565,11 @@
</dependency>
<dependency>
<groupId>${pom.groupId}</groupId>
+ <artifactId>tuscany-web-javascript-dojo</artifactId>
+ <version>${pom.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>${pom.groupId}</groupId>
<artifactId>tuscany-workspace</artifactId>
<version>${pom.version}</version>
</dependency>
diff --git a/branches/sca-java-1.5.1/samples/store-dojo/build.xml b/branches/sca-java-1.5.1/samples/store-dojo/build.xml
new file mode 100644
index 0000000000..eda2881e92
--- /dev/null
+++ b/branches/sca-java-1.5.1/samples/store-dojo/build.xml
@@ -0,0 +1,86 @@
+<!--
+ * 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="store" default="compile">
+ <property name="test.class" value="launch.Launch" />
+ <property name="test.jar" value="sample-store-dojo.jar" />
+
+ <target name="init">
+ <mkdir dir="target/classes"/>
+ </target>
+
+ <target name="compile" depends="init">
+ <javac srcdir="src/main/java"
+ destdir="target/classes"
+ debug="on"
+ source="1.5"
+ target="1.5">
+ <classpath>
+ <pathelement location="../../lib/tuscany-sca-manifest.jar"/>
+ <fileset refid="tuscany.jars"/>
+ <fileset refid="3rdparty.jars"/>
+ </classpath>
+ </javac>
+ <copy todir="target/classes">
+ <fileset dir="src/main/resources"/>
+ </copy>
+ <jar destfile="target/${test.jar}" basedir="target/classes">
+ <manifest>
+ <attribute name="Main-Class" value="${test.class}" />
+ </manifest>
+ </jar>
+ </target>
+
+ <target name="run-classes">
+ <java classname="${test.class}"
+ fork="true">
+ <classpath>
+ <pathelement path="target/classes"/>
+ <pathelement location="../../lib/tuscany-sca-manifest.jar"/>
+ <fileset refid="tuscany.jars"/>
+ <fileset refid="3rdparty.jars"/>
+ </classpath>
+ </java>
+ </target>
+
+ <target name="run">
+ <java classname="${test.class}"
+ fork="true">
+ <classpath>
+ <pathelement path="target/${test.jar}"/>
+ <pathelement location="../../lib/tuscany-sca-manifest.jar"/>
+ <fileset refid="tuscany.jars"/>
+ <fileset refid="3rdparty.jars"/>
+ </classpath>
+ </java>
+ </target>
+
+ <target name="clean">
+ <delete quiet="true" includeemptydirs="true">
+ <fileset dir="target"/>
+ </delete>
+ </target>
+
+ <fileset id="tuscany.jars" dir="../../modules">
+ <include name="tuscany-web-javascript-dojo-1.5.1-SNAPSHOT.jar"/>
+ </fileset>
+
+ <fileset id="3rdparty.jars" dir="../../lib">
+ <include name="saxon-8.7.jar"/>
+ </fileset>
+</project>