[jbpm-commits] JBoss JBPM SVN: r5287 - in jbpm4/trunk/modules: distro/src/main/files/gpd and 12 other directories.

do-not-reply at jboss.org do-not-reply at jboss.org
Sun Jul 12 15:44:46 EDT 2009


Author: tom.baeyens at jboss.com
Date: 2009-07-12 15:44:46 -0400 (Sun, 12 Jul 2009)
New Revision: 5287

Added:
   jbpm4/trunk/modules/userguide/src/main/docbook/en/images/gpd.runtime.location.png
Removed:
   jbpm4/trunk/modules/examples/src/test/resources/org/jbpm/examples/async/activity/process.png
   jbpm4/trunk/modules/examples/src/test/resources/org/jbpm/examples/async/fork/process.png
   jbpm4/trunk/modules/examples/src/test/resources/org/jbpm/examples/taskform/vacation2.png
Modified:
   jbpm4/trunk/modules/devguide/src/main/docbook/en/modules/ch01-Introduction.xml
   jbpm4/trunk/modules/distro/src/main/files/gpd/build.xml
   jbpm4/trunk/modules/examples/src/test/resources/org/jbpm/examples/custom/process.jpdl.xml
   jbpm4/trunk/modules/examples/src/test/resources/org/jbpm/examples/java/process.jpdl.xml
   jbpm4/trunk/modules/examples/src/test/resources/org/jbpm/examples/services/Order.jpdl.xml
   jbpm4/trunk/modules/examples/src/test/resources/org/jbpm/examples/subprocess/outcomeactivity/SubProcessDocument.jpdl.xml
   jbpm4/trunk/modules/examples/src/test/resources/org/jbpm/examples/subprocess/outcomevalue/SubProcessDocument.jpdl.xml
   jbpm4/trunk/modules/examples/src/test/resources/org/jbpm/examples/task/swimlane/process.jpdl.xml
   jbpm4/trunk/modules/pvm/src/main/java/org/jbpm/pvm/internal/ant/StartJBossTask.java
   jbpm4/trunk/modules/userguide/src/main/docbook/en/images/gpd.install.gpd.site.png
   jbpm4/trunk/modules/userguide/src/main/docbook/en/modules/ch02-Installation.xml
Log:
merged revisions 5267,5274,5275,5276,5277,5280,5282,5285 from the 4.0 release branch

Modified: jbpm4/trunk/modules/devguide/src/main/docbook/en/modules/ch01-Introduction.xml
===================================================================
--- jbpm4/trunk/modules/devguide/src/main/docbook/en/modules/ch01-Introduction.xml	2009-07-10 12:28:43 UTC (rev 5286)
+++ jbpm4/trunk/modules/devguide/src/main/docbook/en/modules/ch01-Introduction.xml	2009-07-12 19:44:46 UTC (rev 5287)
@@ -45,5 +45,73 @@
     <ulink url="http://repository.jboss.com/maven2/org/jbpm/jbpm4/">http://repository.jboss.com/maven2/org/jbpm/jbpm4/</ulink>
     </para>
   </section>
