[jboss-svn-commits] JBL Code SVN: r33390 - in labs/jbossrules/trunk: install and 4 other directories.

jboss-svn-commits at lists.jboss.org jboss-svn-commits at lists.jboss.org
Mon Jun 7 20:13:55 EDT 2010


Author: KrisVerlaenen
Date: 2010-06-07 20:13:54 -0400 (Mon, 07 Jun 2010)
New Revision: 33390

Added:
   labs/jbossrules/trunk/install/sample/evaluation/src/main/rules/Evaluation.bpmn
   labs/jbossrules/trunk/src/main/assembly/install.xml
Removed:
   labs/jbossrules/trunk/install/readme.txt
   labs/jbossrules/trunk/install/sample/evaluation/src/main/rules/Evaluation.rf
Modified:
   labs/jbossrules/trunk/install/build.xml
   labs/jbossrules/trunk/install/eclipse.preferences.ini
   labs/jbossrules/trunk/install/install.html
   labs/jbossrules/trunk/install/sample/evaluation/.classpath
   labs/jbossrules/trunk/install/sample/evaluation/src/main/java/com/sample/ProcessTest.java
   labs/jbossrules/trunk/pom.xml
Log:
- updated install script

Modified: labs/jbossrules/trunk/install/build.xml
===================================================================
--- labs/jbossrules/trunk/install/build.xml	2010-06-08 00:05:43 UTC (rev 33389)
+++ labs/jbossrules/trunk/install/build.xml	2010-06-08 00:13:54 UTC (rev 33390)
@@ -13,7 +13,7 @@
   <property name="jboss.server.birt.dir" value="${jboss.server.data.dir}/birt"/>
   <property name="jboss.bind.address" value="localhost" />
 
-  <property name="eclipse.workspace.dir" value="${install.home}/sample/workspace"/>
+  <property name="eclipse.workspace.dir" value="${install.home}/workspace"/>
 
   <property name="jboss.download.url" value="http://downloads.sourceforge.net/jboss/jboss-4.2.3.GA.zip"/>
   <property name="h2.download.url" value="http://repository.jboss.org/maven2/com/h2database/h2/1.2.124/h2-1.2.124.jar"/>
@@ -327,8 +327,6 @@
   <!-- Start JBoss AS -->
   <target name="start.jboss">
     <property name="jboss.full.path.win" location="${jboss.home}/bin/run.bat" />
-    <property environment="env" />
-    <echo message="${env.JAVA_HOME}" />
     <exec executable="${jboss.full.path.win}" spawn="yes"
           os="Windows 7,Windows Vista,Windows XP,Windows 2000">
       <env key="JAVA_OPTS" value="-XX:MaxPermSize=256m" />
@@ -411,4 +409,23 @@
   <!-- Stop Demo -->
   <target name="stop.demo" depends="stop.h2,stop.jboss" />
 
+  <!-- ############ CLEAN ############ -->
+	
+  <!-- Clean jboss -->
+  <target name="clean.jboss">
+    <delete dir="${install.home}/jboss-4.2.3.GA"/>
+    <delete dir="${install.home}/repository"/>
+    <delete file="${install.home}/repository.xml"/>
+  </target>
+
+  <!-- Clean eclipse -->
+  <target name="clean.eclipse">
+    <delete dir="${install.home}/eclipse"/>
+    <delete dir="${install.home}/runtime"/>
+    <delete dir="${eclipse.workspace.dir}"/>
+  </target>
+
+  <!-- Stop Demo -->
+  <target name="clean.demo" depends="clean.jboss,clean.eclipse" />
+	
 </project>

Modified: labs/jbossrules/trunk/install/eclipse.preferences.ini
===================================================================
--- labs/jbossrules/trunk/install/eclipse.preferences.ini	2010-06-08 00:05:43 UTC (rev 33389)
+++ labs/jbossrules/trunk/install/eclipse.preferences.ini	2010-06-08 00:13:54 UTC (rev 33390)
@@ -1,2 +1,2 @@
 org.eclipse.ui/defaultPerspectiveId=org.drools.eclipse.DroolsPerspective
