Re: [rules-users] KnowledgeAgent Changeset problems

2012-04-05 Thread Esteban Aliverti
Could you append the log output of the Knowledge Agent?

Best Regards,



Esteban Aliverti
- Developer @ http://www.plugtree.com
- Blog @ http://ilesteban.wordpress.com


On Wed, Apr 4, 2012 at 4:12 PM, albertorugnone
arugnonechemi...@gmail.comwrote:

 Thank you every body for your answer, unfortunately I was't able to reply
 to
 you until now because other stuff overwhelmed me literally at work.
 Anyway I was going ahead using KnowledgeAgent, following your comments and
 other suggestion. Now I am able to load rules applying change set with
 KnowledgeAgent (thank you!!!), but honestly this is a poor success because,
 even if when I change the rule KnowledgeAgent says incremental build of
 KnowledgeBase finished and in use nothing changes.
 It seems that changes at rules have no effect and it is pretty weird. I
 made
 a maven project with eclipse to explain you better my problem. Is a simple
 main. I am working for a better junit test. Anyway if you change the rule
 in
 the folder knowledge you can test the problem by yourself.
 Briefly I will explain the project:

 Here the code:

_l.warn(START);
 String xml = ;
xml += change-set xmlns='
 http://drools.org/drools-5.0/change-set'quot;;
xml += quot;
 xmlns:xs='http://www.w3.org/2001/XMLSchema-instance'quot;;
xml += quot;
 xs:schemaLocation='http://drools.org/drools-5.0/change-set
 drools-change-set-5.0.xsd' ;
xml += add ;
 xml += resource
 source='Z:/EXP/drools-test/knowledge/test.drl'
 type='DRL' /;
xml += /add ;
xml += /change-set;
FileManager fileManager = new FileManager();
File fxml = fileManager.newFile(changeset.xml);
 Writer output = new BufferedWriter(new FileWriter(fxml));
output.write(xml);
output.close();
 // build a KnowledgeAgent
 ResourceFactory.getResourceChangeNotifierService()
.start();
ResourceFactory.getResourceChangeScannerService()
.start();

final ResourceChangeScannerConfiguration sconf =
 ResourceFactory.getResourceChangeScannerService()


  .newResourceChangeScannerConfiguration();
sconf.setProperty(drools.resource.scanner.interval, 2);
ResourceFactory.getResourceChangeScannerService()
.configure(sconf);

final KnowledgeAgentConfiguration aconf =
 KnowledgeAgentFactory.newKnowledgeAgentConfiguration();
aconf.setProperty(drools.agent.scanDirectories, true);
aconf.setProperty(drools.agent.scanResources, true);
 /*
 * important newInstance has to be false in order to update
 the
 * knowledge base and not rebuild a new one
 */
aconf.setProperty(drools.agent.newInstance, false);
final KnowledgeAgent agent =
 KnowledgeAgentFactory.newKnowledgeAgent(pch.sel.knowledge.agent, aconf);
 // if (_l.isDebugEnabled()) {
/* we need some log every time */
agent.setSystemEventListener(new
 PrintStreamSystemEventListener());


 agent.applyChangeSet(ResourceFactory.newClassPathResource(pch.sel.kwset.xml));
// fire rules
StatefulKnowledgeSession session =
 agent.getKnowledgeBase().newStatefulKnowledgeSession();
session.fireAllRules();
_l.warn(END);


 and here the rule


 package it.ipiu.drools.KnowledgeAgent.test

 rule test rule timer(int: 0s 2s)
when
eval(true);
then
System.out.println(ciao);
 end



 If I try to change timer from 2s to 2m nothing changes even if
 KnowledgeAgent seems to reload all.

 *Please help!!! I googled the problem everywhere without solution!!!*



 --
 View this message in context:
 http://drools.46999.n3.nabble.com/KnowledgeAgent-Changeset-problems-tp3787165p3884201.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] Usings joins in decision tables

2012-04-05 Thread Michael Anstis
Hi,

I assume you mean XLS decision tables, but if you mean in Guvnor the same
principle applies.

Something like this should be OK:-

CONDITION   | CONDITION

Header  | SubHeader

$a : id != {param}  | $b : id == {param}