+  
+  <section>
+    <title>Library dependencies</title>
+    <para>If you want to install/deploy jBPM into your own application, this is still as easy
+    as it was before: Just put the right libs in your application classpath.  We didn't yet clean 
+    up the dependency description in the maven pom files.  So we can't yet give the exact 
+    minimal set of libraries from the <literal>lib</literal> directory that you need to include
+    in your application.   The versions of the libraties that are in the <literal>lib</literal>
+    directory are the ones that we tested with.  So we recommend you to use those very versions
+    of the libs.  To help you on your way, here's the current maven dependency list for jPDL:
+    </para>
+    <programlisting>[INFO] ------------------------------------------------------------------------
+[INFO] Building jBPM 4 - jPDL
+[INFO]    task-segment: [dependency:tree]
+[INFO] ------------------------------------------------------------------------
+[INFO] [dependency:tree]
+[INFO] org.jbpm.jbpm4:jbpm-jpdl:jar:4.0
+[INFO] +- org.jbpm.jbpm4:jbpm-pvm:jar:4.0:compile
+[INFO] |  +- org.jbpm.jbpm4:jbpm-api:jar:4.0:compile
+[INFO] |  |  \- jboss:jboss-j2ee:jar:4.2.2.GA:compile
+[INFO] |  +- org.jbpm.jbpm4:jbpm-log:jar:4.0:compile
+[INFO] |  +- org.jbpm.jbpm4:jbpm-test-base:jar:4.0:compile
+[INFO] |  |  \- org.hibernate:hibernate-core:jar:3.3.1.GA:compile
+[INFO] |  |     +- antlr:antlr:jar:2.7.6:compile
+[INFO] |  |     \- commons-collections:commons-collections:jar:3.1:compile
+[INFO] |  +- org.apache.ant:ant:jar:1.7.0:compile
+[INFO] |  |  \- org.apache.ant:ant-launcher:jar:1.7.0:compile
+[INFO] |  +- log4j:log4j:jar:1.2.14:compile
+[INFO] |  +- juel:juel:jar:2.1.0:compile
+[INFO] |  +- juel:juel-impl:jar:2.1.0:compile
+[INFO] |  +- juel:juel-engine:jar:2.1.0:compile
+[INFO] |  +- org.slf4j:slf4j-api:jar:1.5.2:compile
+[INFO] |  +- org.slf4j:slf4j-jdk14:jar:1.5.2:compile
+[INFO] |  +- org.jboss.identity.idm:idm-core:jar:1.0.0.Beta1:compile
+[INFO] |  |  +- org.jboss.identity.idm:idm-common:jar:1.0.0.Beta1:compile
+[INFO] |  |  +- org.jboss.identity.idm:idm-api:jar:1.0.0.Beta1:compile
+[INFO] |  |  +- org.jboss.identity.idm:idm-spi:jar:1.0.0.Beta1:compile
+[INFO] |  |  \- com.sun.xml.bind:jaxb-impl:jar:2.1.8:compile
+[INFO] |  |     \- javax.xml.bind:jaxb-api:jar:2.1:compile
+[INFO] |  |        \- javax.xml.stream:stax-api:jar:1.0-2:compile
+[INFO] |  +- org.jboss.identity.idm:idm-hibernate:jar:1.0.0.Beta1:compile
+[INFO] |  |  +- javassist:javassist:jar:3.4.GA:compile
+[INFO] |  |  +- org.hibernate:hibernate-cglib-repack:jar:2.1_3:compile
+[INFO] |  |  \- org.slf4j:slf4j-log4j12:jar:1.5.2:compile
+[INFO] |  +- org.hibernate:hibernate-entitymanager:jar:3.4.0.GA:compile
+[INFO] |  |  +- org.hibernate:ejb3-persistence:jar:1.0.2.GA:compile
+[INFO] |  |  +- org.hibernate:hibernate-commons-annotations:jar:3.1.0.GA:compile
+[INFO] |  |  +- org.hibernate:hibernate-annotations:jar:3.4.0.GA:compile
+[INFO] |  |  +- dom4j:dom4j:jar:1.6.1:compile
+[INFO] |  |  |  \- xml-apis:xml-apis:jar:1.0.b2:compile
+[INFO] |  |  \- javax.transaction:jta:jar:1.1:compile
+[INFO] |  +- org.livetribe:livetribe-jsr223:jar:2.0.5:compile
+[INFO] |  \- javax.mail:mail:jar:1.4.1:compile
+[INFO] |     \- javax.activation:activation:jar:1.1:compile
+[INFO] +- junit:junit:jar:3.8.1:compile
+[INFO] \- hsqldb:hsqldb:jar:1.8.0.7:test
+[INFO] ------------------------------------------------------------------------</programlisting>
+    <para>The jboss idm dependencies in sections 
+    <literal>org.jboss.identity.idm:*</literal> can be ignored, including the 
+    <literal>org.hibernate:hibernate-entitymanager</literal> </para>
+    <para>This list should already get you started to select a small subset of libs instead of 
+    including all the libs from the <literal>${jbpm.home}/lib</literal> directory.  
+    In one of the next releases, we'll clean up those dependency descriptions in the pom and include 
+    a good description of which are the minimal libs to get jBPM up and running inside 
+    your own application. 
+    </para>
+  </section>
+  
     
 </chapter>

Modified: jbpm4/trunk/modules/distro/src/main/files/gpd/build.xml
===================================================================
--- jbpm4/trunk/modules/distro/src/main/files/gpd/build.xml	2009-07-10 12:28:43 UTC (rev 5286)
+++ jbpm4/trunk/modules/distro/src/main/files/gpd/build.xml	2009-07-12 19:44:46 UTC (rev 5287)
@@ -22,13 +22,16 @@
   <property name="jbpm.home" value="${jbpm.parent.dir}/jbpm-${jbpm.version}" />
 
   <!-- eclipse.filename -->
