[rules-users] Using work items in the Eclipse ruleflow editor

Kris Verlaenen Kris.Verlaenen at cs.kuleuven.be
Mon Dec 14 10:00:23 EST 2009


I created a screencast of how to define a domain-specific work item.
Could you verify this works for you?
http://people.redhat.com/kverlaen/DomainSpecificWorkItem.swf

Kris

Quoting bbking <badillo.brian at gmail.com>:

> 
> I've been attempting to contribute my own work item following the
> instructions on this post and the drools flow user guide to no
> avail.
> 
> I'm using Drools 5.0.1 in Eclipse which I added as a plugin using
> the
> software updates.  (checking the plugins folder I only have
> org.drools.eclipse_5.0.1 & org.drools.eclipse.task_5.0.1; i'm not
> sure if
> that has anything to do with it)
> 
> I've created a new drools project and created the resources directory
> as a
> source directory and created the META-INF directory and put the
> necessary
> files in the directory.  along with an icons package.  
> 
> Any insight?
> 
> 
> Jeremy Ary wrote:
> > 
> > Mike, 
> > 
> > I ran into a similar issue when I began working with ruleflows a
> few weeks
> > ago. Some of this may not be necessary and it's certainly not all
> causal,
> > but this was what I noted when working my issue out: 
> > 
> > 1) If you're working in JBoss Dev Studio, it's possible that you
> have a
> > conflict between the code you added as a runtime and what's already
> there,
> > so try the process with a fresh install of eclipse 
> > 2) Ensure that any projects you currently have open do not have
> > build/lib/classpath issues (I had the drools projects checked out
> and open
> > and build errors caused unnecessary complications for me) 
> > 3) Be sure that your project has a META-INF on the classpath and
> that it's
> > set up correctly 
> > 4) Place your drools.rulebase.conf & custom definitions .conf that
> it
> > looks for are both in your META-INF under resources
> > (src/main/resources/META-INF ) 
> > 5) Once you're sure this much is correct, give Eclipse a restart -
> my
> > project did not pick up my custom WI's until I restarted 
> > 
> > If you're still having issues, I'll be on the IRC channel for the
> next 5
> > hours or so as jary - feel free to reply here or look me up there.
> 
> > (well, I'm heading to lunch very soon, so back in around an hour) 
> > 
> > 
> > Jeremy 
> > ----- Original Message ----- 
> > From: "Mike Gill" <mgill at modusoperandi.com> 
> > To: rules-users at lists.jboss.org 
> > Sent: Monday, September 21, 2009 11:27:46 AM GMT -06:00 US/Canada
> Central 
> > Subject: [rules-users] Using work items in the Eclipse ruleflow
> editor 
> > 
> > 
> > 
> > 
> > I am using Eclipse to build my Drools rulefow file. I am trying to
> add
> > custom work items, but I cannot seem to get anything (other than
> Email and
> > Log) to show up in my Work Items palette. 
> > 
> > 
> > 
> > Does anyone know how to get the existing work items (such as
> FileFinder or
> > Exec) to show up on the palette in eclipse? 
> > 
> > 
> > 
> > Eventually I will need to add custom work items to the flow, so
> this is
> > make-or-break Drools functionality for my team. 
> > 
> > 
> > 
> > In pursuit of a solution to this I have combed the documentation,
> this
> > mailing list archive, as well as endless Google results to no
> avail. Any
> > help would be very valuable! 
> > 
> > 
> > 
> > Thanks, 
> > 
> > Mike 
> > 
> > 
> > _______________________________________________ rules-users mailing
> list
> > rules-users at lists.jboss.org
> > https://lists.jboss.org/mailman/listinfo/rules-users 
> > _______________________________________________
> > rules-users mailing list
> > rules-users at lists.jboss.org
> > https://lists.jboss.org/mailman/listinfo/rules-users
> > 
> > 
> 
> -- 
> View this message in context:
>
http://n3.nabble.com/Re-Using-work-items-in-the-Eclipse-ruleflow-editor-tp61081p73373.html
> Sent from the Drools - User mailing list archive at Nabble.com.
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
> 




Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm



More information about the rules-users mailing list