null| $a
null| $a
null| $a
null| $a

Please note null above is the word null (no quotatioin marks) and not an
empty value.

You could use any other check in the Header column that is always true
(e.g. id  0 in which case 0 would become the row value, etc).

With kind regards,

Mike

On 3 April 2012 14:39, sumatheja sumath...@gmail.com wrote:

 Hi All,
 I'm new to using decision tables. I'm trying to create a join in
 the condition column like


 when
Header($a:id)
SubHeader($b:id==$a)


 How to achieve this in decision tables. Any help will be appreciated.

 --
 cheers



 ___
 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] Usings joins in decision tables

2012-04-05 Thread sumatheja
Thanks a lot michael. It works fine now. :)

2012/4/5 Michael Anstis michael.ans...@gmail.com

 Hi,

 I assume you mean XLS decision tables, but if you mean in Guvnor the same
 principle applies.

 Something like this should be OK:-

 CONDITION   | CONDITION
 
 Header  | SubHeader
 
 $a : id != {param}  | $b : id == {param}
 
 null| $a
 null| $a
 null| $a
 null| $a

 Please note null above is the word null (no quotatioin marks) and not an
 empty value.

 You could use any other check in the Header column that is always true
 (e.g. id  0 in which case 0 would become the row value, etc).

 With kind regards,

 Mike

  On 3 April 2012 14:39, sumatheja sumath...@gmail.com wrote:

  Hi All,
 I'm new to using decision tables. I'm trying to create a join in
 the condition column like


 when
Header($a:id)
SubHeader($b:id==$a)


 How to achieve this in decision tables. Any help will be appreciated.

 --
 cheers



 ___
 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




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


Re: [rules-users] mvel strict-mode not applied in drools 5.3.1.Final

2012-04-05 Thread Mario Fusco
HI Jörg,

I've been finally able to reproduce the problem you found (and also to
understand what caused it), so I reopened the ticket JBRULES-3392. I
formerly closed it because I couldn't reproduce it, but I was trying with
java6, while it only fails in java7. I am working to fix this issue just
now.

Mario

--
View this message in context: 
http://drools.46999.n3.nabble.com/mvel-strict-mode-not-applied-in-drools-5-3-1-Final-tp3883669p3886674.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-05 Thread Geoffrey De Smet


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
 ___
 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] Guvnor WAR files build question

2012-04-05 Thread chema
Hi all,

I'm quite new with Guvnor and i have to add some config files to it in order
to deploy the application in a server (security things and other custom
modules).

To do that I choosed to download the sources (Maven project from official
github) of Guvnor for the version 5.3.0.Final and I started to add the
things i needed. This way the operation could be done as a normal dev (all
application tests are run, etc...)

Here is my problem. Usually when you add a file (xml file in this case) in
the WEB-INF directory (I'm talking about the guvnor-webapp module and the
directory src/main/webapp/WEB-INF) and you run the build (Maven war plugin,
in this case i perform a clean install of the module
guvnor-distribution-wars) you'll find these files in the WEB-INF directory
of the war produced.

I have no errors, all the wars (wars for jboss versions 5.1, 6, 7 and tomcat
6) are generated, but my file is not in the WEB-INF directory of the war (in
fact no war produced has it).

As I'm scratching my head with this, I rolled back all the changes I made
and restarted the process only adding a test.xml file in the WEB-INF
directory and building Guvnor again. Same result...

