Hi Guillaume,

Just saw your change and I'm wondering what version of PXE you're using because AsyncProcess2 need a few more changes to get working with the pxe-iapi branch.

I'm actually in the process of updating all JBI examples so I want to make sure I'm not stepping on your toes ;)

I've updated the instructions at http://pxe.intalio.org/confluence/display/PXE/JBI+Deployment and the PingPong example is known to work with the latest ServiceMix snapshot.

Now I need to review HelloWorld2 and AsyncProcess2.

alex


[EMAIL PROTECTED] wrote:
Author: gnodet
Date: Tue Jul 25 15:38:23 2006
New Revision: 425543

URL: http://svn.apache.org/viewvc?rev=425543&view=rev
Log:
Use latest servicemix version.
Try to fix the jbi samples ...

Added:
    
incubator/ode/scratch/pxe-iapi/jbi-examples/src/examples/AsyncProcess2/jbi.xml
Modified:
    
incubator/ode/scratch/pxe-iapi/jbi-examples/src/examples/AsyncProcess2/build.xml
    incubator/ode/scratch/pxe-iapi/jbi-examples/src/examples/example-build.xml
    incubator/ode/scratch/pxe-iapi/jbi-install/src/etc/META-INF/jbi.xml
    incubator/ode/scratch/pxe-iapi/jbi/pom.xml
    incubator/ode/scratch/pxe-iapi/pom.xml

Modified: 
incubator/ode/scratch/pxe-iapi/jbi-examples/src/examples/AsyncProcess2/build.xml
URL: 
http://svn.apache.org/viewvc/incubator/ode/scratch/pxe-iapi/jbi-examples/src/examples/AsyncProcess2/build.xml?rev=425543&r1=425542&r2=425543&view=diff
==============================================================================
--- 
incubator/ode/scratch/pxe-iapi/jbi-examples/src/examples/AsyncProcess2/build.xml
 (original)
+++ 
incubator/ode/scratch/pxe-iapi/jbi-examples/src/examples/AsyncProcess2/build.xml
 Tue Jul 25 15:38:23 2006
@@ -1,4 +1,4 @@
-<project name="AsyncProcess2" default="sar"  >
+<project name="AsyncProcess2" default="jbi-sa"  >
<import file="../example-build.xml" />
Added: 
incubator/ode/scratch/pxe-iapi/jbi-examples/src/examples/AsyncProcess2/jbi.xml
URL: 
http://svn.apache.org/viewvc/incubator/ode/scratch/pxe-iapi/jbi-examples/src/examples/AsyncProcess2/jbi.xml?rev=425543&view=auto
==============================================================================
--- 
incubator/ode/scratch/pxe-iapi/jbi-examples/src/examples/AsyncProcess2/jbi.xml 
(added)
+++ 
incubator/ode/scratch/pxe-iapi/jbi-examples/src/examples/AsyncProcess2/jbi.xml 
Tue Jul 25 15:38:23 2006
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<jbi xmlns="http://java.sun.com/xml/ns/jbi"; version="1.0">
+ + <service-assembly>
+     <identification>
+       <name>AsyncProcess2</name>
+       <description>AsyncProcess2 example</description>
+     </identification>
+     <service-unit>
+       <identification>
+         <name>AsyncProcess2</name>
+         <description>AsyncProcess2 Service Unit</description>
+       </identification>
+       <target>
+         <artifacts-zip>AsyncProcess2-Process.zip</artifacts-zip>
+         <component-name>PxeBpelEngine</component-name>
+       </target>
+     </service-unit>
+    </service-assembly>
+ +</jbi>

Modified: 
incubator/ode/scratch/pxe-iapi/jbi-examples/src/examples/example-build.xml
URL: 
http://svn.apache.org/viewvc/incubator/ode/scratch/pxe-iapi/jbi-examples/src/examples/example-build.xml?rev=425543&r1=425542&r2=425543&view=diff
==============================================================================
--- incubator/ode/scratch/pxe-iapi/jbi-examples/src/examples/example-build.xml 
(original)
+++ incubator/ode/scratch/pxe-iapi/jbi-examples/src/examples/example-build.xml 
Tue Jul 25 15:38:23 2006
@@ -20,6 +20,7 @@
     <property name="rrfilename" value="${ant.project.name}.rr" />
     <property name="wsdlfilename" value="${ant.project.name}.wsdl" />
     <property name="sufilename" value="${ant.project.name}-Process.zip" />
