[rules-users] drools gwt-console issues

melc c_melas at yahoo.com
Fri Nov 19 05:48:34 EST 2010


For issue #1 it can be solved by following the steps below, please note that
drools technologies used are 5.1 as downloaded from the default download
link of the site (unfortunately was not able to use the lastSuccessfulBuild
from
https://hudson.jboss.org/hudson/job/drools/lastSuccessfulBuild/artifact/trunk/target/
, since i was led to mix match between versions to make it work  related
post
http://drools-java-rules-engine.46999.n3.nabble.com/drools-flow-5-2-0-SNAPSHOT-td1916429.html
)

1. export bpmn flow created in eclipse as png from eclipse (look in the
toolbar) and name it "id of flow".png
2. place png file inside drools-gwt-graph-5.1.1.jar of the deployed 
gwt-console-server-drools.war (you will see an already existing
com.sample.evaluation.png)
3. at this point it should work right away but it is necessary to include
the BPMNDISemanticModule which is not included/used when building in guvnor
a package (i.e. the defaultPackage) that includes the previously created
workflow. So, either edit the
org.drools.guvnor.server.builder.BRMSPackageBuilder.java by adding the line
pkgConf.addSemanticModule(new BPMNDISemanticModule()); right after the line
pkgConf.addSemanticModule(new BPMNSemanticModule()); . There is probably a
more elegant way (which i have not tried it yet) by defining the
BPMNDISemanticModule into a BPMNDISemanticModule.conf and seting its path in
the property "semanticModules" inside the drools.default.packagebuilder.conf
within the drools-compiler-5.1.1.jar of guvnor.war , this way it is possible
to add as many semanticmodules as needed.

-- 
View this message in context: http://drools-java-rules-engine.46999.n3.nabble.com/drools-gwt-console-problems-tp1883084p1929866.html
Sent from the Drools - User mailing list archive at Nabble.com.



More information about the rules-users mailing list