I may be not understanding how it works or doing something wrong, but I'll
really appreciate all the help you can give me to resolve this simple (I
think it should be simple, but as I can't get over it...) issue.

Many thanks.

--
View this message in context: 
http://drools.46999.n3.nabble.com/Guvnor-WAR-files-build-question-tp3886934p3886934.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] Guvnor WAR files build question

2012-04-05 Thread Geoffrey De Smet


Op 05-04-12 13:25, chema schreef:
 Hi all,

 I'm quite new with Guvnor and i have to add some config files to it in order
 to deploy the application in a server (security things and other custom
 modules).

 To do that I choosed to download the sources (Maven project from official
 github) of Guvnor for the version 5.3.0.Final and I started to add the
 things i needed. This way the operation could be done as a normal dev (all
 application tests are run, etc...)

 Here is my problem. Usually when you add a file (xml file in this case) in
 the WEB-INF directory (I'm talking about the guvnor-webapp module and the
 directory src/main/webapp/WEB-INF) and you run the build (Maven war plugin,
 in this case i perform a clean install of the module
 guvnor-distribution-wars) you'll find these files in the WEB-INF directory
 of the war produced.
yes indeed.
So when you added it for example
   guvnor/guvnor-webapp/src/main/webapp/WEB-INF/foo.xml
and you do a mvn clean install -DskipTests -Dfull, you should find
   guvnor/guvnor-webapp/target/guvnor-webapp-*.war!/WEB-INF/foo.xml
(the ! means you have to unzip it to see it)

If you then do a mvn clean install -DskipTests -Dfull build on 
guvnor-distribution-wars,
you should see the same file in those wars too.

 I have no errors, all the wars (wars for jboss versions 5.1, 6, 7 and tomcat
 6) are generated, but my file is not in the WEB-INF directory of the war (in
 fact no war produced has it).

 As I'm scratching my head with this, I rolled back all the changes I made
 and restarted the process only adding a test.xml file in the WEB-INF
 directory and building Guvnor again. Same result...

 I may be not understanding how it works or doing something wrong, but I'll
 really appreciate all the help you can give me to resolve this simple (I
 think it should be simple, but as I can't get over it...) issue.

 Many thanks.

 --
 View this message in context: 
 http://drools.46999.n3.nabble.com/Guvnor-WAR-files-build-question-tp3886934p3886934.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


-- 
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] How to use multiple objects of the same class in RHS

2012-04-05 Thread Dennis Lupiana
Thanks Wolfgang, I have figured out the problem. I had logical errors with my Java implementations.Regards,DLOn 04/04/12, rules-users-requ...@lists.jboss.org wrote:Send rules-users mailing list submissions to	rules-users@lists.jboss.orgTo subscribe or unsubscribe via the World Wide Web, visit	https://lists.jboss.org/mailman/listinfo/rules-usersor, via email, send a message with subject or body 'help' to	rules-users-requ...@lists.jboss.orgYou can reach the person managing the list at	rules-users-ow...@lists.jboss.orgWhen replying, please edit your Subject line so it is more specificthan Re: Contents of rules-users digest...Today's Topics:   1. How to use multiple objects of the same class in RHS  (Dennis Lupiana)   2. Re: How to use multiple objects of the same class in	RHS  (Wolfgang Laun)   3. Re: mvel strict-mode not applied in drools 5.3.1.Final  (Mark Proctor)   4. Re: mvel strict-mode not applied in drools 5.3.1.Final  (Wolfgang Laun)   5. Re: mvel strict-mode not applied in drools 5.3.1.Final  (Mark Proctor)   6. Re: KnowledgeAgent Changeset problems (albertorugnone)--Message: 1Date: Wed, 04 Apr 2012 12:42:00 +0100From: Dennis Lupiana dennis.lupi...@dit.ieSubject: [rules-users] How to use multiple objects of the same class	in RHSTo: rules-users@lists.jboss.orgMessage-ID: 7480f0694e64.4f7c4...@dit.ieContent-Type: text/plain; charset=us-asciiAn HTML attachment was scrubbed...URL: http://lists.jboss.org/pipermail/rules-users/attachments/20120404/961f91c9/attachment-0001.html --Message: 2Date: Wed, 4 Apr 2012 14:40:57 +0200From: Wolfgang Laun wolfgang.l...@gmail.comSubject: Re: [rules-users] How to use multiple objects of the same	class in	RHSTo: Rules Users List rules-users@lists.jboss.orgMessage-ID:	CANaj1Ld8sid373xXD9Beh7YMqfA86JuiSrwLkDuXYrYq2_=i...@mail.gmail.comContent-Type: text/plain; charset=ISO-8859-1On 04/04/2012, Dennis Lupiana dennis.lupi...@dit.ie wrote: Please help. --- I have inserted four objects of the same type in the working memory using array.There's no point in inserting an array Person[]. Insert Person objects. I want to write a rule which will be activated when certain values in the objects are met. Let say my object is Person and it has a username field with values John, Peter, Jane and Judy for each object. I want to write a rule that will be activated when username is Peter and Jane.One name can only have one value. Do you mean when there is onePerson with username Peter and another Person Jane?when   Person( username == Peter )   Person( username == Jane )then   ... Thanks --Message: 3Date: Wed, 04 Apr 2012 13:54:19 +0100From: Mark Proctor mproc...@codehaus.orgSubject: Re: [rules-users] mvel strict-mode not applied in drools	5.3.1.FinalTo: rules-users@lists.jboss.orgMessage-ID: 4f7c447b.7010...@codehaus.orgContent-Type: text/plain; charset=iso-8859-1On 04/04/2012 12:32, muenc...@korgen.de wrote: Hi Mark, Thanks for your reply, but the row in the drl the error occurs on is  in an eval.what do you mean by explicit? anyway this does not explain why it runs on jdk1.6 but not on 1.7.You had two questions. The question you ahve about JDK1.7 are already answered in the JIRA. I'm talking about strict mode. If you use the eval() CE like that, it shoud obey the static mvel strict setting. If it does not, it's a bug, please file a jira with a self contained unit test See getting involved for how to submit unit tests:https://hudson.jboss.org/hudson/job/droolsjbpm-knowledge/lastSuccessfulBuild/artifact/droolsjbpm-introduction-docs/target/docbook/publish/en-US/html_single/index.html#gettingstartedMark Best J?rg sent from a mobile device On Apr 4, 2012 12:55 PM, Mark Proctor mproc...@codehaus.org  mailto:mproc...@codehaus.org mproc...@codehaus.org wrote: On 04/04/2012 11:04, korgen wrote:  Hi folks,  In the process of upgrading from Java 1.6 to Java 1.7 (1.7.0_03 to be  precise) we updated Drools from 5.1.1 to 5.3.1 (as in 5.1.1 language level  1.7 is not supported).   However with Drools 5.3.1 the system property drools.dialect.mvel.strict  seems not to be applied all the time. I know this sounds fishy, but this is  the behaviour: MVEL strictness is only applied to explicite eval, consequence, return values and accumulates. It's not applied to field constaints. We foudn some points, around collections, where type safeness for constraints is not enforced and have strengthened that. You can still get type unsafe execution, by using the typesfalse(false), for the specific pattern. We don't like to encourage lack of type safety, as it creates difficult to maintain systems and will not benefit from performance enhancements we do on bytecode generation. Mark   In a (junit based) test we create the knowledgebase by loading 

Re: [rules-users] Guvnor WAR files build question

2012-04-05 Thread chema
It works perfectly (takes more time due to whole project building), but my
head is getting better :-)

