[rules-dev] Creating DSLR


Hi,
I have small doubt in rules engine. I have downloaded the example and successfully ran those ones.

For generating the drl file I used .brl file, for this I have used guide editor.

Similarly is there any other way to generate the .dslr file using .dsl file?

My requirement is automatically create the DSLR file by using dsl file. Is it possible with drools IDE?

Ahead Together,
Sarath Kumar Daruru

Associate Technical Lead - (TEG) | BlueAlly (A Megasoft Division)
Megasoft Limited| 6-3-1192/2/1| Kundanbagh| Begumpet| Hyderabad-16|
Phone: +91 40 4033 0000 Extension 8175
Mobile: +91 994 999 3152
Email: sarathd <at> blueally.com

-----Original Message-----
From: rules-dev-bounces <at> lists.jboss.org [mailto:rules-dev-bounces <at> lists.jboss.org] On Behalf Of rules-dev-request <at> lists.jboss.org
Sent: Thursday, January 01, 2009 10:30 PM
To: rules-dev <at> lists.jboss.org
Subject: rules-dev Digest, Vol 25, Issue 1

Send rules-dev mailing list submissions to
        rules-dev <at> lists.jboss.org

To subscribe or unsubscribe via the World Wide Web, visit
        https://lists.jboss.org/mailman/listinfo/rules-dev
(Continue reading)

Michael Neale | 9 Jan 07:50
Picon
Gravatar

Re: [rules-dev] community skype meetings

What are the limitations of skype re number of users ? I thought it  
was only a few.

Other options are elliminate, bit that means only a few can speak at a  
time, and the voice quality is limited, we we can share notes and a  
whiteboard and host as many people as needed (I have tested the client  
on windows, mac, and Linux and it works, just not as nice as skype).

Sent from my phone.

On 29/12/2008, at 12:44, Mark Proctor <mproctor <at> codehaus.org> wrote:

> Does anyone here like the idea of community skype meetings? We  
> already have irc which is very open, but nothing is ever scheduled,  
> we could schedule a once a month (more if demand needs) skype  
> meeting. What do people think, and what would people like to discuss?
>
> Mark
>
> _______________________________________________
> rules-dev mailing list
> rules-dev <at> lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-dev
_______________________________________________
rules-dev mailing list
rules-dev <at> lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-dev

Michael Neale | 9 Jan 07:52
Picon
Gravatar

Re: [rules-dev] Enumeration inconsistency in Guvnor

Hi dave.

The dsl has been corrected just the other day. If decision table still  
does it do you mind creating a jira in the GUVNOR project, and I will  
correct it.

Sent from my phone.

On 01/01/2009, at 5:29, "David Sinclair"  
<dsinclair <at> chariotsolutions.com> wrote:

> When using the business guided editor for building a rule and  
> choosing a field for which an enumeration is defined such as
>
> 'Person.age' : ['1=one', '2=two', '3=three']
>
> it will show the description, ie one, two, three. But when  
> configured using a DSL or in the web based decision table, they are  
> shown as 1=one, 2=two, 3=three.
>
> Was this done purposely, or is this an omission? I am using the  
> trunk as of a couple of days ago.
>
> thanks
>
> dave
> _______________________________________________
> rules-dev mailing list
> rules-dev <at> lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-dev
(Continue reading)

Ahti Kitsik | 9 Jan 08:48
Picon

Re: [rules-dev] community skype meetings

Previously skype had a product called Skypecast that enabled many (in theory hundreds) people to join a talk, have a moderator etc. For free.

But since September 1st 2008 it's discontinued (http://skypecasts.skype.com/intl/en-us/).

AFAIK a regular skype voice conference call can host maximum 25 people.

The idea of having this kind of voice conf is excellent, I'd definitely join from time to time!

--
Ahti Kitsik
Founder & Chief Coder <at> Codehoop

Eclipse RCP development, Open Source consulting
Read more: http://www.codehoop.com
My blog: http://ahtik.com/blog

On Fri, Jan 9, 2009 at 8:50 AM, Michael Neale <michael.neale <at> gmail.com> wrote:
What are the limitations of skype re number of users ? I thought it was only a few.

Other options are elliminate, bit that means only a few can speak at a time, and the voice quality is limited, we we can share notes and a whiteboard and host as many people as needed (I have tested the client on windows, mac, and Linux and it works, just not as nice as skype).

Sent from my phone.


On 29/12/2008, at 12:44, Mark Proctor <mproctor <at> codehaus.org> wrote:

Does anyone here like the idea of community skype meetings? We already have irc which is very open, but nothing is ever scheduled, we could schedule a once a month (more if demand needs) skype meeting. What do people think, and what would people like to discuss?

Mark



_______________________________________________
rules-dev mailing list
rules-dev <at> lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-dev
Michael Neale | 9 Jan 10:44
Picon
Gravatar

