Han Ming,Here is the full list of changes that were made to the original war that is located here: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.warin 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/libremove console.log statement from oryx.js
replace enterprise-repository in oryx.js with drools-guvnormoved designer.war/lib/bpmn2 to designer.war/WEB-INF/lib/bpmn2small fragment in oryx.js in construct of ORYX.Editor for setting id as uuidremove "oryx_editor_header" init + ref from Oryx.jsReplace 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 LowSent: Wednesday, August 04, 2010 12:09 PMSubject: [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 like1) changing the web.xml to use tomcat instead of jetty2) added slf4j library3) move lib/bpmn2 library to web-inf/lib4) 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="+ uuidHowever, I'm not sure what is the BPMN2 import/export classes to replace in WEB-INF/classesCan someone could tell me which are the classes?I can also help to update the designer. :)Thanks.Han Ming
_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users
Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm for more information.
_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users