Many thanks for your help.

--
View this message in context: 
http://drools.46999.n3.nabble.com/Guvnor-WAR-files-build-question-tp3886934p3887144.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] Return List of Fired Rule Name from Decision table

2012-04-05 Thread srinivasasanda
Hi,

when a rule fires i am storing the rule name in Result field of type list as 
result.add(drools.getRule().getName())  -- in 'part' of a normal rule.

Now i am using decision table,how can i get the rule names fired. 
I am not able to give java statement in action or in row contain field.Where
to write that Java statement in Decison Table?Can you suggest me please.

Thanks
Srinivasa Sanda

--
View this message in context: 
http://drools.46999.n3.nabble.com/Return-List-of-Fired-Rule-Name-from-Decision-table-tp3887158p3887158.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] Return List of Fired Rule Name from Decision table

2012-04-05 Thread Michael Anstis
Are your decision tables in XLS or Guvnor.

If XLS then you can use any Java in the ACTION.

If Guvnor, we support this in 5.4.CR1 (adding free-format DRL ACTION
columns).

On 5 April 2012 13:56, srinivasasanda srinivasasa...@gmail.com wrote:

 Hi,

 when a rule fires i am storing the rule name in Result field of type list
 as
 result.add(drools.getRule().getName())  -- in 'part' of a normal rule.

 Now i am using decision table,how can i get the rule names fired.
 I am not able to give java statement in action or in row contain
 field.Where
 to write that Java statement in Decison Table?Can you suggest me please.

 Thanks
 Srinivasa Sanda

 --
 View this message in context:
 http://drools.46999.n3.nabble.com/Return-List-of-Fired-Rule-Name-from-Decision-table-tp3887158p3887158.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