-  <condition property="eclipse.filename" value="eclipse-jee-ganymede-SR2-win32.zip">
+  <condition property="eclipse.filename" value="eclipse-jee-galileo-win32.zip">
     <contains string="${os.name}" casesensitive="false" substring="win" />
   </condition>
-  <condition property="eclipse.filename" value="eclipse-jee-ganymede-SR2-macosx-carbon.tar.gz">
+  <condition property="eclipse.tarfilename" value="eclipse-jee-galileo-macosx-carbon.tar">
     <contains string="${os.name}" casesensitive="false" substring="mac" />
   </condition>
-  <condition property="eclipse.filename" value="eclipse-jee-ganymede-SR2-linux-gtk.tar.gz">
+  <condition property="eclipse.filename" value="${eclipse.tarfilename}.gz">
+    <contains string="${os.name}" casesensitive="false" substring="mac" />
+  </condition>
+  <condition property="eclipse.tarfilename" value="eclipse-jee-galileo-linux-gtk.tar">
     <and>
       <contains string="${os.name}" casesensitive="false" substring="linux" />
       <not>
@@ -36,14 +39,28 @@
       </not>
     </and>
   </condition>
-  <condition property="eclipse.filename" value="eclipse-jee-ganymede-SR2-linux-gtk-x86_64.tar.gz">
+  <condition property="eclipse.filename" value="${eclipse.tarfilename}.gz">
     <and>
       <contains string="${os.name}" casesensitive="false" substring="linux" />
+      <not>
+        <contains string="${os.arch}" casesensitive="false" substring="64" />
+      </not>
+    </and>
+  </condition>
+  <condition property="eclipse.tarfilename" value="eclipse-jee-galileo-linux-gtk-x86_64.tar">
+    <and>
+	  <contains string="${os.name}" casesensitive="false" substring="linux" />
       <contains string="${os.arch}" casesensitive="false" substring="64" />
     </and>
   </condition>
+  <condition property="eclipse.filename" value="${eclipse.tarfilename}.gz">
+    <and>
+      <contains string="${os.name}" casesensitive="false" substring="linux" />
+      <contains string="${os.arch}" casesensitive="false" substring="64" />
+    </and>
+  </condition>
   <!-- general eclipse properties -->
-  <property name="eclipse.distro.url" value="http://mirror.cc.vt.edu/pub/eclipse/technology/epp/downloads/release/ganymede/SR2/${eclipse.filename}" />
+  <property name="eclipse.distro.url" value="http://mirror.cc.vt.edu/pub/eclipse/technology/epp/downloads/release/galileo/R/${eclipse.filename}" />
   <property name="eclipse.distro.dir"  value="${jbpm.home}/downloads" />
   <property name="eclipse.parent.dir" value="${jbpm.home}" />
   <property name="eclipse.distro.path" value="${eclipse.distro.dir}/${eclipse.filename}" />
@@ -69,7 +86,9 @@
   </target>
 
   <target name="internal.install.eclipse.non.windows" if="isNotWindows">
-    <gunzip src="${eclipse.distro.dir}/${eclipse.filename}" dest="${jbpm.home}" />
+    <gunzip src="${eclipse.distro.dir}/${eclipse.filename}" dest="${eclipse.distro.dir}" />
+    <untar src="${eclipse.distro.dir}/${eclipse.tarfilename}" dest="${jbpm.home}" overwrite="true" />
+  	<delete file="${eclipse.distro.dir}/${eclipse.tarfilename}"/>
   </target>
 
   <!-- ### GET ECLIPSE ##################################################### -->

Deleted: jbpm4/trunk/modules/examples/src/test/resources/org/jbpm/examples/async/activity/process.png
===================================================================
(Binary files differ)

Deleted: jbpm4/trunk/modules/examples/src/test/resources/org/jbpm/examples/async/fork/process.png
===================================================================
(Binary files differ)

Modified: jbpm4/trunk/modules/examples/src/test/resources/org/jbpm/examples/custom/process.jpdl.xml
===================================================================
--- jbpm4/trunk/modules/examples/src/test/resources/org/jbpm/examples/custom/process.jpdl.xml	2009-07-10 12:28:43 UTC (rev 5286)
+++ jbpm4/trunk/modules/examples/src/test/resources/org/jbpm/examples/custom/process.jpdl.xml	2009-07-12 19:44:46 UTC (rev 5287)
@@ -8,11 +8,11 @@
 
   <custom name="print dots" 
         class="org.jbpm.examples.custom.PrintDots"
