Hi All,
Could you please help me on this. I am trying to create rules in Guvnor and
then using those in eclipse.
These are the steps that I am doing
1) I have created a POJO in eclipse
2) Exported as .jar and uploading it in Guvnor under a package.
3) I have created rules also in Guvnor and the test scenario there is also
working fine.
4) I build the package and the binaries get generated.
But I am not getting how to use those rule in my Java Application running
on Eclipse. I have gone through the user guide and forums also but not
getting the concrete solution for this.
From somewhere I got the following code :
KnowledgeAgent kagent = KnowledgeAgentFactory.newKnowledgeAgent
( "MyAgent" );
kagent.applyChangeSet( ResourceFactory.newUrlResource( url ) );
KnowledgeBase kbase = kagent.getKnowledgeBase();
But how to work according to it. Which url I have to give here, also I am
not able to locate the changeset.xml.
Also what should I write in the .properties file and how to refer to that.
Please it would be very helpful if anyone could provide help to me on this
as I am stuck from last 4 days on this. Is there any example that I can
refer to?
Thanks and Regards,
Sumeet
Mailto: sumeet.karawal(a)tcs.com
rules-users(a)lists.jboss.org
=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain
confidential or privileged information. If you are
not the intended recipient, any dissemination, use,
review, distribution, printing or copying of the
information contained in this e-mail message
and/or attachments to it are strictly prohibited. If
you have received this communication in error,
please notify us by reply e-mail or telephone and
immediately and permanently delete the message
and any attachments. Thank you