You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuscany.apache.org by lr...@apache.org on 2009/09/16 08:17:27 UTC

svn commit: r815624 - in /tuscany/branches/sca-java-1.5.1: distribution/bundle/pom.xml distribution/manifest/pom.xml samples/store-dojo/build.xml

Author: lresende
Date: Wed Sep 16 06:17:27 2009
New Revision: 815624

URL: http://svn.apache.org/viewvc?rev=815624&view=rev
Log:
TUSCANY-3274 - Adding build.xml to store-dojo and fixing missing dependencies on the distribution

Added:
    tuscany/branches/sca-java-1.5.1/samples/store-dojo/build.xml   (with props)
Modified:
    tuscany/branches/sca-java-1.5.1/distribution/bundle/pom.xml
    tuscany/branches/sca-java-1.5.1/distribution/manifest/pom.xml

Modified: tuscany/branches/sca-java-1.5.1/distribution/bundle/pom.xml
URL: http://svn.apache.org/viewvc/tuscany/branches/sca-java-1.5.1/distribution/bundle/pom.xml?rev=815624&r1=815623&r2=815624&view=diff
==============================================================================
--- tuscany/branches/sca-java-1.5.1/distribution/bundle/pom.xml (original)
+++ tuscany/branches/sca-java-1.5.1/distribution/bundle/pom.xml Wed Sep 16 06:17:27 2009
@@ -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>

Modified: tuscany/branches/sca-java-1.5.1/distribution/manifest/pom.xml
URL: http://svn.apache.org/viewvc/tuscany/branches/sca-java-1.5.1/distribution/manifest/pom.xml?rev=815624&r1=815623&r2=815624&view=diff
==============================================================================
--- tuscany/branches/sca-java-1.5.1/distribution/manifest/pom.xml (original)
+++ tuscany/branches/sca-java-1.5.1/distribution/manifest/pom.xml Wed Sep 16 06:17:27 2009
@@ -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>        

Added: tuscany/branches/sca-java-1.5.1/samples/store-dojo/build.xml
URL: http://svn.apache.org/viewvc/tuscany/branches/sca-java-1.5.1/samples/store-dojo/build.xml?rev=815624&view=auto
==============================================================================
--- tuscany/branches/sca-java-1.5.1/samples/store-dojo/build.xml (added)
+++ tuscany/branches/sca-java-1.5.1/samples/store-dojo/build.xml Wed Sep 16 06:17:27 2009
@@ -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>

Propchange: tuscany/branches/sca-java-1.5.1/samples/store-dojo/build.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: tuscany/branches/sca-java-1.5.1/samples/store-dojo/build.xml
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: tuscany/branches/sca-java-1.5.1/samples/store-dojo/build.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml