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 2007/09/18 06:21:50 UTC

svn commit: r576685 - in /incubator/tuscany/java/sca/samples/helloworld-bpel: build.xml pom.xml

Author: lresende
Date: Mon Sep 17 21:21:48 2007
New Revision: 576685

URL: http://svn.apache.org/viewvc?rev=576685&view=rev
Log:
Updating helloworld-bpel ant script

Modified:
    incubator/tuscany/java/sca/samples/helloworld-bpel/build.xml
    incubator/tuscany/java/sca/samples/helloworld-bpel/pom.xml

Modified: incubator/tuscany/java/sca/samples/helloworld-bpel/build.xml
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/samples/helloworld-bpel/build.xml?rev=576685&r1=576684&r2=576685&view=diff
==============================================================================
--- incubator/tuscany/java/sca/samples/helloworld-bpel/build.xml (original)
+++ incubator/tuscany/java/sca/samples/helloworld-bpel/build.xml Mon Sep 17 21:21:48 2007
@@ -23,7 +23,6 @@
     <property name="client.class" value="helloworld.BPELClient" />
     <property name="test.jar"   value="sample-helloworld-bpel.jar" />
     
-
     <property name="tuscany.sca.manifest.location" value="../../lib/tuscany-sca-manifest.jar"/>
     <property name="tuscany.sca.lib.location" value="../../lib"/>
     <property name="tuscany.sca.modules.location" value="../../modules"/>
@@ -32,6 +31,109 @@
         <pathelement path="target/classes"/>
         <pathelement path="target/wsdl2java-source"/>
         <pathelement location="${tuscany.sca.manifest.location}"/>
+        
+        <!--
+        <pathelement location="${tuscany.sca.lib.location}/tuscany-sdo-impl-1.0-incubating-SNAPSHOT.jar"/>        
+        <pathelement location="${tuscany.sca.lib.location}/tuscany-sdo-lib-1.0-incubating-SNAPSHOT.jar"/>
+        <pathelement location="${tuscany.sca.lib.location}/tuscany-sdo-api-r2.1-1.0-incubating-SNAPSHOT.jar"/>
+        -->
+        <pathelement location="${tuscany.sca.lib.location}/tuscany-sdo-api-r2.1-1.0-incubating.jar"/>
+        <pathelement location="${tuscany.sca.lib.location}/tuscany-sdo-impl-1.0-incubating.jar"/>        
+        <pathelement location="${tuscany.sca.lib.location}/tuscany-sdo-lib-1.0-incubating.jar"/>
+                    
+        <pathelement location="${tuscany.sca.lib.location}/ecore-xmi-2.2.3.jar"/>
+        <pathelement location="${tuscany.sca.lib.location}/ecore-2.2.3.jar"/>
+        <pathelement location="${tuscany.sca.lib.location}/ecore-change-2.2.3.jar"/>
+        <pathelement location="${tuscany.sca.lib.location}/common-2.2.3.jar"/>
+        <pathelement location="${tuscany.sca.lib.location}/xsd-2.2.3.jar"/>        
+
+        <pathelement location="${tuscany.sca.lib.location}/ode-bpel-epr-1.1.jar"/>               
+        <pathelement location="${tuscany.sca.lib.location}/ode-bpel-store-1.1.jar"/>        
+        <pathelement location="${tuscany.sca.lib.location}/ode-bpel-dao-1.1.jar"/>
+        <pathelement location="${tuscany.sca.lib.location}/ode-dao-jpa-1.1.jar"/>
+        <pathelement location="${tuscany.sca.lib.location}/ode-bpel-runtime-1.1.jar"/>        
+        <pathelement location="${tuscany.sca.lib.location}/ode-bpel-api-1.1.jar"/>
+        <pathelement location="${tuscany.sca.lib.location}/ode-scheduler-simple-1.1.jar"/>    
+        <pathelement location="${tuscany.sca.lib.location}/ode-utils-1.1.jar"/>
+        <pathelement location="${tuscany.sca.lib.location}/ode-bpel-compiler-1.1.jar"/>
+        <pathelement location="${tuscany.sca.lib.location}/ode-bpel-schemas-1.1.jar"/>        
+        <pathelement location="${tuscany.sca.lib.location}/ode-bpel-obj-1.1.jar"/>
+        <pathelement location="${tuscany.sca.lib.location}/ode-jacob-1.1.jar"/>         
+        <pathelement location="${tuscany.sca.lib.location}/ode-jacob-ap-1.1.jar"/>
+
+        <pathelement location="${tuscany.sca.lib.location}/commons-lang-2.1.jar"/>
+        <pathelement location="${tuscany.sca.lib.location}/commons-collections-3.1.jar"/>
+        <pathelement location="${tuscany.sca.lib.location}/commons-codec-1.3.jar"/>
+        <pathelement location="${tuscany.sca.lib.location}/commons-jexl-1.1.jar"/>
+        <pathelement location="${tuscany.sca.lib.location}/commons-primitives-1.0.jar"/>
+        <pathelement location="${tuscany.sca.lib.location}/commons-logging-1.1.jar"/>
+
+        <pathelement location="${tuscany.sca.lib.location}/geronimo-jpa_3.0_spec-1.0.jar"/>
+        <pathelement location="${tuscany.sca.lib.location}/geronimo-ejb_3.0_spec-1.0.jar"/>                
+        <pathelement location="${tuscany.sca.lib.location}/geronimo-jta_1.0.1B_spec-1.0.jar"/>
+        <pathelement location="${tuscany.sca.lib.location}/geronimo-j2ee-jacc_1.0_spec-1.1.jar"/>
+        <pathelement location="${tuscany.sca.lib.location}/geronimo-jta_1.0.1B_spec-1.0.jar"/>
+        <pathelement location="${tuscany.sca.lib.location}/geronimo-j2ee-connector_1.5_spec-1.1.jar"/>
+       	<pathelement location="${tuscany.sca.lib.location}/geronimo-j2ee-management_1.0_spec-1.1.jar"/>
+        <pathelement location="${tuscany.sca.lib.location}/geronimo-spec-j2ee-connector-1.5-rc4.jar"/>
+
+        <pathelement location="${tuscany.sca.lib.location}/geronimo-j2ee-1.2-beta.jar"/>
+        <pathelement location="${tuscany.sca.lib.location}/geronimo-kernel-1.2-beta.jar"/>
+        <pathelement location="${tuscany.sca.lib.location}/geronimo-transaction-1.2-beta.jar"/>
+        <pathelement location="${tuscany.sca.lib.location}/geronimo-connector-1.2-beta.jar"/>
+        <pathelement location="${tuscany.sca.lib.location}/geronimo-management-1.2-beta.jar"/>
+        <pathelement location="${tuscany.sca.lib.location}/geronimo-util-1.2-beta.jar"/>
+        <pathelement location="${tuscany.sca.lib.location}/geronimo-security-1.2-beta.jar"/>
+        <pathelement location="${tuscany.sca.lib.location}/geronimo-common-1.2-beta.jar"/>
+        <pathelement location="${tuscany.sca.lib.location}/geronimo-interceptor-1.2-beta.jar"/>
+        <pathelement location="${tuscany.sca.lib.location}/geronimo-system-1.2-beta.jar"/>
+        <pathelement location="${tuscany.sca.lib.location}/geronimo-deployment-1.2-beta.jar"/>
+        <pathelement location="${tuscany.sca.lib.location}/geronimo-naming-1.2-beta.jar"/>
+        <pathelement location="${tuscany.sca.lib.location}/geronimo-core-1.2-beta.jar"/>
+        <pathelement location="${tuscany.sca.lib.location}/geronimo-commonj_1.1_spec-1.0.jar"/>
+
+        <pathelement location="${tuscany.sca.lib.location}/saxon-8.7.jar"/>
+        <pathelement location="${tuscany.sca.lib.location}/saxon-dom-8.7.jar"/>
+        <pathelement location="${tuscany.sca.lib.location}/saxon-xpath-8.7.jar"/>
+        <pathelement location="${tuscany.sca.lib.location}/serp-1.12.0.jar"/>                                                                                                                     
+        <pathelement location="${tuscany.sca.lib.location}/derby-10.1.3.1.jar"/>
+
+        <pathelement location="${tuscany.sca.lib.location}/openjpa-all-0.9.7-incubating.jar"/>
+        <pathelement location="${tuscany.sca.lib.location}/openjpa-persistence-0.9.7-incubating.jar"/>
+
+        <pathelement location="${tuscany.sca.lib.location}/xmlbeans-2.3.0.jar"/>
+        <pathelement location="${tuscany.sca.lib.location}/tranql-connector-1.1.jar"/>
+        <pathelement location="${tuscany.sca.lib.location}/xercesImpl-2.8.0.jar"/>        
+
+        <!-- other transient dependencies -->
+        <pathelement location="${tuscany.sca.lib.location}/activeio-2.0-r118.jar"/>
+        <pathelement location="${tuscany.sca.lib.location}/axiom-impl-1.2.5.jar"/>        
+        <pathelement location="${tuscany.sca.lib.location}/backport-util-concurrent-2.2.jar"/>
+        <pathelement location="${tuscany.sca.lib.location}/cglib-nodep-2.1_3.jar"/>
+        <pathelement location="${tuscany.sca.lib.location}/jaxen-1.1-beta-9.jar"/>                
+        <pathelement location="${tuscany.sca.lib.location}/log4j-1.2.12.jar"/>
+        <pathelement location="${tuscany.sca.lib.location}/javacc-3.2.jar"/>
+        <pathelement location="${tuscany.sca.lib.location}/neethi-2.0.2.jar"/>
+
+        <pathelement location="${tuscany.sca.lib.location}/axiom-api-1.2.5.jar"/>
+        <pathelement location="${tuscany.sca.lib.location}/XmlSchema-1.3.2.jar"/>
+        <pathelement location="${tuscany.sca.lib.location}/xbean-naming-2.7.jar"/>
+        <pathelement location="${tuscany.sca.lib.location}/wstx-asl-3.2.1.jar"/>
+        <pathelement location="${tuscany.sca.lib.location}/howl-1.0.1-1.jar"/>
+        <pathelement location="${tuscany.sca.lib.location}/regexp-1.3.jar"/>        
+        <pathelement location="${tuscany.sca.lib.location}/stax-api-1.0-2.jar"/>
+        <pathelement location="${tuscany.sca.lib.location}/wsdl4j-1.6.2.jar"/>        
+        <pathelement location="${tuscany.sca.lib.location}/xalan-2.7.0.jar"/>        
+        <pathelement location="${tuscany.sca.lib.location}/xml-apis-1.3.03.jar"/>        
+        <pathelement location="${tuscany.sca.lib.location}/xml-resolver-1.1.jar"/>
+                        
+
+        <pathelement location="${tuscany.sca.lib.location}/axion-1.0-M3-dev.jar"/>
+        <pathelement location="${tuscany.sca.lib.location}/xstream-1.1.3.jar"/>
+        <pathelement location="${tuscany.sca.lib.location}/xpp3-1.1.3.3.jar"/>
+        <pathelement location="${tuscany.sca.lib.location}/ognl-2.6.9.jar"/>
+        <pathelement location="${tuscany.sca.lib.location}/mx4j-3.0.1.jar"/>
+        <pathelement location="${tuscany.sca.lib.location}/derbytools-10.1.2.1.jar"/>        
     </path>
     	
     <target name="init">
@@ -53,13 +155,19 @@
             <classpath refid="project.classpath"/>
         </java>
         <java classname="org.apache.tuscany.tools.wsdl2java.generate.WSDL2JavaGenerator" fork="true">
+            <arg value="-targetDirectory"/>
+            <arg value="target/wsdl2java-source"/>
             <arg value="src/main/resources/helloworld.wsdl"/>
 
             <classpath refid="project.classpath"/>
         </java>
     </target>
-    	
-    <target name="compile" depends="init,generate-wsdl">
+
+    <target name="unzip-ode-db" depends="init">
+    	<unzip src="${tuscany.sca.lib.location}/ode-dao-jpa-ojpa-derby-1.1.zip" dest="target/classes"/>
+    </target>    	
+    
+    <target name="compile" depends="init,generate-wsdl,unzip-ode-db">
         <javac destdir="target/classes"
                debug="on"
                source="1.5"

Modified: incubator/tuscany/java/sca/samples/helloworld-bpel/pom.xml
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/samples/helloworld-bpel/pom.xml?rev=576685&r1=576684&r2=576685&view=diff
==============================================================================
--- incubator/tuscany/java/sca/samples/helloworld-bpel/pom.xml (original)
+++ incubator/tuscany/java/sca/samples/helloworld-bpel/pom.xml Mon Sep 17 21:21:48 2007
@@ -82,6 +82,16 @@
 		<plugins>
 			<plugin>
 				<groupId>org.apache.maven.plugins</groupId>
+				<artifactId>maven-surefire-plugin</artifactId>
+				<version>2.3.1-SNAPSHOT</version>
+				<configuration>
+					<useFile>false</useFile>
+					<trimStackTrace>false</trimStackTrace>
+					<useSystemClassLoader>true</useSystemClassLoader>
+				</configuration>
+			</plugin>
+			<plugin>
+				<groupId>org.apache.maven.plugins</groupId>
 				<artifactId>maven-dependency-plugin</artifactId>
 				<executions>
 					<execution>



---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-commits-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-commits-help@ws.apache.org