Re: [rules-users] maven drools compiler (plugin)

2012-04-06 Thread Wolfgang Laun
I have two comments in connection with this Maven plugin:

* The documentation only mentions .drl as input. I can see that users
will ask for (at leasT) .dsl/.dslr and .xls.

* Type .dkm is introduced, but isn't this the same as
ResourceType.PKG, for which the file type .pkg could have been used.
Or was .dkm introduced to avoid a clash with the Apple type .pkg? Not
likely. A match between file type and ResourceType would avoid
confusion.

Thanks
-W



On 06/04/2012, Geoffrey De Smet  wrote:
> Hey Ansgar,
>
> Your plugin is by far the best maven plugin for drools out there. Nice work.
>
> Would you be interested in moving the code into
>https://github.com/droolsjbpm/droolsjbpm-tools
> next to drools-ant?
>
> Advantages:
> - It would be released together with the rest of the drools, using the
> latest drools version
> - It would be automatically synced to maven central
> - It would get more exposure, as it will be documented in our documentation
> - Others (including us) will start improving it too
>
> Disadvantages:
> - At first, you 'd have to fork it and create pull requests to get your
> changes back into blessed (but I can guarantee I 'll merge any
> non-conflicting pull requests frequently and won't let them go stale)
> - We 'd need at least a few lines of documentation in:
>
> https://github.com/droolsjbpm/drools/tree/master/drools-docs/drools-expert-docs
>
> We can worry about the more advanced features (such as aether usage)
> later, just getting an official maven plugin for drools out there will
> help a lot of people.
>
> Op 05-04-12 23:01, Ansgar Konermann schreef:
>>
>>
>> Am 05.04.2012 21:48 schrieb "Sean Su" > >:
>> >
>> > Hello, guys,
>> >
>> > I did some search online and it seems we do not have any official
>> plugin that allows us to compile Drools rules as part of the maven build.
>>
>> There is already a jira issue for it:
>> https://issues.jboss.org/browse/JBRULES-1273
>>
>> Result so far: http://passion.forco.de/content/maven-drools-plugin
>>
>> Feel free to try it and let me know if you miss anything.
>>
>> Best regards,
>>
>> Ansgar
>>
>>
>>
>> >
>> > Is this the case or I have not found it yet?
>> >
>> > Thanks for the help.
>> >
>> > Sean
>> >
>> > --
>> > "But beware of the Dark Side. Anger, fear, aggression - the Dark
>> Side of the Force are they." -Yoda
>> >
>> > ___
>> > 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
>
> --
> With kind regards,
> Geoffrey De Smet
>
>
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


[rules-users] debug

2012-04-06 Thread grandjean
Hi
I am a newbie and i would like to use debugging mode under eclipse indigo
sr2 with drools 5.3. 

So, I created a very simple drools Helloworld project.

I added two breakpoints, one in the 'then' section of the 'goodbye' rule and
the other one in the line where I call fireAllRules();

I selected the main class and right clicked so as to select 'Debug As Drools
Application'

So, it stops on the FireeAllRules() but it doesn't stop on the rule
breakpoint.

In addition, the Agenda, Working Memory views are totally blank

How can I get a working debug mode?

Thks in advance

Bruno Grandjean

--

--
View this message in context: 
http://drools.46999.n3.nabble.com/debug-tp3889858p3889858.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


Re: [rules-users] KnowledgeAgent Changeset problems

2012-04-06 Thread albertorugnone
This is what I have

11:36:48,888 [it.ipiu.drools.KnowledgeAgent.TestKnowledgeAgent] WARN 
TestKnowledgeAgent : START
[2012-04-06 11:36:50,298:info] KnowledgeAgent applying ChangeSet
[2012-04-06 11:36:50,316:debug] KnowledgeAgent subscribing to
directory=[UrlResource path='file:/Z:/EXP/drools-test/knowledge']
[2012-04-06 11:36:50,318:debug] KnowledgeAgent mapping
resource=[FileResource file='Z:\EXP\drools-test\knowledge\test.drl'] to
KnowledgeDefinition=null
[2012-04-06 11:36:50,318:debug] KnowledgeAgent notifier subscribing to
resource=[FileResource file='Z:\EXP\drools-test\knowledge\test.drl']
[2012-04-06 11:36:50,318:debug] KnowledgeAgent notifier subscribing to
resource=[FileResource file='Z:\EXP\drools-test\knowledge\test.drl']
[2012-04-06 11:36:50,318:debug] KnowledgeAgent rebuilding KnowledgeBase
using ChangeSet
[2012-04-06 11:36:50,659:info] KnowledgeAgent performing an incremental
build of the ChangeSet
[2012-04-06 11:36:52,176:debug] KnowledgeAgent building resource map
[2012-04-06 11:36:52,176:debug] KnowledgeAgent no resource mapped for
rule=[Rule name=test rule, agendaGroup=MAIN, salience=0, no-loop=false]
[2012-04-06 11:36:52,177:debug] KnowledgeAgent mapping
resource=[FileResource file='Z:\EXP\drools-test\knowledge\test.drl'] to
KnowledgeDefinition=[Rule name=test rule, agendaGroup=MAIN, salience=0,
no-loop=false]
[2012-04-06 11:36:52,177:info] KnowledgeAgent incremental build of
KnowledgeBase finished and in use
[2012-04-06 11:36:52,177:debug] KnowledgeAgent finished rebuilding
KnowledgeBase using ChangeSet
11:36:52,357 [it.ipiu.drools.KnowledgeAgent.TestKnowledgeAgent] WARN 
TestKnowledgeAgent : END
ciao
ciao
ciao
...
[2012-04-06 11:37:19,264:debug] KnowledgeAgent received ChangeSet changed
notification
[2012-04-06 11:37:19,264:info] KnowledgeAgent applying ChangeSet
[2012-04-06 11:37:19,265:debug] KnowledgeAgent removing mappings for
resource=[FileResource file='Z:\EXP\drools-test\knowledge\test.drl'] with
unsubscribe=false
[2012-04-06 11:37:19,265:debug] KnowledgeAgent rebuilding KnowledgeBase
using ChangeSet
[2012-04-06 11:37:19,270:info] KnowledgeAgent performing an incremental
build of the ChangeSet
[2012-04-06 11:37:19,296:debug] KnowledgeAgent: Diffing: [FileResource
file='Z:\EXP\drools-test\knowledge\test.drl']
[2012-04-06 11:37:19,316:debug] KnowledgeAgent mapping
resource=[FileResource file='Z:\EXP\drools-test\knowledge\test.drl'] to
KnowledgeDefinition=[Rule name=test rule, agendaGroup=MAIN, salience=0,
no-loop=false]
[2012-04-06 11:37:19,317:debug] KnowledgeAgent building resource map
[2012-04-06 11:37:19,317:debug] KnowledgeAgent no resource mapped for
rule=[Rule name=test rule, agendaGroup=MAIN, salience=0, no-loop=false]
[2012-04-06 11:37:19,317:info] KnowledgeAgent incremental build of
KnowledgeBase finished and in use
[2012-04-06 11:37:19,317:debug] KnowledgeAgent finished rebuilding
KnowledgeBase using ChangeSet


--
View this message in context: 
http://drools.46999.n3.nabble.com/KnowledgeAgent-Changeset-problems-tp3787165p3889881.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


[rules-users] Suscribe : my email

2012-04-06 Thread quentin chevalier
Hello,

There is my email : quentin.chevalier.alt...@gmail.com

Thx & regards
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


Re: [rules-users] make the Guvnor interface into French

2012-04-06 Thread Qchevalier
Hello,

I got your last file (Constants_fr_FR.properties) Vincent, but I found a lot
of errors. So here is my corrected file :
http://drools.46999.n3.nabble.com/file/n3889908/Constants_fr_FR.properties
Constants_fr_FR.properties 

I didn't manage to integrate this file into the guvnor war file.

I understood that I have to rebuild the sources of guvnor, but I didn't
manage to do it. I found several documentations about "how to build guvnor
sources" but each time it was either old instructions, either partial
instructions.

Can you share a good instruction source?

Thanks & Regards,

Quentin


--
View this message in context: 
http://drools.46999.n3.nabble.com/rules-users-make-the-Guvnor-interface-into-French-tp3737267p3889908.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


[rules-users] UnSubscribe:my mail.

2012-04-06 Thread Manohar Kokkula
Hello,

Please unsubscribe my mail: manohar.kokk...@tcs.com.
Thanks in advance.



Manohar Kokkula
Mailto: manohar.kokk...@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


[rules-users] StatelessSession

2012-04-06 Thread Hassan
hello everyone

actually I'm working with stateless session, I know we can pass a list of
objects in the session but I do not know how to pass objects of different
types, I do not even know if that's possible.

I will be grateful :)

