<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.18928">
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT size=2 face=Arial>Han Ming,</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT>&nbsp;</DIV>
<DIV><FONT size=2 face=Arial>Here is the full list of changes that were made to 
the original war that is located here:</FONT></DIV>
<DIV><FONT size=2 face=Arial><A 
href="http://www.intalio.org/public/maven2/com/intalio/bpms/web/designer/1.0.0.010/">http://www.intalio.org/public/maven2/com/intalio/bpms/web/designer/1.0.0.010/</A></FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT>&nbsp;</DIV>
<DIV><FONT size=2 face=Arial>Note that most of the changes in the src dir (as 
described below) were to get the import/export functionality of Oryx 
working.&nbsp; 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.</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT>&nbsp;</DIV>
<DIV><FONT size=2 face=Arial>Kris</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT>&nbsp;</DIV>
<DIV><FONT size=2 face=Arial>------ Changes ------</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT>&nbsp;</DIV>
<DIV><FONT size=2 face=Arial>unzip in deploy folder, in folder 
designer.war</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=2 face=Arial>in WEB-INF/web.xml, enable tomcat settings for 
DirectoryListingServlet<BR>removed WEB-INF/lib/javax.servlet-*.jar<BR>added 
slf4j-api and slf4j-jdk14 to WEB-INF/lib</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=2 face=Arial>remove console.log statement from 
oryx.js<BR>replace enterprise-repository in oryx.js with 
drools-guvnor</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=2 face=Arial>moved designer.war/lib/bpmn2 to 
designer.war/WEB-INF/lib/bpmn2</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=2 face=Arial>small fragment in oryx.js in construct of 
ORYX.Editor for setting id as uuid</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=2 face=Arial>remove "oryx_editor_header" init + ref from 
Oryx.js</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=2 face=Arial>Replace some BPMN2 import/export classes in 
WEB-INF/classes:</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=2 
face=Arial>de/hpi/bpmn2_0/model/FlowElement.java<BR>de/hpi/bpmn2_0/model/activity/Task.java<BR>de/hpi/bpmn2_0/model/activity/type/BusinessRuleTask.java&nbsp; 
<BR>de/hpi/bpmn2_0/model/activity/type/ReceiveTask.java&nbsp; 
<BR>de/hpi/bpmn2_0/model/activity/type/SendTask.java&nbsp;&nbsp;&nbsp;&nbsp; 
<BR>de/hpi/bpmn2_0/model/activity/type/UserTask.java<BR>de/hpi/bpmn2_0/model/activity/type/ManualTask.java&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
<BR>de/hpi/bpmn2_0/model/activity/type/ScriptTask.java&nbsp;&nbsp; 
<BR>de/hpi/bpmn2_0/model/activity/type/ServiceTask.java<BR>de/hpi/bpmn2_0/model/diagram/BpmnNode.java<BR>de/hpi/bpmn2_0/model/gateway/ComplexGateway.java&nbsp;&nbsp;&nbsp;&nbsp; 
<BR>de/hpi/bpmn2_0/model/gateway/ExclusiveGateway.java&nbsp; 
<BR>de/hpi/bpmn2_0/model/gateway/InclusiveGateway.java<BR>de/hpi/bpmn2_0/model/gateway/EventBasedGateway.java&nbsp; 
<BR>de/hpi/bpmn2_0/model/gateway/Gateway.java&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
<BR>de/hpi/bpmn2_0/model/gateway/ParallelGateway.java<BR>de/hpi/bpmn2_0/transformation/BPMN2DiagramConverter.java<BR>de/hpi/bpmn2_0/model/gateway/Diagram2BpmnConverter.java<BR>org/oryxeditor/server/EditorHandler.java<BR>org/oryxeditor/server/diagram/JSONBuilder.java</FONT></DIV>
<BLOCKQUOTE 
style="BORDER-LEFT: #000000 2px solid; PADDING-LEFT: 5px; PADDING-RIGHT: 0px; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px">
  <DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
  <DIV 
  style="FONT: 10pt arial; BACKGROUND: #e4e4e4; font-color: black"><B>From:</B> 
  <A title=hanming73@gmail.com href="mailto:hanming73@gmail.com">Han Ming 
  Low</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>To:</B> <A title=rules-users@lists.jboss.org 
  href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</A> 
  </DIV>
  <DIV style="FONT: 10pt arial"><B>Sent:</B> Wednesday, August 04, 2010 12:09 
  PM</DIV>
  <DIV style="FONT: 10pt arial"><B>Subject:</B> [rules-users] Instructions for 
  upgrading designer.war?</DIV>
  <DIV><BR></DIV>
  <DIV>Hi,</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>I understand that the designer.war is a project by intalio.</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>When looking at the source for the war at <A 
  href="http://anonsvn.jboss.org/repos/labs/labs/jbossrules/contrib/designer/designer-src.war">http://anonsvn.jboss.org/repos/labs/labs/jbossrules/contrib/designer/designer-src.war</A>, 
  I saw the changes to be made to make it compatible with Drools.</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>I think I can do some of the steps like</DIV>
  <DIV>1) changing the web.xml to use tomcat instead of jetty</DIV>
  <DIV>2) added slf4j library</DIV>
  <DIV>3) move lib/bpmn2 library to web-inf/lib</DIV>
  <DIV>4) changes to oryx.js that involve </DIV>
  <DIV>- commenting out the header</DIV>
  <DIV>- commenting out the log</DIV>
  <DIV>- change the repository url from "/designer/uuidRepository?uuid="+ uuid 
  to "/drools-guvnor/org.drools.guvnor.Guvnor/guvnorAPI?action=load&amp;uuid="+ 
  uuid</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>However, I'm not sure what is the BPMN2 import/export classes to replace 
  in WEB-INF/classes</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>Can&nbsp;someone could tell me which are the classes?</DIV>
  <DIV>I can also help to update the designer. :)</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>Thanks.</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>Han Ming</DIV>
  <P>
  <HR>

  <P></P>_______________________________________________<BR>rules-users mailing 
  list<BR>rules-users@lists.jboss.org<BR>https://lists.jboss.org/mailman/listinfo/rules-users<BR></BLOCKQUOTE><br>
<FONT FACE=3D"Helvetica" SIZE=3D2>Disclaimer: <A HREF="http://www.kuleuven.be/cwis/email_disclaimer.htm">http://www.kuleuven.be/cwis/email_disclaimer.htm</A> for more information.</FONT>
 <BR>

</BODY></HTML>