-        g="96,16,127,52">
+        g="96,16,100,52">
         
     <transition to="end" />
   </custom>
   
-  <end name="end" g="205,22,80,40"/>
+  <end name="end" g="231,19,80,40"/>
 
 </process>

Modified: jbpm4/trunk/modules/examples/src/test/resources/org/jbpm/examples/java/process.jpdl.xml
===================================================================
--- jbpm4/trunk/modules/examples/src/test/resources/org/jbpm/examples/java/process.jpdl.xml	2009-07-10 12:28:43 UTC (rev 5286)
+++ jbpm4/trunk/modules/examples/src/test/resources/org/jbpm/examples/java/process.jpdl.xml	2009-07-12 19:44:46 UTC (rev 5287)
@@ -10,7 +10,7 @@
         class="org.jbpm.examples.java.JohnDoe"
         method="hello"
         var="answer"
-        g="96,16,127,52">
+        g="96,16,83,52">
         
     <field name="state"><string value="fine"/></field>
     <arg><string value="Hi, how are you?"/></arg>
@@ -22,7 +22,7 @@
         expr="#{hand}"
         method="shake"
         var="hand"
-        g="96,16,127,52">
+        g="215,17,99,52">
         
     <arg><object expr="#{joesmoe.handshakes.force}"/></arg>
     <arg><object expr="#{joesmoe.handshakes.duration}"/></arg>
@@ -30,6 +30,6 @@
     <transition to="wait" />
   </java>
 
-  <state name="wait" g="255,16,88,52"/>
+  <state name="wait" g="352,17,88,52"/>
 
 </process>

Modified: jbpm4/trunk/modules/examples/src/test/resources/org/jbpm/examples/services/Order.jpdl.xml
===================================================================
--- jbpm4/trunk/modules/examples/src/test/resources/org/jbpm/examples/services/Order.jpdl.xml	2009-07-10 12:28:43 UTC (rev 5286)
+++ jbpm4/trunk/modules/examples/src/test/resources/org/jbpm/examples/services/Order.jpdl.xml	2009-07-12 19:44:46 UTC (rev 5287)
@@ -6,10 +6,10 @@
     <transition to="receive confirmation" />
   </start>
   
-  <state name="receive confirmation" g="96,16,75,52">
+  <state name="receive confirmation" g="96,16,136,52">
     <transition to="end" />
   </state>
   
-  <end name="end" g="203,19,48,48"/>
+  <end name="end" g="269,20,48,48"/>
 
 </process>
\ No newline at end of file

Modified: jbpm4/trunk/modules/examples/src/test/resources/org/jbpm/examples/subprocess/outcomeactivity/SubProcessDocument.jpdl.xml
===================================================================
--- jbpm4/trunk/modules/examples/src/test/resources/org/jbpm/examples/subprocess/outcomeactivity/SubProcessDocument.jpdl.xml	2009-07-10 12:28:43 UTC (rev 5286)
+++ jbpm4/trunk/modules/examples/src/test/resources/org/jbpm/examples/subprocess/outcomeactivity/SubProcessDocument.jpdl.xml	2009-07-12 19:44:46 UTC (rev 5287)
@@ -2,13 +2,13 @@
 
 <process name="SubProcessDocument" xmlns="http://jbpm.org/4.0/jpdl">
 
-  <start g="32,111,48,48">
+  <start g="43,109,48,48">
     <transition to="review" />
   </start>
 
   <sub-process name="review"
                sub-process-key="SubProcessReview"
-               g="96,16,127,52">
+               g="118,106,99,52">
                
     <transition name="ok" to="next step" g="167,67:6,-19"/>
     <transition name="nok" to="update" g="-22,-18"/>

Modified: jbpm4/trunk/modules/examples/src/test/resources/org/jbpm/examples/subprocess/outcomevalue/SubProcessDocument.jpdl.xml
===================================================================
--- jbpm4/trunk/modules/examples/src/test/resources/org/jbpm/examples/subprocess/outcomevalue/SubProcessDocument.jpdl.xml	2009-07-10 12:28:43 UTC (rev 5286)
+++ jbpm4/trunk/modules/examples/src/test/resources/org/jbpm/examples/subprocess/outcomevalue/SubProcessDocument.jpdl.xml	2009-07-12 19:44:46 UTC (rev 5287)
@@ -2,14 +2,14 @@
 
 <process name="SubProcessDocument" xmlns="http://jbpm.org/4.0/jpdl">
 