-
Youssef AZBAKH.
--
View this message in context: 
http://drools.46999.n3.nabble.com/StatelessSession-tp3890043p3890043.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


Re: [rules-users] [Drools Planner] Proof-of-Concept Stock-planning System

2012-04-06 Thread drools

Thank you, Geoffrey!
 
This is the answer I was hoping for and it confirms my understanding of this 
problem.
 
Indeed it looks like it will be a standard implementation (since it is (A) and 
(C)).
 
The reason I was willing to ask the community is that current (non-optimizied 
prototype solution) takes approx. 32 hours to complete. But I am pretty sure 
that optimized move factory, rule definitions and engine configuration will 
move the completion time down to expected 6 hours.
 -Original-Nachricht- 
> Von: "Geoffrey De Smet"  
> An: rules-users@lists.jboss.org 
> Datum: 05-04-2012 11:34 
> Betreff: Re: [rules-users] [Drools Planner] Proof-of-Concept Stock-planning 
> System 
> 
> Op 03-04-12 23:10, Reinis schreef:
> > Hello,
> >
> > I want to ask you, guys, if you could guess if it is possible or
> > probable to build such a System with Drools Planner:
> >
> > The system shall plan the best time where the transport unit (TU) has to
> > be input into stock system to reach set delivery deadlines, utilization
> > of resources and load balancing of bottle necks (all expressed as rules).
> >
> > Most of things (resource capacity, route within the stock system, etc.)
> > are given and constant facts. Actually there is only one planning
> > variable - time interval of a transport unit characterizing retention
> > period within a given Resource. Like this:
> >
> > TU#1 is in Resource #A from 11:00 till 11:30<- the optimal interval has
> > to be planned
> Is the value range something like this:
> (A)
> - 10:00 till 10:30
> - 10:30 till 11:00
> - 11:00 till 11:30
> - 11:30 till 12:00
> Or like this?
> (B)
> - 11:00 till 11:15
> - 11:01 till 11:16
> - 11:02 till 11:17
> - 11:03 till 11:18
> ...
> From reading further, I presume (A).
> 
> > TU#1 is in Resource #B from 11:45 till 12:00<- the optimal interval has
> > to be planned
> >
> > TU#1 is in Resource #C from 12:30 till 13:00<- the optimal interval has
> > to be planned
> >
> > I have following problem size and constraints:
> > - TUs per day: 160'000
> > - Amount of resources a TU travel through: 3
> Do the TU need to go through it's 3 resources in a specific order?
> (C) No
> (D) Yes
> I presume it can not go through 2 resources at the same time.
> > - Average smallest time interval: 15 Min
> > - Planning period: 09:00 - 16:00 = 8 hours = 32 intervals
> > - Initial planning window: 4-6 hours
> > - continuous planning multiple batch execution time during the day after
> > addition and/or retraction of number of TUs: 20 minutes
> (E) This is repeated planning (see documentation manual if you haven't 
> already).
> > So the problem size would be(?):
> > (TUs * resources) ^ intervals = (160'000 * 3) ^ 32 = 6.305500958×10¹⁸¹
> That's not a big search space. In some examples I 've seen 10^6800.
> Of course, the search space isn't the only metric to take into account
> (but I haven't found a good way to measure the other metrics,
> such as how-constrained-is-the-problem, how-big-is-the-snowball-effect, 
> ...).
> > I know there is no one answer to this question. I would like only to get
> > your feeling on this problem. Would you take on solving this sort of
> > problem with drools planner?
> Definitely :)
> If it's (A) and (C), it should be an easy, standard implementation.
> If it's (B) and (D), then it becomes interesting :)
> 
> The only part I expect some rough edges is (E).
> I suspect you'll be asking for build-in support for "planning entity 
> locking" to do your continuous planning easily.
>   https://issues.jboss.org/browse/JBRULES-3359
> It's a PITA to do that yourself for now.
> > thanks and br
> > Reinis
> 
> -- 
> With kind regards,
> Geoffrey De Smet




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