Re: [rules-dev] LiteralRestriction NPE

Hi dave.

So that was found when running the verifier - but you chased it down  
to double handling ?

If so, a bug report would be awesome as all the databtype permutations  
are awesome.

Sent from my phone.

On 30/12/2008, at 12:34, "David Sinclair" <dsinclair <at> chariotsolutions.com 
 > wrote:

> Found a NullPointerException when using the verifier module.  
> LiteralRestriction.setValue blows chunks, when the value is null. It  
> sucks that Double.parseDouble doesn't behave the same as  
> Integer.parseInt which handles nulls.
>
> java.lang.NullPointerException
>     at sun.misc.FloatingDecimal.readJavaFormatString 
> (FloatingDecimal.java:991)
>     at java.lang.Double.parseDouble(Double.java:510)
>     at org.drools.verifier.components.LiteralRestriction.setValue 
> (LiteralRestriction.java:128)
>     at org.drools.verifier.PackageDescrFlattener.flatten 
> (PackageDescrFlattener.java:688)
>     at org.drools.verifier.PackageDescrFlattener.flatten 
> (PackageDescrFlattener.java:123)
>     at org.drools.verifier.PackageDescrFlattener.flatten 
> (PackageDescrFlattener.java:572)
>     at org.drools.verifier.PackageDescrFlattener.flatten 
> (PackageDescrFlattener.java:562)
>     at org.drools.verifier.PackageDescrFlattener.flatten 
> (PackageDescrFlattener.java:119)
>     at org.drools.verifier.PackageDescrFlattener.flatten 
> (PackageDescrFlattener.java:482)
>     at org.drools.verifier.PackageDescrFlattener.flatten 
> (PackageDescrFlattener.java:183)
>     at org.drools.verifier.PackageDescrFlattener.flatten 
> (PackageDescrFlattener.java:529)
>     at org.drools.verifier.PackageDescrFlattener.flatten 
> (PackageDescrFlattener.java:113)
>     at org.drools.verifier.PackageDescrFlattener.flatten 
> (PackageDescrFlattener.java:482)
>     at org.drools.verifier.PackageDescrFlattener.flatten 
> (PackageDescrFlattener.java:410)
>     at org.drools.verifier.PackageDescrFlattener.flatten 
> (PackageDescrFlattener.java:111)
>     at org.drools.verifier.PackageDescrFlattener.flatten 
> (PackageDescrFlattener.java:389)
>     at  
> org.drools.verifier.PackageDescrFlattener.addPackageDescrToData 
> (PackageDescrFlattener.java:96)
>     at org.drools.verifier.Verifier.addPackageDescr(Verifier.java:32)
>     at  
> com.sungard.cmdb.generator.RuleGenerator.createValidationPackage 
> (RuleGenerator.java:370)
>     at com.sungard.cmdb.generator.RuleGenerator.generateCode 
> (RuleGenerator.java:273)
>     at com.sungard.cmdb.generator.JarBasedCodeGenerator.main 
> (JarBasedCodeGenerator.java:156)
> _______________________________________________
> rules-dev mailing list
> rules-dev <at> lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-dev
_______________________________________________
rules-dev mailing list
rules-dev <at> lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-dev

Toni Rikkola | 9 Jan 11:32
Picon
Favicon

Re: [rules-dev] LiteralRestriction NPE

This one was been fixed.

https://jira.jboss.org/jira/browse/JBRULES-1906

Toni

