Han Ming, Here is the full list of changes that were made to the original war that is located here: http://www.intalio.org/public/maven2/com/intalio/bpms/web/designer/1.0.0.010/
Note that most of the changes in the src dir (as described below) were to get the import/export functionality of Oryx working. If you're serious about helping out, just let me know, there is lots you could help with, like improving the import/export for other cases, maybe updating to the BPMN 2.0 beta 2 format, etc. Kris ------ Changes ------ unzip in deploy folder, in folder designer.war in WEB-INF/web.xml, enable tomcat settings for DirectoryListingServlet removed WEB-INF/lib/javax.servlet-*.jar added slf4j-api and slf4j-jdk14 to WEB-INF/lib remove console.log statement from oryx.js replace enterprise-repository in oryx.js with drools-guvnor moved designer.war/lib/bpmn2 to designer.war/WEB-INF/lib/bpmn2 small fragment in oryx.js in construct of ORYX.Editor for setting id as uuid remove "oryx_editor_header" init + ref from Oryx.js Replace some BPMN2 import/export classes in WEB-INF/classes: de/hpi/bpmn2_0/model/FlowElement.java de/hpi/bpmn2_0/model/activity/Task.java de/hpi/bpmn2_0/model/activity/type/BusinessRuleTask.java de/hpi/bpmn2_0/model/activity/type/ReceiveTask.java de/hpi/bpmn2_0/model/activity/type/SendTask.java de/hpi/bpmn2_0/model/activity/type/UserTask.java de/hpi/bpmn2_0/model/activity/type/ManualTask.java de/hpi/bpmn2_0/model/activity/type/ScriptTask.java de/hpi/bpmn2_0/model/activity/type/ServiceTask.java de/hpi/bpmn2_0/model/diagram/BpmnNode.java de/hpi/bpmn2_0/model/gateway/ComplexGateway.java de/hpi/bpmn2_0/model/gateway/ExclusiveGateway.java de/hpi/bpmn2_0/model/gateway/InclusiveGateway.java de/hpi/bpmn2_0/model/gateway/EventBasedGateway.java de/hpi/bpmn2_0/model/gateway/Gateway.java de/hpi/bpmn2_0/model/gateway/ParallelGateway.java de/hpi/bpmn2_0/transformation/BPMN2DiagramConverter.java de/hpi/bpmn2_0/model/gateway/Diagram2BpmnConverter.java org/oryxeditor/server/EditorHandler.java org/oryxeditor/server/diagram/JSONBuilder.java ----- Original Message ----- From: Han Ming Low To: [email protected] Sent: Wednesday, August 04, 2010 12:09 PM Subject: [rules-users] Instructions for upgrading designer.war? Hi, I understand that the designer.war is a project by intalio. When looking at the source for the war at http://anonsvn.jboss.org/repos/labs/labs/jbossrules/contrib/designer/designer-src.war, I saw the changes to be made to make it compatible with Drools. I think I can do some of the steps like 1) changing the web.xml to use tomcat instead of jetty 2) added slf4j library 3) move lib/bpmn2 library to web-inf/lib 4) changes to oryx.js that involve - commenting out the header - commenting out the log - change the repository url from "/designer/uuidRepository?uuid="+ uuid to "/drools-guvnor/org.drools.guvnor.Guvnor/guvnorAPI?action=load&uuid="+ uuid However, I'm not sure what is the BPMN2 import/export classes to replace in WEB-INF/classes Can someone could tell me which are the classes? I can also help to update the designer. :) Thanks. Han Ming ------------------------------------------------------------------------------ _______________________________________________ rules-users mailing list [email protected] https://lists.jboss.org/mailman/listinfo/rules-users Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm
_______________________________________________ rules-users mailing list [email protected] https://lists.jboss.org/mailman/listinfo/rules-users