-org.drools.eclipse/Drools.Runtimes=Drools runtime#F:/drools/install/runtime#true# 
\ No newline at end of file
+org.drools.eclipse/Drools.Runtimes=Drools runtime#./runtime#true# 
\ No newline at end of file

Modified: labs/jbossrules/trunk/install/install.html
===================================================================
--- labs/jbossrules/trunk/install/install.html	2010-06-08 00:05:43 UTC (rev 33389)
+++ labs/jbossrules/trunk/install/install.html	2010-06-08 00:13:54 UTC (rev 33390)
@@ -4,7 +4,7 @@
 <H1>Installation</H1>
 
 <H2>Prerequisites</H2>
-This script assumes you have Java 1.5+, and Ant 1.7+ installed.<BR/>
+This script assumes you have Java JDK 1.5+ (set as JAVA_HOME), and Ant 1.7+ installed.<BR/>
 If you don't, use the following links to download and install them:<BR/>
 Java: <A href="http://java.sun.com/javase/downloads/index.jsp">http://java.sun.com/javase/downloads/index.jsp</A><BR/>
 Ant: <A href="http://ant.apache.org/bindownload.cgi">http://ant.apache.org/bindownload.cgi</A><BR/>
@@ -35,9 +35,25 @@
 <BR/>
 
 <H3>Using Eclipse Tooling</H3>
+
+Start by importing the sample project into your workspace.
+
 <H3>Using Guvnor repository</H3>
+
+Open up Drools Guvnor:<BR/>
+<A href="http://localhost:8080/drools-guvnor">http://localhost:8080/drools-guvnor</A>
+<P>
+Start by importing the sample repository.
+
 <H3>Using web management consoles</H3>
 
+First make sure you have imported the sample repository and built the defaultPackage in Guvnor first (see previous section).
+<P>
+Open up the process management console:<BR/>
+<A href="http://localhost:8080/gwt-console">http://localhost:8080/gwt-console</A>
+<P>
+Make sure you have imported the sample repository and build the defaultPackage in Guvnor first.
+
 <H2>Manually installing the different components</H2>
 <H3>Getting JBoss AS</H3>
 You need to download and install JBoss AS version 4.2.3.GA.
@@ -96,7 +112,6 @@
 <EM>ant start.eclipse</EM>
 
 
-add existing drools runtime in ${drools.home}\install\runtime (Window - Preferences, Drools - Installed Drools Runtimes, click Add..., name "Drools runtime", Browse to install/runtime directory in drools root and click OK, click OK again, check the created runtime, click OK)
 import existing project ${drools.home}\install\sample (File - Import..., General - Existing Projects into Workspace, select install/sample/evaluation and click OK, click Finish)
 run example
 