+    <property name="safilename" value="${ant.project.name}-sa.zip" />
<property name="uri.wsdl" value="urn:/${ant.project.name}.wsdl" />
     <property name="url.bpel" value="file:${basedir}/${ant.project.name}.bpel" 
/>
@@ -32,16 +33,18 @@
     <property name="cbpfile" location="${build.dir}/${cbpfilename}" />
     <property name="rrfile" location="${build.dir}/${rrfilename}" />
     <property name="sufile" location="${build.dir}/${sufilename}" />
+    <property name="safile" location="${build.dir}/${safilename}" />
<target name="clean" description="Clean intermediate artifacts.">
         <delete dir="${build.dir}"/>
     </target>
- <target name="jbi-sa" description="Generate JBI system assembly." depends="bpelc">
-        <!-- TODO
-        <antcall target="_sar" />
-        -->
+    <target name="jbi-sa" description="Generate JBI system assembly." 
depends="service-unit">
+        <zip destfile="${safile}">
+            <zipfileset file="${sufile}"/>
+            <zipfileset file="jbi.xml" prefix="META-INF"/>
+        </zip>
     </target>
<target name="bpelc" description="Compile BPEL process." depends="rr">

Modified: incubator/ode/scratch/pxe-iapi/jbi-install/src/etc/META-INF/jbi.xml
URL: 
http://svn.apache.org/viewvc/incubator/ode/scratch/pxe-iapi/jbi-install/src/etc/META-INF/jbi.xml?rev=425543&r1=425542&r2=425543&view=diff
==============================================================================
--- incubator/ode/scratch/pxe-iapi/jbi-install/src/etc/META-INF/jbi.xml 
(original)
+++ incubator/ode/scratch/pxe-iapi/jbi-install/src/etc/META-INF/jbi.xml Tue Jul 
25 15:38:23 2006
@@ -54,6 +54,7 @@
         <path-element>lib/cglib.jar</path-element>
         <path-element>lib/asm.jar</path-element>
         <path-element>lib/antlr.jar</path-element>
+        <path-element>lib/quartz.jar</path-element>
</component-class-path>
     <bootstrap-class-name>com.fs.pxe.jbi.PxeBootstrap</bootstrap-class-name>

Modified: incubator/ode/scratch/pxe-iapi/jbi/pom.xml
URL: 
http://svn.apache.org/viewvc/incubator/ode/scratch/pxe-iapi/jbi/pom.xml?rev=425543&r1=425542&r2=425543&view=diff
==============================================================================
--- incubator/ode/scratch/pxe-iapi/jbi/pom.xml (original)
+++ incubator/ode/scratch/pxe-iapi/jbi/pom.xml Tue Jul 25 15:38:23 2006
@@ -29,7 +29,7 @@
             <artifactId>pxe-minerva</artifactId>
         </dependency>
         <dependency>
-            <groupId>incubator-servicemix</groupId>
+            <groupId>org.apache.servicemix</groupId>
             <artifactId>servicemix-jbi</artifactId>
         </dependency>
         <dependency>

Modified: incubator/ode/scratch/pxe-iapi/pom.xml
URL: 
http://svn.apache.org/viewvc/incubator/ode/scratch/pxe-iapi/pom.xml?rev=425543&r1=425542&r2=425543&view=diff
==============================================================================
--- incubator/ode/scratch/pxe-iapi/pom.xml (original)
+++ incubator/ode/scratch/pxe-iapi/pom.xml Tue Jul 25 15:38:23 2006
@@ -75,7 +75,7 @@
         <junitVersion>3.8.1</junitVersion>
         <log4jVersion>1.2.12</log4jVersion>
         <saxonVersion>8.4</saxonVersion>
-        <servicemixVersion>3.0-SNAPSHOT</servicemixVersion>
+        <servicemixVersion>3.0-incubating-SNAPSHOT</servicemixVersion>
         <staxApiVersion>1.0</staxApiVersion>
         <staxVersion>1.1.2-dev</staxVersion>
         <wsdl4jVersion>1.5.1</wsdl4jVersion>
@@ -681,7 +681,7 @@
                 <version>${geronimoSpecsVersion}</version>
             </dependency>
             <dependency>
-                <groupId>incubator-servicemix</groupId>
+                <groupId>org.apache.servicemix</groupId>
                 <artifactId>servicemix-jbi</artifactId>
                 <version>${servicemixVersion}</version>
             </dependency>




Reply via email to