hi satyasri.ch wrote: > > Hi , > > I am doing the sample drools project. > > Below are the sample rule and Fact class. > > when Running from eclipse ide both rules are working fine. > Where as running the rule outside ide only second rule fired it is not > showing any errors. > > Suggest me any ideas > > > ---------------------------------------------------------- > package test > import test.Message; > > > rule "Your First Rule" > dialect "mvel" > when > m:Message( ) > eval(m.getMessage() == "Hello") > then > System.out.println("First Rule fired "); > end > > rule "Your Second Rule" > dialect "mvel" > when > eval(true) > then > System.out.println("Second Rule fired "); > end > > ------------------------ > > package test; > public class Message{ > private String message; > public String getMessage(){ > return this.message; > } > > public void setMessage(String message) { > this.message = message; > } > > } > > > Thanks, > Satyasri. >
-- View this message in context: http://www.nabble.com/Rule-is-not-firing-tp26056180p26056239.html Sent from the drools - user mailing list archive at Nabble.com. _______________________________________________ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users