[rules-users] RE: Reverse Engineering
Sikkandar Nawabjan
Sikkandar.Nawabjan at ust-global.com
Mon Dec 17 03:08:16 EST 2007
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
sikkandar.nawabjan at ust-global.com <mailto:sikkandar.nawabjan at ust-global.com>
T: +91-471-2335777 Extn: 6802036
M: +91-9946555330
F: +91-471-2527276
________________________________
From: rules-users-bounces at lists.jboss.org on behalf of rules-users-request at lists.jboss.org
Sent: Thu 10/4/2007 1:32 AM
To: rules-users at lists.jboss.org
Subject: rules-users Digest, Vol 11, Issue 26
Send rules-users mailing list submissions to
rules-users at 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
rules-users-request at lists.jboss.org
You can reach the person managing the list at
rules-users-owner at lists.jboss.org
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" <mepstein at symark.com>
Subject: [rules-users] Rule Compilation error
To: <rules-users at lists.jboss.org>
Message-ID: <GIEDKOGGENKAICNCOMICGEAFCAAA.mepstein at symark.com>
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 <felipe.piccolini at bluesoft.cl>
Subject: [rules-users] MVEL VariableResolverFactory problem on eclipse
To: Rules Users List <rules-users at lists.jboss.org>
Message-ID: <813CC3C8-5C6B-42C0-91E7-786A292B9A06 at bluesoft.cl>
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.
felipe.piccolini at bluesoft.cl
-------------- 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" <godmar at gmail.com>
Subject: [rules-users] suggestion for drl grammar: single-element
constraints
To: "Rules Users List" <rules-users at lists.jboss.org>
Message-ID:
<719dced30710031138y3996a848p3ada4c4bc4bca68b at mail.gmail.com>
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" <SManukyan at lear.com>
Subject: RE: [rules-users] rules precompilation
To: "Rules Users List" <rules-users at lists.jboss.org>
Message-ID:
<4E03EDD62CB1CB4599E6BD71DBEDFD2002AD17C8 at usmitry-exm1.corp.lear.com>
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: rules-users-bounces at lists.jboss.org
[mailto:rules-users-bounces at lists.jboss.org] 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: rules-users-bounces at lists.jboss.org
[mailto:rules-users-bounces at lists.jboss.org] 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 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
------------------------------
Message: 5
Date: Wed, 3 Oct 2007 14:39:32 -0500
From: "Jin, Ming" <Ming.Jin at travelocity.com>
Subject: RE: [rules-users] rules precompilation
To: "Rules Users List" <rules-users at lists.jboss.org>
Message-ID:
<E84FE257D840B34FA428A3C281A111440916A775 at sgtulmsp03.Global.ad.sabre.com>
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: rules-users-bounces at lists.jboss.org
[mailto:rules-users-bounces at lists.jboss.org] 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: rules-users-bounces at lists.jboss.org
[mailto:rules-users-bounces at lists.jboss.org] 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: rules-users-bounces at lists.jboss.org
[mailto:rules-users-bounces at lists.jboss.org] 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 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
_______________________________________________
rules-users mailing list
rules-users at 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" <SManukyan at lear.com>
Subject: RE: [rules-users] rules precompilation
To: "Rules Users List" <rules-users at lists.jboss.org>
Message-ID:
<4E03EDD62CB1CB4599E6BD71DBEDFD2002AD17E5 at usmitry-exm1.corp.lear.com>
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: rules-users-bounces at lists.jboss.org
[mailto:rules-users-bounces at lists.jboss.org] 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: rules-users-bounces at lists.jboss.org
[mailto:rules-users-bounces at lists.jboss.org] 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: rules-users-bounces at lists.jboss.org
[mailto:rules-users-bounces at lists.jboss.org] 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: rules-users-bounces at lists.jboss.org
[mailto:rules-users-bounces at lists.jboss.org] 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 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
_______________________________________________
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
------------------------------
Message: 7
Date: Wed, 3 Oct 2007 13:02:12 -0700 (PDT)
From: ekke <ekkehard at gentz-software.de>
Subject: Re: [rules-users] MVEL VariableResolverFactory problem on
eclipse
To: rules-users at lists.jboss.org
Message-ID: <13026772.post at talk.nabble.com>
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.
> felipe.piccolini at bluesoft.cl
>
>
>
>
>
> _______________________________________________
> rules-users mailing list
> rules-users at 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 at lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users
End of rules-users Digest, Vol 11, Issue 26
*******************************************
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/ms-tnef
Size: 17984 bytes
Desc: not available
Url : http://lists.jboss.org/pipermail/rules-users/attachments/20071217/15ed35c8/attachment.bin
More information about the rules-users
mailing list