Re: [rules-users] [Drools Planner] Proof-of-Concept Stock-planning System

2012-04-06 Thread Geoffrey De Smet
32 hours, that is very long, especially if you're talking about feasibility.
Feasibility much be attained within seconds or maybe 2 minutes.

So either your problem is very, very constrained (unlikely)
or there is much room for optimization.

Run the Benchmarker and enable the statistic BEST_SOLUTION_CHANGED.
Verify that you have a good graph, and not a bad graph. See this issue 
to see the difference:
   https://issues.jboss.org/browse/JBRULES-3451


Op 06-04-12 13:33, dro...@orbit-x.de schreef:
> Thank you, Geoffrey!
>   
> This is the answer I was hoping for and it confirms my understanding of this 
> problem.
>   
> Indeed it looks like it will be a standard implementation (since it is (A) 
> and (C)).
>   
> The reason I was willing to ask the community is that current (non-optimizied 
> prototype solution) takes approx. 32 hours to complete. But I am pretty sure 
> that optimized move factory, rule definitions and engine configuration will 
> move the completion time down to expected 6 hours.
>   -Original-Nachricht-
>> Von: "Geoffrey De Smet"
>> An: rules-users@lists.jboss.org
>> Datum: 05-04-2012 11:34
>> Betreff: Re: [rules-users] [Drools Planner] Proof-of-Concept Stock-planning 
>> System
>>
>> Op 03-04-12 23:10, Reinis schreef:
>>> Hello,
>>>
>>> I want to ask you, guys, if you could guess if it is possible or
>>> probable to build such a System with Drools Planner:
>>>
>>> The system shall plan the best time where the transport unit (TU) has to
>>> be input into stock system to reach set delivery deadlines, utilization
>>> of resources and load balancing of bottle necks (all expressed as rules).
>>>
>>> Most of things (resource capacity, route within the stock system, etc.)
>>> are given and constant facts. Actually there is only one planning
>>> variable - time interval of a transport unit characterizing retention
>>> period within a given Resource. Like this:
>>>
>>> TU#1 is in Resource #A from 11:00 till 11:30<- the optimal interval has
>>> to be planned
>> Is the value range something like this:
>> (A)
>> - 10:00 till 10:30
>> - 10:30 till 11:00
>> - 11:00 till 11:30
>> - 11:30 till 12:00
>> Or like this?
>> (B)
>> - 11:00 till 11:15
>> - 11:01 till 11:16
>> - 11:02 till 11:17
>> - 11:03 till 11:18
>> ...
>>  From reading further, I presume (A).
>>
>>> TU#1 is in Resource #B from 11:45 till 12:00<- the optimal interval has
>>> to be planned
>>>
>>> TU#1 is in Resource #C from 12:30 till 13:00<- the optimal interval has
>>> to be planned
>>>
>>> I have following problem size and constraints:
>>> - TUs per day: 160'000
>>> - Amount of resources a TU travel through: 3
>> Do the TU need to go through it's 3 resources in a specific order?
>> (C) No
>> (D) Yes
>> I presume it can not go through 2 resources at the same time.
>>> - Average smallest time interval: 15 Min
>>> - Planning period: 09:00 - 16:00 = 8 hours = 32 intervals
>>> - Initial planning window: 4-6 hours
>>> - continuous planning multiple batch execution time during the day after
>>> addition and/or retraction of number of TUs: 20 minutes
>> (E) This is repeated planning (see documentation manual if you haven't
>> already).
>>> So the problem size would be(?):
>>> (TUs * resources) ^ intervals = (160'000 * 3) ^ 32 = 6.305500958×10¹⁸¹
>> That's not a big search space. In some examples I 've seen 10^6800.
>> Of course, the search space isn't the only metric to take into account
>> (but I haven't found a good way to measure the other metrics,
>> such as how-constrained-is-the-problem, how-big-is-the-snowball-effect,
>> ...).
>>> I know there is no one answer to this question. I would like only to get
>>> your feeling on this problem. Would you take on solving this sort of
>>> problem with drools planner?
>> Definitely :)
>> If it's (A) and (C), it should be an easy, standard implementation.
>> If it's (B) and (D), then it becomes interesting :)
>>
>> The only part I expect some rough edges is (E).
>> I suspect you'll be asking for build-in support for "planning entity
>> locking" to do your continuous planning easily.
>>https://issues.jboss.org/browse/JBRULES-3359
>> It's a PITA to do that yourself for now.
>>> thanks and br
>>> Reinis
>> -- 
>> With kind regards,
>> Geoffrey De Smet
>
>
>
> ___
> rules-users mailing list
> rules-users@lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users

-- 
With kind regards,
Geoffrey De Smet


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


Re: [rules-users] [Drools Planner] Proof-of-Concept Stock-planning System

2012-04-06 Thread Geoffrey De Smet
I just realized that the graph only prints out values (the soft score) 
of the hard score = 0.
Since you don't reach feasibility early on, the graph will be zero.
Try to tmp hack it to get the graph by disabling soft constraints and 
putting the hard constraints values in the soft score.

With kind regards,
Geoffrey De Smet


Op 06-04-12 13:46, Geoffrey De Smet schreef:
> 32 hours, that is very long, especially if you're talking about 
> feasibility.
> Feasibility much be attained within seconds or maybe 2 minutes.
>
> So either your problem is very, very constrained (unlikely)
> or there is much room for optimization.
>
> Run the Benchmarker and enable the statistic BEST_SOLUTION_CHANGED.
> Verify that you have a good graph, and not a bad graph. See this issue 
> to see the difference:
>   https://issues.jboss.org/browse/JBRULES-3451
>
>
> Op 06-04-12 13:33, dro...@orbit-x.de schreef:
>> Thank you, Geoffrey!
>>   This is the answer I was hoping for and it confirms my 
>> understanding of this problem.
>>   Indeed it looks like it will be a standard implementation (since it 
>> is (A) and (C)).
>>   The reason I was willing to ask the community is that current 
>> (non-optimizied prototype solution) takes approx. 32 hours to 
>> complete. But I am pretty sure that optimized move factory, rule 
>> definitions and engine configuration will move the completion time 
>> down to expected 6 hours.
>>   -Original-Nachricht-
>>> Von: "Geoffrey De Smet"
>>> An: rules-users@lists.jboss.org
>>> Datum: 05-04-2012 11:34
>>> Betreff: Re: [rules-users] [Drools Planner] Proof-of-Concept 
>>> Stock-planning System
>>>
>>> Op 03-04-12 23:10, Reinis schreef:
 Hello,

 I want to ask you, guys, if you could guess if it is possible or
 probable to build such a System with Drools Planner:

 The system shall plan the best time where the transport unit (TU) 
 has to
 be input into stock system to reach set delivery deadlines, 
 utilization
 of resources and load balancing of bottle necks (all expressed as 
 rules).

 Most of things (resource capacity, route within the stock system, 
 etc.)
 are given and constant facts. Actually there is only one planning
 variable - time interval of a transport unit characterizing retention
 period within a given Resource. Like this:

 TU#1 is in Resource #A from 11:00 till 11:30<- the optimal interval 
 has
 to be planned
