Hi, I have one doubt regarding reverse engineering!!!!. I have rulebase(set of drls and corresponding dsls). From the existing file sources i want to use it as input to rule flow and brms. can i do that? If so can you briefly tell me how to do that Sikkandar Basha Tech Lead WPEPDS UST Global<http://intranet.ustri.com/email/UST-logo.jpg> B5N 144, Bhavani Technopark, Trivandrum, India [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> T: +91-471-2335777 Extn: 6802036 M: +91-9946555330 F: +91-471-2527276
________________________________ From: [EMAIL PROTECTED] on behalf of [EMAIL PROTECTED] Sent: Thu 10/4/2007 1:32 AM To: rules-users@lists.jboss.org Subject: rules-users Digest, Vol 11, Issue 26 Send rules-users mailing list submissions to rules-users@lists.jboss.org To subscribe or unsubscribe via the World Wide Web, visit https://lists.jboss.org/mailman/listinfo/rules-users or, via email, send a message with subject or body 'help' to [EMAIL PROTECTED] You can reach the person managing the list at [EMAIL PROTECTED] When replying, please edit your Subject line so it is more specific than "Re: Contents of rules-users digest..." Today's Topics: 1. Rule Compilation error (Michael Epstein) 2. MVEL VariableResolverFactory problem on eclipse (Felipe Piccolini) 3. suggestion for drl grammar: single-element constraints (Godmar Back) 4. RE: rules precompilation (Manukyan, Sergey) 5. RE: rules precompilation (Jin, Ming) 6. RE: rules precompilation (Manukyan, Sergey) 7. Re: MVEL VariableResolverFactory problem on eclipse (ekke) ---------------------------------------------------------------------- Message: 1 Date: Wed, 3 Oct 2007 11:32:57 -0700 From: "Michael Epstein" <[EMAIL PROTECTED]> Subject: [rules-users] Rule Compilation error To: <rules-users@lists.jboss.org> Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset="iso-8859-1" Hi, I have a JBRMS question. I have DSL that I am using, when I build a rule in the guided editor that uses the DSL it works fine. When I use the business rule text edit, the same [when] fails validation. Here is the error: Rule Compilation error Expression "smcUnit" is not an rvalue Unknown variable or type "smcUnit" Expression "smcUnit" is not an lvalue Unknown variable or type "smcUnit" A method named "setSmcUnitId" is not declared in any enclosing class nor any supertype, nor through a static import Expression "smcUnit" is not an rvalue Expression "smcUnit" is not an rvalue Expression "smcUnit" is not an rvalue Unknown variable or type "smcUnit" Unknown variable or type "smcUnit" Expression "smcUnit" is not an rvalue Expression "smcUnit" is not an rvalue Expression "smcUnit" is not an rvalue Unknown variable or type "smcUnit" Exception:14 error(s) while compiling unit "com/symark/smc/Rule_test2_0.java" Here is the DSL: [when]There is a Log=LogStartStop() [when]- runUserId with a command run by user: '{id}'=runUserId == "{id}" [when]- submitUserId with a command submitted by user: '{id}'=submitUserId == "{id}" [when]- runHostId with a command run on host: '{id}'=runHostId == "{id}" [when]- submitHostId with a command submitted from host: '{id}'=submitHostId == "{id}" [then]Assign to unit with id: '{id}' = smcUnit = new SmcUnit() ; smcUnit.setSmcUnitId("{id}") ; insert(smcUnit ) ; And finally here is the rule: when There is a Log - runUserId with a command run by user: 'smc_app_elton' then Assign to unit with id: '1' Any help would be greatly appreciated. Thanks, Mike ------------------------------ Message: 2 Date: Wed, 3 Oct 2007 14:33:29 -0400 From: Felipe Piccolini <[EMAIL PROTECTED]> Subject: [rules-users] MVEL VariableResolverFactory problem on eclipse To: Rules Users List <rules-users@lists.jboss.org> Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset="us-ascii" updated to 4.0.1 and creating a new drools project. Any .drl file (and also rule flows) shows errors with this info on problems tab on eclipse: org/mvel/integration/VariableResolverFactory no more info, actualy I can run the rules (from the Sample.drl) but it shows the problem. I tried changing libraries and jdt dependencies, but not succes... what can it be?...anyone has this problem too? Thanks. Felipe Piccolini M. [EMAIL PROTECTED] -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.jboss.org/pipermail/rules-users/attachments/20071003/69cbe07c/attachment-0001.html ------------------------------ Message: 3 Date: Wed, 3 Oct 2007 14:38:01 -0400 From: "Godmar Back" <[EMAIL PROTECTED]> Subject: [rules-users] suggestion for drl grammar: single-element constraints To: "Rules Users List" <rules-users@lists.jboss.org> Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset=ISO-8859-1 If a fact contains a single field, it would be nice to be able to express a constraint on the value of that field without having to know its name, e.g.: Cheese ("stilton") which would be equivalent to Cheese (type == "stilton") if Cheese contained only one field, and which would be a compile-time error otherwise. A similar convenience syntax is used, for instance, for Java 5 annotations. Instead of having to say @Retention(value = RetentionPolicy.RUNTIME) it can be abbreviated @Retention(RetentionPolicy.RUNTIME) since this annotation only has a single field. - Godmar ------------------------------ Message: 4 Date: Wed, 3 Oct 2007 15:20:39 -0400 From: "Manukyan, Sergey" <[EMAIL PROTECTED]> Subject: RE: [rules-users] rules precompilation To: "Rules Users List" <rules-users@lists.jboss.org> Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset=US-ASCII Ming, Ekke, After deserialising the Package back - getting exception when inserting facts: Exception thrown : java.lang.NoClassDefFoundError: XXXShadowProxy XXX - is my class name Any ideas? -Sergey -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jin, Ming Sent: Wednesday, October 03, 2007 1:50 PM To: Rules Users List Subject: RE: [rules-users] rules precompilation Sergey, I am using precompiled rules. Serializing instances of org.drools.rule.Package works for me. Thanks, -Ming -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Manukyan, Sergey Sent: Wednesday, October 03, 2007 12:29 PM To: Rules Users List Subject: [rules-users] rules precompilation Folks, Where can I find information on how to pre-compile rules in 4.0.1? Thanks, -Sergey ********************** ** LEGAL DISCLAIMER ** ********************** This E-mail message and any attachments may contain legally privileged, confidential or proprietary information. If you are not the intended recipient(s), or the employee or agent responsible for delivery of this message to the intended recipient(s), you are hereby notified that any dissemination, distribution or copying of this E-mail message is strictly prohibited. If you have received this message in error, please immediately notify the sender and delete this E-mail message from your computer. _______________________________________________ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users _______________________________________________ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users ------------------------------ Message: 5 Date: Wed, 3 Oct 2007 14:39:32 -0500 From: "Jin, Ming" <[EMAIL PROTECTED]> Subject: RE: [rules-users] rules precompilation To: "Rules Users List" <rules-users@lists.jboss.org> Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset="us-ascii" Did you save the Package right after the creation from PackageBuilder, or after some other processes? -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Manukyan, Sergey Sent: Wednesday, October 03, 2007 2:21 PM To: Rules Users List Subject: RE: [rules-users] rules precompilation Ming, Ekke, After deserialising the Package back - getting exception when inserting facts: Exception thrown : java.lang.NoClassDefFoundError: XXXShadowProxy XXX - is my class name Any ideas? -Sergey -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jin, Ming Sent: Wednesday, October 03, 2007 1:50 PM To: Rules Users List Subject: RE: [rules-users] rules precompilation Sergey, I am using precompiled rules. Serializing instances of org.drools.rule.Package works for me. Thanks, -Ming -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Manukyan, Sergey Sent: Wednesday, October 03, 2007 12:29 PM To: Rules Users List Subject: [rules-users] rules precompilation Folks, Where can I find information on how to pre-compile rules in 4.0.1? Thanks, -Sergey ********************** ** LEGAL DISCLAIMER ** ********************** This E-mail message and any attachments may contain legally privileged, confidential or proprietary information. If you are not the intended recipient(s), or the employee or agent responsible for delivery of this message to the intended recipient(s), you are hereby notified that any dissemination, distribution or copying of this E-mail message is strictly prohibited. If you have received this message in error, please immediately notify the sender and delete this E-mail message from your computer. _______________________________________________ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users _______________________________________________ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users _______________________________________________ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users ------------------------------ Message: 6 Date: Wed, 3 Oct 2007 15:55:02 -0400 From: "Manukyan, Sergey" <[EMAIL PROTECTED]> Subject: RE: [rules-users] rules precompilation To: "Rules Users List" <rules-users@lists.jboss.org> Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset=US-ASCII Did it immediately... If you don't mind could you post code that works? Thanks. -Sergey -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jin, Ming Sent: Wednesday, October 03, 2007 3:40 PM To: Rules Users List Subject: RE: [rules-users] rules precompilation Did you save the Package right after the creation from PackageBuilder, or after some other processes? -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Manukyan, Sergey Sent: Wednesday, October 03, 2007 2:21 PM To: Rules Users List Subject: RE: [rules-users] rules precompilation Ming, Ekke, After deserialising the Package back - getting exception when inserting facts: Exception thrown : java.lang.NoClassDefFoundError: XXXShadowProxy XXX - is my class name Any ideas? -Sergey -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jin, Ming Sent: Wednesday, October 03, 2007 1:50 PM To: Rules Users List Subject: RE: [rules-users] rules precompilation Sergey, I am using precompiled rules. Serializing instances of org.drools.rule.Package works for me. Thanks, -Ming -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Manukyan, Sergey Sent: Wednesday, October 03, 2007 12:29 PM To: Rules Users List Subject: [rules-users] rules precompilation Folks, Where can I find information on how to pre-compile rules in 4.0.1? Thanks, -Sergey ********************** ** LEGAL DISCLAIMER ** ********************** This E-mail message and any attachments may contain legally privileged, confidential or proprietary information. If you are not the intended recipient(s), or the employee or agent responsible for delivery of this message to the intended recipient(s), you are hereby notified that any dissemination, distribution or copying of this E-mail message is strictly prohibited. If you have received this message in error, please immediately notify the sender and delete this E-mail message from your computer. _______________________________________________ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users _______________________________________________ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users _______________________________________________ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users _______________________________________________ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users ------------------------------ Message: 7 Date: Wed, 3 Oct 2007 13:02:12 -0700 (PDT) From: ekke <[EMAIL PROTECTED]> Subject: Re: [rules-users] MVEL VariableResolverFactory problem on eclipse To: rules-users@lists.jboss.org Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset=us-ascii felipe, please DON'T send your messages to the list AND to private mail-accounts ! .........have you started eclipse with -clean ? ekke Felipe Piccolini wrote: > > updated to 4.0.1 and creating a new drools project. Any .drl file > (and also rule flows) shows errors with this info on problems tab > on eclipse: > org/mvel/integration/VariableResolverFactory > > no more info, actualy I can run the rules (from the Sample.drl) but > it shows the problem. > > I tried changing libraries and jdt dependencies, but not succes... > what can it be?...anyone has this problem too? > > Thanks. > > Felipe Piccolini M. > [EMAIL PROTECTED] > > > > > > _______________________________________________ > rules-users mailing list > rules-users@lists.jboss.org > https://lists.jboss.org/mailman/listinfo/rules-users > > -- View this message in context: http://www.nabble.com/MVEL-VariableResolverFactory-problem-on-eclipse-tf4563677.html#a13026772 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 End of rules-users Digest, Vol 11, Issue 26 *******************************************
<<winmail.dat>>
_______________________________________________ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users