-  <start g="32,111,48,48">
+  <start g="36,109,48,48">
     <transition to="review" />
   </start>
 
   <sub-process name="review"
                sub-process-key="SubProcessReview"
                outcome="#{result}" 
-               g="96,16,127,52">
+               g="118,106,99,52">
                
     <transition name="ok" to="next step" g="167,67:6,-19"/>
     <transition name="nok" to="update" g="-22,-18"/>

Modified: jbpm4/trunk/modules/examples/src/test/resources/org/jbpm/examples/task/swimlane/process.jpdl.xml
===================================================================
--- jbpm4/trunk/modules/examples/src/test/resources/org/jbpm/examples/task/swimlane/process.jpdl.xml	2009-07-10 12:28:43 UTC (rev 5286)
+++ jbpm4/trunk/modules/examples/src/test/resources/org/jbpm/examples/task/swimlane/process.jpdl.xml	2009-07-12 19:44:46 UTC (rev 5287)
@@ -19,7 +19,7 @@
   <task 
       name="calculate quote" 
       swimlane="sales representative"
-      g="255,16,88,52">
+      g="255,16,111,52">
   </task>
 
 </process>

Deleted: jbpm4/trunk/modules/examples/src/test/resources/org/jbpm/examples/taskform/vacation2.png
===================================================================
(Binary files differ)