>>> Is the value range something like this:
>>> (A)
>>> - 10:00 till 10:30
>>> - 10:30 till 11:00
>>> - 11:00 till 11:30
>>> - 11:30 till 12:00
>>> Or like this?
>>> (B)
>>> - 11:00 till 11:15
>>> - 11:01 till 11:16
>>> - 11:02 till 11:17
>>> - 11:03 till 11:18
>>> ...
>>>  From reading further, I presume (A).
>>>
 TU#1 is in Resource #B from 11:45 till 12:00<- the optimal interval 
 has
 to be planned

 TU#1 is in Resource #C from 12:30 till 13:00<- the optimal interval 
 has
 to be planned

 I have following problem size and constraints:
 - TUs per day: 160'000
 - Amount of resources a TU travel through: 3
>>> Do the TU need to go through it's 3 resources in a specific order?
>>> (C) No
>>> (D) Yes
>>> I presume it can not go through 2 resources at the same time.
 - Average smallest time interval: 15 Min
 - Planning period: 09:00 - 16:00 = 8 hours = 32 intervals
 - Initial planning window: 4-6 hours
 - continuous planning multiple batch execution time during the day 
 after
 addition and/or retraction of number of TUs: 20 minutes
>>> (E) This is repeated planning (see documentation manual if you haven't
>>> already).
 So the problem size would be(?):
 (TUs * resources) ^ intervals = (160'000 * 3) ^ 32 = 6.305500958×10¹⁸¹
>>> That's not a big search space. In some examples I 've seen 10^6800.
>>> Of course, the search space isn't the only metric to take into account
>>> (but I haven't found a good way to measure the other metrics,
>>> such as how-constrained-is-the-problem, how-big-is-the-snowball-effect,
>>> ...).
 I know there is no one answer to this question. I would like only 
 to get
 your feeling on this problem. Would you take on solving this sort of
 problem with drools planner?
>>> Definitely :)
>>> If it's (A) and (C), it should be an easy, standard implementation.
>>> If it's (B) and (D), then it becomes interesting :)
>>>
>>> The only part I expect some rough edges is (E).
>>> I suspect you'll be asking for build-in support for "planning entity
>>> locking" to do your continuous planning easily.
>>>https://issues.jboss.org/browse/JBRULES-3359
>>> It's a PITA to do that yourself for now.
 thanks and br
 Reinis
