Have you looked at the "mortgages" example under the "examples" folder in the guvnor-distribution; http://download.jboss.org/drools/release/5.2.0.CR1/drools-distribution-5.2.0.CR1.zip?

There is a similar example for 5.1, but TBH I'm not sure of the location in either the download or internet.

2011/6/22 Sumeet Karawal <sumeet.karawal@tcs.com>

Hi,

I am not able to run Guvnor rules on eclipse. I have read the Knowledge
Agent part from the user guide but not able to get through.

I am doing the following steps:

  I have created a Java class in eclipse and exported it as a .jar file.
  Then I import it in Guvnor under the upload POJO Model.
  I create some rules for it
  Then I build the package and get the following URLs :

URL for package documentation:

 http://localhost:8080/drools-guvnor/org.drools.guvnor.Guvnor/package/com.JBoss/LATEST/documentation.pdf (Embedded
                                                                                                        image moved
                                                                                                        to file:
                                                                                                        pic32197.gif)



URL for package source:

 http://localhost:8080/drools-guvnor/org.drools.guvnor.Guvnor/package/com.JBoss/LATEST.drl (Embedded
                                                                                          image moved
                                                                                          to file:
                                                                                          pic02151.gif)



URL for package binary:

 http://localhost:8080/drools-guvnor/org.drools.guvnor.Guvnor/package/com.JBoss/LATEST (Embedded
                                                                                      image moved
                                                                                      to file:
                                                                                      pic18827.gif)



URL for running tests:

 http://localhost:8080/drools-guvnor/org.drools.guvnor.Guvnor/package/com.JBoss/LATEST/SCENARIOS (Embedded
                                                                                                image moved
                                                                                                to file:
                                                                                                pic20956.gif)



Change Set:

 http://localhost:8080/drools-guvnor/org.drools.guvnor.Guvnor/package/com.JBoss/LATEST/ChangeSet.xml (Embedded
                                                                                                    image moved
                                                                                                    to file:
                                                                                                    pic21205.gif)




I have gone through use  of KnowledgeAgent in the user guide but not
getting how to do it. I mean what code should I write to get the
KnowledgeBase from these URLs.

It would be really helpful if someone could guide me on this.


Thanks & Regards,
Sumeet Karawal
Mailto: sumeet.karawal@tcs.com
=====-----=====-----=====
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



_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users