Michael Neale wrote:
> Hi dave.
>
> So that was found when running the verifier - but you chased it down 
> to double handling ?
>
> If so, a bug report would be awesome as all the databtype permutations 
> are awesome.
>
> Sent from my phone.
>
> On 30/12/2008, at 12:34, "David Sinclair" 
> <dsinclair <at> chariotsolutions.com> wrote:
>
>> Found a NullPointerException when using the verifier module. 
>> LiteralRestriction.setValue blows chunks, when the value is null. It 
>> sucks that Double.parseDouble doesn't behave the same as 
>> Integer.parseInt which handles nulls.
>>
>> java.lang.NullPointerException
>> at 
>> sun.misc.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:991)
>> at java.lang.Double.parseDouble(Double.java:510)
>> at 
>> org.drools.verifier.components.LiteralRestriction.setValue(LiteralRestriction.java:128) 
>>
>> at 
>> org.drools.verifier.PackageDescrFlattener.flatten(PackageDescrFlattener.java:688) 
>>
>> at 
>> org.drools.verifier.PackageDescrFlattener.flatten(PackageDescrFlattener.java:123) 
>>
>> at 
>> org.drools.verifier.PackageDescrFlattener.flatten(PackageDescrFlattener.java:572) 
>>
>> at 
>> org.drools.verifier.PackageDescrFlattener.flatten(PackageDescrFlattener.java:562) 
>>
>> at 
>> org.drools.verifier.PackageDescrFlattener.flatten(PackageDescrFlattener.java:119) 
>>
>> at 
>> org.drools.verifier.PackageDescrFlattener.flatten(PackageDescrFlattener.java:482) 
>>
>> at 
>> org.drools.verifier.PackageDescrFlattener.flatten(PackageDescrFlattener.java:183) 
>>
>> at 
>> org.drools.verifier.PackageDescrFlattener.flatten(PackageDescrFlattener.java:529) 
>>
>> at 
>> org.drools.verifier.PackageDescrFlattener.flatten(PackageDescrFlattener.java:113) 
>>
>> at 
>> org.drools.verifier.PackageDescrFlattener.flatten(PackageDescrFlattener.java:482) 
>>
>> at 
>> org.drools.verifier.PackageDescrFlattener.flatten(PackageDescrFlattener.java:410) 
>>
>> at 
>> org.drools.verifier.PackageDescrFlattener.flatten(PackageDescrFlattener.java:111) 
>>
>> at 
>> org.drools.verifier.PackageDescrFlattener.flatten(PackageDescrFlattener.java:389) 
>>
>> at 
>>
org.drools.verifier.PackageDescrFlattener.addPackageDescrToData(PackageDescrFlattener.java:96) 
>>
>> at org.drools.verifier.Verifier.addPackageDescr(Verifier.java:32)
>> at 
>> com.sungard.cmdb.generator.RuleGenerator.createValidationPackage(RuleGenerator.java:370) 
>>
>> at 
>> com.sungard.cmdb.generator.RuleGenerator.generateCode(RuleGenerator.java:273) 
>>
>> at 
>> com.sungard.cmdb.generator.JarBasedCodeGenerator.main(JarBasedCodeGenerator.java:156) 
>>
>> _______________________________________________
>> rules-dev mailing list
>> rules-dev <at> lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/rules-dev
> _______________________________________________
> rules-dev mailing list
> rules-dev <at> lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-dev

_______________________________________________
rules-dev mailing list
rules-dev <at> lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-dev

Mark Proctor | 9 Jan 16:09

Re: [rules-dev] community skype meetings

Ahti Kitsik wrote:
Previously skype had a product called Skypecast that enabled many (in theory hundreds) people to join a talk, have a moderator etc. For free.

But since September 1st 2008 it's discontinued (http://skypecasts.skype.com/intl/en-us/).

AFAIK a regular skype voice conference call can host maximum 25 people.
I suspect we wouldn't be near that number anyway.

Mark

The idea of having this kind of voice conf is excellent, I'd definitely join from time to time!

--
Ahti Kitsik
Founder & Chief Coder <at> Codehoop

Eclipse RCP development, Open Source consulting
Read more: http://www.codehoop.com
My blog: http://ahtik.com/blog

On Fri, Jan 9, 2009 at 8:50 AM, Michael Neale <michael.neale <at> gmail.com> wrote:
What are the limitations of skype re number of users ? I thought it was only a few.

Other options are elliminate, bit that means only a few can speak at a time, and the voice quality is limited, we we can share notes and a whiteboard and host as many people as needed (I have tested the client on windows, mac, and Linux and it works, just not as nice as skype).

Sent from my phone.


On 29/12/2008, at 12:44, Mark Proctor <mproctor <at> codehaus.org> wrote:

Does anyone here like the idea of community skype meetings? We already have irc which is very open, but nothing is ever scheduled, we could schedule a once a month (more if demand needs) skype meeting. What do people think, and what would people like to discuss?

Mark



_______________________________________________ rules-dev mailing list rules-dev <at> lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-dev

_______________________________________________
rules-dev mailing list
rules-dev <at> lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-dev
Michael Neale | 12 Jan 01:12
Picon
Gravatar

[rules-dev] Scala

Hey All. I have been looking into scala for sometime, and recently
started using it for a testing tool (kind of a replacement for the
"fit for rules" library).
I have been quite impressed with it, the tool integration (with
intelliJ) is outstanding, and it works nice with maven (even with
mixed java source).

Assuming this goes well, I am thinking of extending the usage of scala
to the server side components of bits of guvnor (obviously the client
is still GWT). Probably in a small way at first (I have found that
common annoying bits of code in java can be much clearer in scala -
examples to come !).

I was interested in what people think about this? Does it make it
harder for people to get into the code (I am not aiming to write the
densest scala, just use it when approriate)?

The main downsides I see are: Eclipse support - the plugin for eclipse
for scala is not great at the moment (netbeans or intelliJ would be
better), and general familiarity for people to read (although I
personally think it would take anyone who reads this list minutes to
learn enough to follow the simple things I would do).

Thoughts? Objections?