[rules-users] Adding a new KnowledgePakage to and existing KnowledgeBase

2012-04-05 Thread mike
Hi there,

I am having problems adding knowledge packages to a kb. For instance I
create a kb n' add this drl:

package test

rule abc
then System.out.println(abc);
end

then I want to add another drl with the same package.

package test

rule 123
then System.out.println(123);
end

this is the code i'm using for adding

public static void add(KnowledgeBase kb, String content) throws Exception {

(1) KnowledgeBuilder builder =
KnowledgeBuilderFactory.newKnowledgeBuilder(kb);
(2) builder.add(
ResourceFactory.newByteArrayResource(content.getBytes()),
ResourceType.DRL);

if (builder.hasErrors())
throw new Exception(builder.getErrors().toString());

kb.addKnowledgePackages(builder.getKnowledgePackages());
}

please notice i am creating a new builder every time  and the kb is passed
in on (1)

the first call to add works fine. but on the second i get
a NullPointerException on line (2)

java.lang.NullPointerException
at
org.drools.rule.builder.dialect.java.PackageStore.write(PackageStore.java:47)
at
org.drools.commons.jci.compilers.EclipseJavaCompiler$3.acceptResult(EclipseJavaCompiler.java:350)
at org.eclipse.jdt.internal.compiler.Compiler.compile(Compiler.java:474)
at
org.drools.commons.jci.compilers.EclipseJavaCompiler.compile(EclipseJavaCompiler.java:358)
at
org.drools.commons.jci.compilers.AbstractJavaCompiler.compile(AbstractJavaCompiler.java:49)
at
org.drools.rule.builder.dialect.java.JavaDialect.compileAll(JavaDialect.java:369)
at
org.drools.compiler.DialectCompiletimeRegistry.compileAll(DialectCompiletimeRegistry.java:53)
at org.drools.compiler.PackageRegistry.compileAll(PackageRegistry.java:71)
at org.drools.compiler.PackageBuilder.compileAll(PackageBuilder.java:869)
at org.drools.compiler.PackageBuilder.addPackage(PackageBuilder.java:826)
at
org.drools.compiler.PackageBuilder.addPackageFromDrl(PackageBuilder.java:404)
at
org.drools.compiler.PackageBuilder.addKnowledgeResource(PackageBuilder.java:586)
at
org.drools.builder.impl.KnowledgeBuilderImpl.add(KnowledgeBuilderImpl.java:37)

thank you very much
mike
___
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-05 Thread Davide Sottara
I don't think there's anything official like that, after all the rules are
compiled at runtime...
If you want to configure the set of resources to be loaded from outside the
java code you can use a changeset resource
Davide

--
View this message in context: 
http://drools.46999.n3.nabble.com/rules-users-maven-drools-compiler-plugin-tp3888418p3888531.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] Adding a new KnowledgePakage to and existing KnowledgeBase

2012-04-05 Thread Davide Sottara
Which version of Drools are you using?
Thanks
Davide

--
View this message in context: 
http://drools.46999.n3.nabble.com/rules-users-Adding-a-new-KnowledgePakage-to-and-existing-KnowledgeBase-tp3888163p3888534.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] Adding a new KnowledgePakage to and existing KnowledgeBase

2012-04-05 Thread mike
5.3.1

dependency
groupIdorg.drools/groupId
artifactIddrools-core/artifactId
version5.3.1.Final/version
typejar/type
/dependency
dependency
groupIdorg.drools/groupId
artifactIddrools-compiler/artifactId
version5.3.1.Final/version
typejar/type
/dependency

Thank you very much

On Thu, Apr 5, 2012 at 4:24 PM, Davide Sottara dso...@gmail.com wrote:

 Which version of Drools are you using?
 Thanks
 Davide

 --
 View this message in context:
 http://drools.46999.n3.nabble.com/rules-users-Adding-a-new-KnowledgePakage-to-and-existing-KnowledgeBase-tp3888163p3888534.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] maven drools compiler (plugin)

2012-04-05 Thread Ansgar Konermann
Am 05.04.2012 21:48 schrieb Sean Su sean.x...@gmail.com:

 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