Deleted: labs/jbossrules/trunk/install/readme.txt
===================================================================
--- labs/jbossrules/trunk/install/readme.txt	2010-06-08 00:05:43 UTC (rev 33389)
+++ labs/jbossrules/trunk/install/readme.txt	2010-06-08 00:13:54 UTC (rev 33390)
@@ -1,85 +0,0 @@
-[This script assumes you have Java 1.5+, Maven 2.0.8+ and ANT 1.7+ installed]
-
-Download latest Drools code from SVN: http://anonsvn.jboss.org/repos/labs/labs/jbossrules/trunk/
-
-Run Drools build: in Drools root folder run "mvn -Dmaven.test.skip -Declipse install"
-(if it is the first time you do this, this could take a while as it will be downloading
- eclipse as part of the installation, you can remove the -Declipse part if you're not
- interested in the Eclipse plugin)
-
-Download and install JBoss AS version 4.2.3.GA:
-If you don't have it installed yet, run installation script:
-  ant install.jboss
-  This will download and install the server in install/jboss-4.2.3.GA folder
-  (if you don't want it to download the zip file, you can put a jboss-4.2.3.GA.zip in the install/lib folder)
-In install/build.properties, change the jboss.home property to the location of your JBoss AS installation
-
-Increase the memory that can be used by the application server (especially the PermGen space). To do so,
-On linux/mac:
-  edit the run.conf in your JBoss AS bin folder and add the following line at the end of the file:
-  JAVA_OPTS="$JAVA_OPTS -XX:MaxPermSize=256m"
-On windows: 
-  edit the run.bat in your JBoss AS bin folder and change the following line:
-  set JAVA_OPTS=%JAVA_OPTS% -Xms128m -Xmx512m
-  to
-  set JAVA_OPTS=%JAVA_OPTS% -Xms128m -Xmx512m -XX:MaxPermSize=256m
-
-Download Eclipse 3.5.1
-If you don't have it installed yet, run installation script:
-  ant install.eclipse
-  This will download and install eclipse in install/eclipse folder
-  (if you don't want it to download the eclipse file, you can put the file in the install/lib folder:
-    eclipse-SDK-3.5.1-linux-gtk.tar.gz (linux)
-    eclipse-SDK-3.5.1-win32.zip (windows)
-    eclipse-SDK-3.5.1-macosx-carbon.tar.gz (mac))
-In install/build.properties, change the eclipse.home property to the location of your Eclipse installation
-
-in the install dir, run installation script:
-ant install.guvnor.into.jboss
-ant install.drools-gwt-console.into.jboss
-ant install.drools-eclipse.into.eclipse
-
-startup database
-ant start.h2
-
-startup JBoss AS
-ant start.jboss
-
-startup task service (run org.drools.task.service.DemoTaskService as part of the drools-process\drools-process-task project)
-
-startup eclipse
-ant start.eclipse
-
-add existing drools runtime in ${drools.home}\install\runtime (Window - Preferences, Drools - Installed Drools Runtimes, click Add..., name "Drools runtime", Browse to install/runtime directory in drools root and click OK, click OK again, check the created runtime, click OK)
-import existing project ${drools.home}\install\sample (File - Import..., General - Existing Projects into Workspace, select install/sample/evaluation and click OK, click Finish)
-run example
-
-Add Evaluation.rf to guvnor, package defaultPackage (right-click on evaluation.rf in src/main/rules and select Guvnor - Add..., create a new Guvnor repository connection, under repository fill in /drools-guvnor/org.drools.guvnor.Guvnor/webdav/, click Next, select defaultPackage and click Finish)
-open Guvnor http://localhost:8080/drools-guvnor/ (login using any username/password, if it asks about installing samples, click No thanks)
-build defaultPackage (under Knowledge Bases, select defaultPackage, click on Build Package)
-
-open gwt-console http://localhost:8080/gwt-console/ (login using krisv/krisv)
-start process (Processes - Process overview, Click on Evaluation process and click Start and then OK, fill in username krisv and click Complete and close window)
-complete self-evaluation (Tasks - Personal Tasks, click on Performance Evaluation task, click View, fill in evaluation form, click Complete and close window)
-logout and login as john (john/john) to complete evaluation (Tasks - Personal Tasks, click on Performance Evaluation task, click View, fill in evaluation form, click Complete and close window)
-see reports (Reporting - Report Templates, select Overall Activity Report and click Create Report)
-
-Once you're done playing
-stop database: ant stop.h2
-stop JBoss AS: ant stop.jboss
-and simply close all the rest
-
-// TODO: how to add forms + graphs
-// TODO: register custom work item handlers
-// TODO: deploy demo task service as a service on the AS?
-// TODO: custom logins / task users
-
-// TODO: how to change configuration for another DB?
-Update datasource configuration if necessary (uses h2 in memory database by default).
-[You don't need to change anything to these files if you just want to use this default configuration]
-install/db/testDS1-ds.xml
-install/db/persistence.xml
-install/db/hibernate.cfg.xml
-
-Put database driver jar in install/db/driver directory (e.g. h2-1.1.117.jar, create the driver dir if necessary)
-By default, it will download the h2.jar.
\ No newline at end of file

Modified: labs/jbossrules/trunk/install/sample/evaluation/.classpath
===================================================================
--- labs/jbossrules/trunk/install/sample/evaluation/.classpath	2010-06-08 00:05:43 UTC (rev 33389)
+++ labs/jbossrules/trunk/install/sample/evaluation/.classpath	2010-06-08 00:13:54 UTC (rev 33390)
@@ -1,8 +1,8 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<classpath>
-	<classpathentry kind="src" path="src/main/java"/>
-	<classpathentry kind="src" path="src/main/rules"/>
-	<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
-	<classpathentry kind="con" path="DROOLS/Drools"/>
-	<classpathentry kind="output" path="bin"/>
-</classpath>
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+	<classpathentry kind="src" path="src/main/java"/>
+	<classpathentry kind="src" path="src/main/rules"/>
+	<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
+	<classpathentry kind="con" path="DROOLS/Drools"/>
+	<classpathentry kind="output" path="bin"/>
+</classpath>

Modified: labs/jbossrules/trunk/install/sample/evaluation/src/main/java/com/sample/ProcessTest.java
===================================================================
--- labs/jbossrules/trunk/install/sample/evaluation/src/main/java/com/sample/ProcessTest.java	2010-06-08 00:05:43 UTC (rev 33389)
+++ labs/jbossrules/trunk/install/sample/evaluation/src/main/java/com/sample/ProcessTest.java	2010-06-08 00:13:54 UTC (rev 33390)
@@ -13,10 +13,8 @@
 import org.drools.io.ResourceFactory;
 import org.drools.logger.KnowledgeRuntimeLogger;
 import org.drools.logger.KnowledgeRuntimeLoggerFactory;
+import org.drools.process.workitem.wsht.WSHumanTaskHandler;
 import org.drools.runtime.StatefulKnowledgeSession;
-import org.drools.runtime.process.WorkItem;
-import org.drools.runtime.process.WorkItemHandler;
-import org.drools.runtime.process.WorkItemManager;
 
 /**
  * This is a sample file to launch a process.
@@ -28,17 +26,8 @@
 			// load up the knowledge base
 			KnowledgeBase kbase = readKnowledgeBase();
 			StatefulKnowledgeSession ksession = kbase.newStatefulKnowledgeSession();
-			KnowledgeRuntimeLogger logger = KnowledgeRuntimeLoggerFactory.newFileLogger(ksession, "test");
-			ksession.getWorkItemManager().registerWorkItemHandler("Human Task", new WorkItemHandler() {
-				public void executeWorkItem(WorkItem workItem, WorkItemManager manager) {
-					System.out.println("Executing Human Task \"" + workItem.getParameter("TaskName") + "\"");
-					System.out.println("ActorId: " + workItem.getParameter("ActorId"));
-					System.out.println("Comment: " + workItem.getParameter("Comment"));
-					manager.completeWorkItem(workItem.getId(), null);
-				}
-				public void abortWorkItem(WorkItem workItem, WorkItemManager manager) {
-				}
-			});
+			KnowledgeRuntimeLogger logger = KnowledgeRuntimeLoggerFactory.newThreadedFileLogger(ksession, "test", 1000);
+			ksession.getWorkItemManager().registerWorkItemHandler("Human Task", new WSHumanTaskHandler());
 			// start a new process instance
 			Map<String, Object> params = new HashMap<String, Object>();
 			params.put("employee", "krisv");
@@ -51,7 +40,7 @@
 
 	private static KnowledgeBase readKnowledgeBase() throws Exception {
 		KnowledgeBuilder kbuilder = KnowledgeBuilderFactory.newKnowledgeBuilder();
-		kbuilder.add(ResourceFactory.newClassPathResource("Evaluation.rf"), ResourceType.DRF);
+		kbuilder.add(ResourceFactory.newClassPathResource("Evaluation.bpmn"), ResourceType.BPMN2);
 		KnowledgeBuilderErrors errors = kbuilder.getErrors();
 		if (errors.size() > 0) {
 			for (KnowledgeBuilderError error: errors) {

Added: labs/jbossrules/trunk/install/sample/evaluation/src/main/rules/Evaluation.bpmn
===================================================================
--- labs/jbossrules/trunk/install/sample/evaluation/src/main/rules/Evaluation.bpmn	                        (rev 0)
+++ labs/jbossrules/trunk/install/sample/evaluation/src/main/rules/Evaluation.bpmn	2010-06-08 00:13:54 UTC (rev 33390)
@@ -0,0 +1,158 @@
+<?xml version="1.0" encoding="UTF-8"?> 
+<definitions id="Definition"
+             targetNamespace="http://www.jboss.org/drools"
+             typeLanguage="http://www.java.com/javaTypes"
+             expressionLanguage="http://www.mvel.org/2.0"
+             xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL"
+             xmlns:xs="http://www.w3.org/2001/XMLSchema-instance"
+             xs:schemaLocation="http://www.omg.org/spec/BPMN/20100524/MODEL BPMN20.xsd"
+             xmlns:g="http://www.jboss.org/drools/flow/gpd"
+             xmlns:tns="http://www.jboss.org/drools">
+
+  <itemDefinition id="_employeeItem" structureRef="String" />
+
+  <process processType="Private" isExecutable="true" id="com.sample.evaluation" name="Evaluation" tns:packageName="defaultPackage" >
+
+    <!-- process variables -->
+    <property id="employee" itemSubjectRef="_employeeItem"/>
+
+    <!-- nodes -->
+    <startEvent id="_1" name="Start" g:x="16" g:y="56" g:width="48" g:height="48" />
+    <userTask id="_2" name="Self Evaluation" g:x="96" g:y="56" g:width="100" g:height="48" >
+      <ioSpecification>
+        <dataInput id="_2_CommentInput" name="Comment" />
+        <dataInput id="_2_SkippableInput" name="Skippable" />
+        <dataInput id="_2_TaskNameInput" name="TaskName" />
+        <inputSet>
+          <dataInputRefs>_2_CommentInput</dataInputRefs>
+          <dataInputRefs>_2_SkippableInput</dataInputRefs>
+          <dataInputRefs>_2_TaskNameInput</dataInputRefs>
+        </inputSet>
+        <outputSet>
+        </outputSet>
+      </ioSpecification>
+      <dataInputAssociation>
+        <targetRef>_2_CommentInput</targetRef>
+        <assignment>
+          <from xs:type="tFormalExpression">Please perform a self-evalutation.</from>
+          <to xs:type="tFormalExpression">_2_CommentInput</to>
+        </assignment>
+      </dataInputAssociation>
+      <dataInputAssociation>
+        <targetRef>_2_SkippableInput</targetRef>
+        <assignment>
+          <from xs:type="tFormalExpression">false</from>
+          <to xs:type="tFormalExpression">_2_SkippableInput</to>
+        </assignment>
+      </dataInputAssociation>
+      <dataInputAssociation>
+        <targetRef>_2_TaskNameInput</targetRef>
+        <assignment>
+          <from xs:type="tFormalExpression">Performance Evaluation</from>
+          <to xs:type="tFormalExpression">_2_TaskNameInput</to>
+        </assignment>
+      </dataInputAssociation>
+      <potentialOwner>
+        <resourceAssignmentExpression>
+          <formalExpression>#{employee}</formalExpression>
+        </resourceAssignmentExpression>
+      </potentialOwner>
+    </userTask>
+    <userTask id="_3" name="PM Evaluation" g:x="309" g:y="96" g:width="100" g:height="48" >
+      <ioSpecification>
+        <dataInput id="_3_CommentInput" name="Comment" />
+        <dataInput id="_3_SkippableInput" name="Skippable" />
+        <dataInput id="_3_TaskNameInput" name="TaskName" />
+        <inputSet>
+          <dataInputRefs>_3_CommentInput</dataInputRefs>
+          <dataInputRefs>_3_SkippableInput</dataInputRefs>
+          <dataInputRefs>_3_TaskNameInput</dataInputRefs>
+        </inputSet>
+        <outputSet>
+        </outputSet>
+      </ioSpecification>
+      <dataInputAssociation>
+        <targetRef>_3_CommentInput</targetRef>
+        <assignment>
+          <from xs:type="tFormalExpression">You need to evaluate #{employee}.</from>
+          <to xs:type="tFormalExpression">_3_CommentInput</to>
+        </assignment>
+      </dataInputAssociation>
+      <dataInputAssociation>
+        <targetRef>_3_SkippableInput</targetRef>
+        <assignment>
+          <from xs:type="tFormalExpression">false</from>
+          <to xs:type="tFormalExpression">_3_SkippableInput</to>
+        </assignment>
+      </dataInputAssociation>
+      <dataInputAssociation>
+        <targetRef>_3_TaskNameInput</targetRef>
+        <assignment>
+          <from xs:type="tFormalExpression">Performance Evaluation</from>
+          <to xs:type="tFormalExpression">_3_TaskNameInput</to>
+        </assignment>
+      </dataInputAssociation>
+      <potentialOwner>
+        <resourceAssignmentExpression>
+          <formalExpression>john</formalExpression>
+        </resourceAssignmentExpression>
+      </potentialOwner>
+    </userTask>
+    <userTask id="_4" name="HR Evaluation" g:x="309" g:y="16" g:width="100" g:height="48" >
+      <ioSpecification>
+        <dataInput id="_4_CommentInput" name="Comment" />
+        <dataInput id="_4_SkippableInput" name="Skippable" />
+        <dataInput id="_4_TaskNameInput" name="TaskName" />
+        <inputSet>
+          <dataInputRefs>_4_CommentInput</dataInputRefs>
+          <dataInputRefs>_4_SkippableInput</dataInputRefs>
+          <dataInputRefs>_4_TaskNameInput</dataInputRefs>
+        </inputSet>
+        <outputSet>
+        </outputSet>
+      </ioSpecification>
+      <dataInputAssociation>
+        <targetRef>_4_CommentInput</targetRef>
+        <assignment>
+          <from xs:type="tFormalExpression">You need to evaluate #{employee}.</from>
+          <to xs:type="tFormalExpression">_4_CommentInput</to>
+        </assignment>
+      </dataInputAssociation>
+      <dataInputAssociation>
+        <targetRef>_4_SkippableInput</targetRef>
+        <assignment>
+          <from xs:type="tFormalExpression">false</from>
+          <to xs:type="tFormalExpression">_4_SkippableInput</to>
+        </assignment>
+      </dataInputAssociation>
+      <dataInputAssociation>
+        <targetRef>_4_TaskNameInput</targetRef>
+        <assignment>
+          <from xs:type="tFormalExpression">Performance Evaluation</from>
+          <to xs:type="tFormalExpression">_4_TaskNameInput</to>
+        </assignment>
+      </dataInputAssociation>
+      <potentialOwner>
+        <resourceAssignmentExpression>
+          <formalExpression>mary</formalExpression>
+        </resourceAssignmentExpression>
+      </potentialOwner>
+    </userTask>
+    <parallelGateway id="_5" name="Gateway" g:x="228" g:y="56" g:width="49" g:height="49" gatewayDirection="Diverging" />
+    <parallelGateway id="_6" name="Gateway" g:x="441" g:y="56" g:width="49" g:height="49" gatewayDirection="Converging" />
+    <endEvent id="_7" name="End" g:x="520" g:y="56" g:width="48" g:height="48" >
+        <terminateEventDefinition/>
+    </endEvent>
+
+    <!-- connections -->
+    <sequenceFlow id="_1-_2" sourceRef="_1" targetRef="_2" />
+    <sequenceFlow id="_5-_3" sourceRef="_5" targetRef="_3" />
+    <sequenceFlow id="_5-_4" sourceRef="_5" targetRef="_4" />
+    <sequenceFlow id="_2-_5" sourceRef="_2" targetRef="_5" />
+    <sequenceFlow id="_4-_6" sourceRef="_4" targetRef="_6" />
+    <sequenceFlow id="_3-_6" sourceRef="_3" targetRef="_6" />
+    <sequenceFlow id="_6-_7" sourceRef="_6" targetRef="_7" />
+
+  </process>
+
+</definitions>
\ No newline at end of file

Deleted: labs/jbossrules/trunk/install/sample/evaluation/src/main/rules/Evaluation.rf
===================================================================
--- labs/jbossrules/trunk/install/sample/evaluation/src/main/rules/Evaluation.rf	2010-06-08 00:05:43 UTC (rev 33389)
+++ labs/jbossrules/trunk/install/sample/evaluation/src/main/rules/Evaluation.rf	2010-06-08 00:13:54 UTC (rev 33390)
@@ -1,110 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?> 
-<process xmlns="http://drools.org/drools-5.0/process"
-         xmlns:xs="http://www.w3.org/2001/XMLSchema-instance"
-         xs:schemaLocation="http://drools.org/drools-5.0/process drools-processes-5.0.xsd"
-         type="RuleFlow" name="Evaluation" id="com.sample.evaluation" package-name="defaultPackage" >
-
-  <header>
-    <variables>
-      <variable name="employee" >
-        <type name="org.drools.process.core.datatype.impl.type.StringDataType" />
-      </variable>
-    </variables>
-  </header>
-
-  <nodes>
-    <humanTask id="2" name="Self Evaluation" x="96" y="56" width="100" height="48" >
-      <work name="Human Task" >
-        <parameter name="ActorId" >
-          <type name="org.drools.process.core.datatype.impl.type.StringDataType" />
-          <value>#{employee}</value>
-        </parameter>
-        <parameter name="Comment" >
-          <type name="org.drools.process.core.datatype.impl.type.StringDataType" />
-          <value>Please perform a self-evalutation.</value>
-        </parameter>
-        <parameter name="Content" >
-          <type name="org.drools.process.core.datatype.impl.type.StringDataType" />
-        </parameter>
-        <parameter name="Priority" >
-          <type name="org.drools.process.core.datatype.impl.type.StringDataType" />
-        </parameter>
-        <parameter name="Skippable" >
-          <type name="org.drools.process.core.datatype.impl.type.StringDataType" />
-          <value>false</value>
-        </parameter>
-        <parameter name="TaskName" >
-          <type name="org.drools.process.core.datatype.impl.type.StringDataType" />
-          <value>Performance Evaluation</value>
-        </parameter>
-      </work>
-    </humanTask>
-    <humanTask id="4" name="HR Evaluation" x="309" y="16" width="100" height="48" >
-      <work name="Human Task" >
-        <parameter name="ActorId" >
-          <type name="org.drools.process.core.datatype.impl.type.StringDataType" />
-          <value>mary</value>
-        </parameter>
-        <parameter name="Comment" >
-          <type name="org.drools.process.core.datatype.impl.type.StringDataType" />
-          <value>You need to evaluate #{employee}.</value>
-        </parameter>
-        <parameter name="Content" >
-          <type name="org.drools.process.core.datatype.impl.type.StringDataType" />
-        </parameter>
-        <parameter name="Priority" >
-          <type name="org.drools.process.core.datatype.impl.type.StringDataType" />
-        </parameter>
-        <parameter name="Skippable" >
-          <type name="org.drools.process.core.datatype.impl.type.StringDataType" />
-          <value>false</value>
-        </parameter>
-        <parameter name="TaskName" >
-          <type name="org.drools.process.core.datatype.impl.type.StringDataType" />
-          <value>Performance Evaluation</value>
-        </parameter>
-      </work>
-    </humanTask>
-    <join id="6" name="Gateway" x="441" y="56" width="49" height="49" type="1" />
-    <start id="1" name="Start" x="16" y="56" width="48" height="48" />
-    <humanTask id="3" name="PM Evaluation" x="309" y="96" width="100" height="48" >
-      <work name="Human Task" >
-        <parameter name="ActorId" >
-          <type name="org.drools.process.core.datatype.impl.type.StringDataType" />
-          <value>john</value>
-        </parameter>
-        <parameter name="Comment" >
-          <type name="org.drools.process.core.datatype.impl.type.StringDataType" />
-          <value>You need to evaluate #{employee}.</value>
-        </parameter>
-        <parameter name="Content" >
-          <type name="org.drools.process.core.datatype.impl.type.StringDataType" />
-        </parameter>
-        <parameter name="Priority" >
-          <type name="org.drools.process.core.datatype.impl.type.StringDataType" />
-        </parameter>
-        <parameter name="Skippable" >
-          <type name="org.drools.process.core.datatype.impl.type.StringDataType" />
-          <value>false</value>
-        </parameter>
-        <parameter name="TaskName" >
-          <type name="org.drools.process.core.datatype.impl.type.StringDataType" />
-          <value>Performance Evaluation</value>
-        </parameter>
-      </work>
-    </humanTask>
-    <end id="7" name="End" x="522" y="56" width="48" height="48" />
-    <split id="5" name="Gateway" x="228" y="56" width="49" height="49" type="1" />
-  </nodes>
-
-  <connections>
-    <connection from="1" to="2" />
-    <connection from="5" to="4" />
-    <connection from="4" to="6" />
-    <connection from="3" to="6" />
-    <connection from="5" to="3" />
-    <connection from="6" to="7" />
-    <connection from="2" to="5" />
-  </connections>
-
-</process>
\ No newline at end of file

Modified: labs/jbossrules/trunk/pom.xml
===================================================================
--- labs/jbossrules/trunk/pom.xml	2010-06-08 00:05:43 UTC (rev 33389)
+++ labs/jbossrules/trunk/pom.xml	2010-06-08 00:13:54 UTC (rev 33390)
@@ -379,6 +379,7 @@
                            <descriptor>src/main/assembly/gwt-console.xml</descriptor>
                            <descriptor>src/main/assembly/docs.xml</descriptor>
                            <descriptor>src/main/assembly/javadocs.xml</descriptor>
+                           <descriptor>src/main/assembly/install.xml</descriptor>
                         </descriptors>
                      </configuration>
                   </plugin>
@@ -623,6 +624,7 @@
                      <descriptor>src/main/assembly/gwt-console.xml</descriptor>
                      <descriptor>src/main/assembly/docs.xml</descriptor>
                      <descriptor>src/main/assembly/javadocs.xml</descriptor>
+                     <descriptor>src/main/assembly/install.xml</descriptor>
                   </descriptors>
                </configuration>
             </plugin>

Added: labs/jbossrules/trunk/src/main/assembly/install.xml
===================================================================
--- labs/jbossrules/trunk/src/main/assembly/install.xml	                        (rev 0)
+++ labs/jbossrules/trunk/src/main/assembly/install.xml	2010-06-08 00:13:54 UTC (rev 33390)
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<assembly>
+  <id>install</id>
+  <formats>
+    <format>zip</format>
+  </formats>
+  
+  <includeBaseDirectory>false</includeBaseDirectory>
+  
+  <fileSets>
+	<fileSet>
+	  <directory>install</directory>
+	</fileSet>
+  </fileSets>
+   
+</assembly>



More information about the jboss-svn-commits mailing list