FAQ: Why scala? well its closer to java in intent then all other
popular JVM languages (ie its static) and compiles down similarly to
result in similar performance (better in some cases). I use "closures"
a lot (thanks to GWT that got be in the habit) but the inner class way
of doing it in java gets combersome.

--

-- 
Michael D Neale
home: www.michaelneale.net
blog: michaelneale.blogspot.com
_______________________________________________
rules-dev mailing list
rules-dev <at> lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-dev

Chun, Byung C | 12 Jan 02:25
Favicon

Re: [rules-dev] Scala

I'm only an observer to this list, although greatly impressed by what you guys have accomplished,
outstanding to be honest. Just a quick question though, have you looked at Groovy? Not to get into
religious language wars, but you might get the same compactness and literate style with perhaps more
fluid integration w Java code.

Jin 
Mobile: 857-222-7518

----- Original Message -----
From: rules-dev-bounces <at> lists.jboss.org <rules-dev-bounces <at> lists.jboss.org>
To: Rules Dev List <rules-dev <at> lists.jboss.org>
Sent: Sun Jan 11 19:12:45 2009
Subject: [rules-dev] Scala

Hey All. I have been looking into scala for sometime, and recently
started using it for a testing tool (kind of a replacement for the
"fit for rules" library).
I have been quite impressed with it, the tool integration (with
intelliJ) is outstanding, and it works nice with maven (even with
mixed java source).

Assuming this goes well, I am thinking of extending the usage of scala
to the server side components of bits of guvnor (obviously the client
is still GWT). Probably in a small way at first (I have found that
common annoying bits of code in java can be much clearer in scala -
examples to come !).

I was interested in what people think about this? Does it make it
harder for people to get into the code (I am not aiming to write the
densest scala, just use it when approriate)?

The main downsides I see are: Eclipse support - the plugin for eclipse
for scala is not great at the moment (netbeans or intelliJ would be
better), and general familiarity for people to read (although I
personally think it would take anyone who reads this list minutes to
learn enough to follow the simple things I would do).

Thoughts? Objections?

FAQ: Why scala? well its closer to java in intent then all other
popular JVM languages (ie its static) and compiles down similarly to
result in similar performance (better in some cases). I use "closures"
a lot (thanks to GWT that got be in the habit) but the inner class way
of doing it in java gets combersome.

--

-- 
Michael D Neale
home: www.michaelneale.net
blog: michaelneale.blogspot.com
_______________________________________________
rules-dev mailing list
rules-dev <at> lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-dev

_______________________________________________
rules-dev mailing list
rules-dev <at> lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-dev

Mark Proctor | 12 Jan 02:57

Re: [rules-dev] Scala

Chun, Byung C wrote:
> I'm only an observer to this list, although greatly impressed by what you guys have accomplished,
outstanding to be honest. Just a quick question though, have you looked at Groovy? Not to get into
religious language wars, but you might get the same compactness and literate style with perhaps more
fluid integration w Java code.
>   
Groovy isn't a statically typed language, which imho doesn't make it 
suitable for large complex projects. It was partly for that reason, and 
performance both runtime and compilation time, that we went with MVEL 
for the default consequence language over groovy.
> Jin 
> Mobile: 857-222-7518
>
> ----- Original Message -----
> From: rules-dev-bounces <at> lists.jboss.org <rules-dev-bounces <at> lists.jboss.org>
> To: Rules Dev List <rules-dev <at> lists.jboss.org>
> Sent: Sun Jan 11 19:12:45 2009
> Subject: [rules-dev] Scala
>
> Hey All. I have been looking into scala for sometime, and recently
> started using it for a testing tool (kind of a replacement for the
> "fit for rules" library).
> I have been quite impressed with it, the tool integration (with
> intelliJ) is outstanding, and it works nice with maven (even with
> mixed java source).
>
> Assuming this goes well, I am thinking of extending the usage of scala
> to the server side components of bits of guvnor (obviously the client
> is still GWT). Probably in a small way at first (I have found that
> common annoying bits of code in java can be much clearer in scala -
> examples to come !).
>
> I was interested in what people think about this? Does it make it
> harder for people to get into the code (I am not aiming to write the
> densest scala, just use it when approriate)?
>
> The main downsides I see are: Eclipse support - the plugin for eclipse
> for scala is not great at the moment (netbeans or intelliJ would be
> better), and general familiarity for people to read (although I
> personally think it would take anyone who reads this list minutes to
> learn enough to follow the simple things I would do).
>
> Thoughts? Objections?
>
> FAQ: Why scala? well its closer to java in intent then all other
> popular JVM languages (ie its static) and compiles down similarly to
> result in similar performance (better in some cases). I use "closures"
> a lot (thanks to GWT that got be in the habit) but the inner class way
> of doing it in java gets combersome.
>
>   

_______________________________________________
rules-dev mailing list
rules-dev <at> lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-dev


Gmane