Modified: jbpm4/trunk/modules/pvm/src/main/java/org/jbpm/pvm/internal/ant/StartJBossTask.java
===================================================================
--- jbpm4/trunk/modules/pvm/src/main/java/org/jbpm/pvm/internal/ant/StartJBossTask.java	2009-07-10 12:28:43 UTC (rev 5286)
+++ jbpm4/trunk/modules/pvm/src/main/java/org/jbpm/pvm/internal/ant/StartJBossTask.java	2009-07-12 19:44:46 UTC (rev 5287)
@@ -41,7 +41,7 @@
       String command = null; 
       if ( os.indexOf( "windows" ) != -1 ) {
         command = getJBossHome() + fileSeparator + "bin" + fileSeparator + "run.bat " + getConfigParameter();          
-      } else if ( os.indexOf( "linux" ) != -1 ) {
+      } else if ( os.indexOf( "linux" ) != -1 || os.indexOf( "mac" ) != -1) {
         command = getJBossHome() + fileSeparator + "bin" + fileSeparator + "run.sh " + getConfigParameter();
       } else {
         throw new BuildException( "os '" + os + "' not supported in the startjboss task." );

Modified: jbpm4/trunk/modules/userguide/src/main/docbook/en/images/gpd.install.gpd.site.png
===================================================================
(Binary files differ)

Copied: jbpm4/trunk/modules/userguide/src/main/docbook/en/images/gpd.runtime.location.png (from rev 5285, jbpm4/branches/jbpm-4.0/modules/userguide/src/main/docbook/en/images/gpd.runtime.location.png)
===================================================================
(Binary files differ)

Modified: jbpm4/trunk/modules/userguide/src/main/docbook/en/modules/ch02-Installation.xml
===================================================================
--- jbpm4/trunk/modules/userguide/src/main/docbook/en/modules/ch02-Installation.xml	2009-07-10 12:28:43 UTC (rev 5286)
+++ jbpm4/trunk/modules/userguide/src/main/docbook/en/modules/ch02-Installation.xml	2009-07-12 19:44:46 UTC (rev 5287)
@@ -23,7 +23,7 @@
     <para>jBPM requires a JDK (standard java) version 5 or higher.
     </para>
     <ulink url="http://java.sun.com/javase/downloads/index.jsp">http://java.sun.com/javase/downloads/index.jsp</ulink>
-    <para>To execute the ant scripts, you'll need apache ant version 1.7.0 or higher:
+    <para>To execute the ant scripts, you'll need apache ant version <emphasis role="bold">1.7.0</emphasis> or higher:
     </para>
     <ulink url="http://ant.apache.org/bindownload.cgi">http://ant.apache.org/bindownload.cgi</ulink>
   </section>
@@ -35,8 +35,8 @@
     </para>
     <para>If you have previously downloaded jboss-5.0.0.GA.zip, create a downloads directory 
     in your jBPM home directory and place the zip file in there. Otherwise the script will download 
-    it for you. The same is true for eclipse-jee-ganymede-SR2-win32.zip 
-    (or eclipse-jee-ganymede-SR2-linux-gtk(-x86_64).tar.gz on Linux and eclipse-jee-ganymede-SR2-macosx-carbon.tar.gz on Mac OSX)
+    it for you. The same is true for eclipse-jee-galileo-win32.zip 
+    (or eclipse-jee-galileo-linux-gtk(-x86_64).tar.gz on Linux and eclipse-jee-galileo-macosx-carbon.tar.gz on Mac OSX)
     </para>
     <para>Open a command prompt and go do directory <literal>${jbpm.home}/jboss</literal>.  Then 
     run
@@ -58,7 +58,7 @@
     <para>After this is done JBoss will be running in the background.  Once eclipse has started, you can continue 
     to follow the instructions of <xref linkend="graphicalprocessdesigner" /> 
     </para>
-    <para>And you can surf to <ulink url="http://localhost:8080/gwt-console">the jBPM console</ulink>
+    <para>And you can surf to <ulink url="http://localhost:8080/jbpm-console">the jBPM console</ulink>
     You can login as one of the following users:
     </para>
     <table><title>Example console users:</title>
@@ -101,7 +101,7 @@
 	  <para>As part of the installation, the jBPM configuration 
 	  files will be deployed to the target environment.  Those jBPM configuration 
 	  files themselves should not be changed after installation.  Instead
-	  the installation scripts take a specific configuration parameters 
+	  the installation scripts take specific configuration parameters 
 	  that will build a valid configuration on the target environment.
 	  </para>
 	  
@@ -144,6 +144,15 @@
     </para>
   </section>
 
+  <section id="librarydependenciesandconfigurationfiles">
+    <title>Library dependencies and configuration files</title>
+    <para>We provide support for installations of jBPM through our automatic ant  
+    scripts.  Those scripts will be put the right libs and the right configuration 
+    files in the right location for you. If you want to create your own installation of 
+    jBPM in your application, see the developers guide for more information.      
+    </para>
+  </section>
+
   <section id="jboss">
     <title>JBoss</title>
     <para>The build file <literal>${jbpm.home}/jboss/build.xml</literal> contains scripts for 
@@ -155,26 +164,24 @@
     </para>
   </section>
 
+  <section id="tomcat">
+    <title>Tomcat</title>
+    <para>ETA for Tomcat is 4.1: <ulink url="https://jira.jboss.org/jira/browse/JBPM-2397">See JBPM-2397</ulink></para>
+  </section>
+
   <section id="database">
     <title>Database</title>
     <para>The build file <literal>${jbpm.home}/db/build.xml</literal> contains scripts for 
     DB operations like creating and dropping the schema.  Navigate to that directory and run <literal>ant -p</literal>
     for more details.
     </para>
+    <para>To create the schema in your database:</para>
+    <itemizedlist>
+      <listitem>First, update the properties file of your database in <literal>${jbpm.home}/db/jdbc</literal></listitem>
+      <listitem>Then run target <literal>ant create.jbpm.schema</literal> in the db directory</listitem>
+    </itemizedlist>
   </section>
 
-  <section id="tomcat">
-    <title>Tomcat</title>
-    <para>ETA for Tomcat is 4.1: <ulink url="https://jira.jboss.org/jira/browse/JBPM-2397">See JBPM-2397</ulink></para>
-  </section>
-
-  <section id="configurationfiles">
-    <title>Configuration files</title>
-    <para>If you're not deploying in JBoss, then the example configuration files 
-    in the examples <literal>src</literal> are the best starting point.  
-    </para>
-  </section>
-
   <section id="graphicalprocessdesigner">
     <title>Graphical Process Designer (GPD)</title>
     <para>Eclipse is used as the platform to host the jPDL graphical process
@@ -182,11 +189,11 @@
     how to install the GPD plugin in Eclipse.</para>
     <section>
       <title>Get Eclipse</title>
-      <para>You'll need Eclipse 3.4.2.
+      <para>You'll need Eclipse 3.5.0.
       </para>
       <para>Use the <link linkend="gettingstarted">demo setup</link> or download 
       eclipse manually:      
-      <ulink url="http://www.eclipse.org/downloads/download.php?file=/technology/epp/downloads/release/ganymede/SR2">Eclipse IDE for Java EE Developers (163 MB)</ulink>.
+      <ulink url="http://www.eclipse.org/downloads/download.php?file=/technology/epp/downloads/release/galileo">Eclipse IDE for Java EE Developers (163 MB)</ulink>.
       </para>
       <para>The classic version of eclipse will not be sufficient as it does 
       not have an XML editor.  Eclipse for Java developers should also 
@@ -194,7 +201,7 @@
       </para>
     </section>
     <section>
-      <title>Add the update site <literal>gpd/jbpm-gpd-site.zip</literal></title>
+      <title>Install the GPD plugin into eclipse</title>
       <para>The installation of the GPD uses the Eclipse Software Update 
       mechanism and is pretty straightforward. There is an archived update 
       site included in the runtime installation of jBPM when you unzip it 
@@ -203,25 +210,38 @@
       <para>To add the update site to eclipse:
       </para>
       <itemizedlist>
-        <listitem><literal>Help</literal> --> <literal>Software Updates</literal></listitem> 
-        <listitem>Select tab <literal>Available Software</literal></listitem>
-        <listitem>Click <literal>Add Site...</literal> </listitem>
+        <listitem><literal>Help</literal> --> <literal>Install New Software...</literal></listitem> 
+        <listitem>Click <literal>Add...</literal> </listitem>
         <listitem>In dialog <literal>Add Site</literal> dialog, click <literal>Archive...</literal></listitem>
-        <listitem>Navigate to <literal>gpd/jbpm-gpd-site.zip</literal></listitem>
-        <listitem>Clicking <literal>OK</literal> will bring you back to the dialog 'Software Updates and Add-ons'</listitem>
+        <listitem>Navigate to <literal>gpd/jbpm-gpd-site.zip</literal> and click 'Open'</listitem>
+        <listitem>Clicking <literal>OK</literal> in the <literal>Add Site</literal> dialog will bring you back to the dialog 'Install'</listitem>
         <listitem>Select the <literal>jPDL 4 GPD Update Site</literal> that has appeared</listitem>
-        <listitem>Click <literal>Install...</literal> </listitem>
-        <listitem>In dialog <literal>Install</literal>, select <literal>Flow Common Feature</literal> 
-          and <literal>jPDL 4 Feature</literal></listitem>
-        <listitem>Click <literal>Next</literal></listitem>
-        <listitem>Select <literal>Accept</literal> and click <literal>Finish</literal></listitem>
-        <listitem>Restart eclipse</listitem>
+        <listitem>Click <literal>Next...</literal> and then <literal>Finish</literal></listitem>
+        <listitem>Approve the license</listitem>
+        <listitem>Restart eclipse when that is asked</listitem>
       </itemizedlist>
       <figure id="gpd.install.gpd.site">
         <title>Adding the GPD local archive site</title>
         <mediaobject><imageobject><imagedata align="center" fileref="images/gpd.install.gpd.site.png"/></imageobject></mediaobject>
       </figure>
     </section>
+
+    <section>
+      <title>Configuring the jBPM runtime</title>
+      <itemizedlist>
+        <listitem>Click <literal>Window</literal> --> <literal>Preferences</literal> </listitem>
+        <listitem>Select <literal>JBoss jBPM</literal> --> <literal>jBPM 4</literal> --> <literal>Runtime Locations</literal> </listitem>
+        <listitem>Click <literal>Add...</literal> </listitem>
+        <listitem>In the <literal>Add Location</literal> dialog, enter a name like e.g. <literal>jbpm-4.0</literal> and then click <literal>Search...</literal> </listitem>
+        <listitem>In the <literal>Browse For Folder</literal> dialog, select your jbpm home directory and click <literal>OK</literal> </listitem>
+        <listitem>Click <literal>OK</literal> in the <literal>Add Location</literal> dialog</listitem>
+      </itemizedlist>
+      <figure id="gpd.runtime.location">
+        <title>Defining jBPM Libraries</title>
+        <mediaobject><imageobject><imagedata align="center" fileref="images/gpd.runtime.location.png"/></imageobject></mediaobject>
+      </figure>
+    </section>
+
     <section id="definejbpmuserlibraries">
       <title>Define the jBPM User Library</title>
       <para>This section shows how to define a user library for your workspace




More information about the jbpm-commits mailing list