>>> -- 
>>> With kind regards,
>>> Geoffrey De Smet
>>
>>
>>
>> ___
>> rules-users mailing list
>> rules-users@lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/rules-users
>

-- 
With kind regards,
Geoffrey De Sm

Re: [rules-users] StatelessSession

2012-04-06 Thread Wolfgang Laun
Create a java.util.List list containing your objects and call
StatelessRuleSession.execute( list ) See the Javadoc of
StatelessRuleSession.
-W

On 06/04/2012, Hassan  wrote:
> hello everyone
>
> actually I'm working with stateless session, I know we can pass a list of
> objects in the session but I do not know how to pass objects of different
> types, I do not even know if that's possible.
>
> I will be grateful :)
>
> -
> Youssef AZBAKH.
> --
> View this message in context:
> http://drools.46999.n3.nabble.com/StatelessSession-tp3890043p3890043.html
> Sent from the Drools: User forum mailing list archive at Nabble.com.
> ___
> 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


Re: [rules-users] KnowledgeAgent Changeset problems

2012-04-06 Thread albertorugnone
you are right, I made this example only to have a self contained test (it
should be better I know :-p).
The problem anyway is still there 

--
View this message in context: 
http://drools.46999.n3.nabble.com/KnowledgeAgent-Changeset-problems-tp3787165p3890180.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


Re: [rules-users] maven drools compiler (plugin)

2012-04-06 Thread Sean Su
Ansgar, I tried the plugin yesterday before sending the email to the list
but did not succeed. The problem, I believe, is the repository
specification inside my pom. Could you send it over so that I can be sure?

Thanks

Sean

On Fri, Apr 6, 2012 at 2:32 AM, Geoffrey De Smet wrote:

> **
> Hey Ansgar,
>
> Your plugin is by far the best maven plugin for drools out there. Nice
> work.
>
> Would you be interested in moving the code into
>   https://github.com/droolsjbpm/droolsjbpm-tools
> next to drools-ant?
>
> Advantages:
> - It would be released together with the rest of the drools, using the
> latest drools version
> - It would be automatically synced to maven central
> - It would get more exposure, as it will be documented in our documentation
> - Others (including us) will start improving it too
>
> Disadvantages:
> - At first, you 'd have to fork it and create pull requests to get your
> changes back into blessed (but I can guarantee I 'll merge any
> non-conflicting pull requests frequently and won't let them go stale)
> - We 'd need at least a few lines of documentation in:
>
> https://github.com/droolsjbpm/drools/tree/master/drools-docs/drools-expert-docs
>
> We can worry about the more advanced features (such as aether usage)
> later, just getting an official maven plugin for drools out there will help
> a lot of people.
>
> Op 05-04-12 23:01, Ansgar Konermann schreef:
>
>
> Am 05.04.2012 21:48 schrieb "Sean Su" :
>
> >
> > Hello, guys,
> >
> > I did some search online and it seems we do not have any official plugin
> that allows us to compile Drools rules as part of the maven build.
>
> There is already a jira issue for it:
> https://issues.jboss.org/browse/JBRULES-1273
>
> Result so far: http://passion.forco.de/content/maven-drools-plugin
>
> Feel free to try it and let me know if you miss anything.
>
> Best regards,
>
> Ansgar
>
>
>
> >
> > Is this the case or I have not found it yet?
> >
> > Thanks for the help.
> >
> > Sean
> >
> > --
> > "But beware of the Dark Side. Anger, fear, aggression - the Dark Side of
> the Force are they." -Yoda
> >
> > ___
> > rules-users mailing list
> > rules-users@lists.jboss.org
> > https://lists.jboss.org/mailman/listinfo/rules-users
> >
>
>
> ___
> rules-users mailing 
> listrules-users@lists.jboss.orghttps://lists.jboss.org/mailman/listinfo/rules-users
>
>
> --
> With kind regards,
> Geoffrey De Smet
>
>
> ___
> rules-users mailing list
> rules-users@lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
>


-- 
"But beware of the Dark Side. Anger, fear, aggression - the Dark Side of
the Force are they." -Yoda
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


Re: [rules-users] StatelessSession

2012-04-06 Thread Hassan
Hi laune

thank you for having responded... that's what I did but the problem is that
my objects are regarded as being of type Object which causes unpredictable
behavior (some rules are not activated).

-
Youssef AZBAKH.
--
View this message in context: 
http://drools.46999.n3.nabble.com/StatelessSession-tp3890043p3890454.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


Re: [rules-users] StatelessSession

2012-04-06 Thread Wolfgang Laun
This just can't be true. An object's class is impregnated when the object
is created, and it can't be
undone by passing an object around in a List.

-W


On 6 April 2012 16:26, Hassan  wrote:

> Hi laune
>
> thank you for having responded... that's what I did but the problem is that
> my objects are regarded as being of type Object which causes unpredictable
> behavior (some rules are not activated).
>
> -
> Youssef AZBAKH.
> --
> View this message in context:
> http://drools.46999.n3.nabble.com/StatelessSession-tp3890043p3890454.html
> Sent from the Drools: User forum mailing list archive at Nabble.com.
> ___
> 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


Re: [rules-users] make the Guvnor interface into French

2012-04-06 Thread Michael Anstis
Hi Quentin,

The droolsjbom-build-bootstrap\README.md is a good source (and kept up to
date).

The simplest (and preferred) approach might be to fork the github
repository, apply your changes and submit a pull request.

Please see 
herefor
more information.

With kind regards,

Mike


On 6 April 2012 10:53, Qchevalier wrote:

> Hello,
>
> I got your last file (Constants_fr_FR.properties) Vincent, but I found a
> lot
> of errors. So here is my corrected file :
> http://drools.46999.n3.nabble.com/file/n3889908/Constants_fr_FR.properties
> Constants_fr_FR.properties
>
> I didn't manage to integrate this file into the guvnor war file.
>
> I understood that I have to rebuild the sources of guvnor, but I didn't
> manage to do it. I found several documentations about "how to build guvnor
> sources" but each time it was either old instructions, either partial
> instructions.
>
> Can you share a good instruction source?
>
> Thanks & Regards,
>
> Quentin
>
>
> --
> View this message in context:
> http://drools.46999.n3.nabble.com/rules-users-make-the-Guvnor-interface-into-French-tp3737267p3889908.html
> Sent from the Drools: User forum mailing list archive at Nabble.com.
> ___
> 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