Hi,
The answer is no.
We used to have Eclipse project examples, but many of our developers use
alternative IDEs.
Given this and the general adoption of maven as a build system we moved to
what we have today.
sent on the move
On 15 Sep 2012 00:06, "Richard Yium" wrote:
> Neither, I just crea
Neither, I just created and java project and imported files into it.
Is there a link with the example with the eclipse project files in it I can
download so I can just import it as a existing project?
From: Michael Anstis
To: Rules Users List
Sent: Friday, S
Did you File->Import...->Maven->Existing Maven Projects? I believe this is
offered with the M2Eclipse plugin.
Or, did you perform mvn eclipse:eclipse to build a Eclipse .project file?
Either of these will ensure your classpath dependencies are correctly setup.
On 14 September 2012 21:54, richard
I fixed the above with including right jar.
But now I get this.
Exception in thread "AWT-EventQueue-0" java.lang.NoClassDefFoundError:
org/drools/util/FastClassLoader
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at
I think I am running the correct example.
I am using eclipse, so maybe i have it set up wrong?
Any clues?
Exception in thread "main" org.drools.ProviderInitializationException:
Provider org.drools.impl.KnowledgeBaseProviderImpl could not be set.
at
org.drools.KnowledgeBaseFactory.loadP
Mario Fusco wrote
>
> I think I've fixed all the outstanding jitting issues and these fixes will
> be available in the upcoming 5.5 release (we are deploying the beta1 in
> these days). However it would be great if I could reproduce the bugs you
> found, both because I could check if they are act
Michael,
I had edited post,
I get this error now
Exception in thread "main" java.lang.NoSuchMethodError:
org.drools.util.CompositeClassLoader.clone()Lorg/drools/util/CompositeClassLoader;
at
org.drools.RuleBaseConfiguration.getClassLoader(RuleBaseConfiguration.java:886)
at org.droo
I updated my post.
Exception in thread "main" java.lang.NoSuchMethodError:
org.drools.util.CompositeClassLoader.clone()Lorg/drools/util/CompositeClassLoader;
at
org.drools.RuleBaseConfiguration.getClassLoader(RuleBaseConfiguration.java:886)
at org.drools.common.AbstractRuleBase.(Abstract
I assume:-
1) You changed the URL in the change-set to suit where your Guvnor is
running?
The stack trace suggests
http://localhost:8080/guvnor/org.drools.guvnor.Guvnor/package/mortgages/LATESTcould
not be found.
2) You built the mortgages package in Guvnor?
I've been running this very same exa
Guvnor - Version 5.4.0.Final
\drools-examples\drools-examples-brms\mortgage-example
I get this error.
java.lang.RuntimeException: KnowledgeAgent exception while trying to
deserialize KnowledgeDefinitionsPackage
at
org.drools.agent.impl.KnowledgeAgentImpl.createPackageFromResource(Knowle
I mean
guvnor/guvnor-examples/src/main/java/org/drools/guvnor/examples/mortgage/client/MortgageClientExample.java
This does not use a properties file (that the below implies), just a
Change-set. Furthermore "RuleAgent" sounds very old... what version of
Drools Guvnor are you using?
Normally, if r
Hi Davide,
For my case, whats proposed in Example #1 would suffice with the activations
being overridden i.e. the Rule "High" should completely override Rule "Low"
which should not be activated, and the outcome should be only one log (A)
and the policy should be set to A.
Example#2 for my case wo
Got it. Thanks.
--
View this message in context:
http://drools.46999.n3.nabble.com/Data-Model-Dependencies-in-Guvnor-tp4019750p4019792.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
___
rules-users mailing list
rules-users@l
Hi,
this is definitely something in scope for the type of "Defeasible rules" i'm
working on right now.
I have just one last question:
do you need the second rule to override the activation of the first, or do
you need the VALUE set
by the second rule to override the value set by the first?
In your
I think this is the only option:
Upload the model into the global area, then within each package, you can create
a new model and instead of uploading you can "Import from Global".
Although this is duplication rather than dependency, and you need to copy into
each of your packages every time the
I assume you mean the mortgageApplicationTest.java.
I have looked at the models, so I see the fact types in the model.
But when I try to run mortgageApplicationTest.java
I am getting:
Exception in thread "main" java.lang.NullPointerException
at java.util.Properties$LineReader.readLine(Prop
Thanks Davide.
Regarding "Multiple LHS and RHS.", this comment refers to the need for
Custom Attributes,and is not related to Overriding Rules. To elaborate I was
looking for a way for the Rules to fire when some Attributes are set
(multiple LHS) as well as for the rule set some attributes if/
Resolved the issue. I found "Allow cross references in DRL files". However,
this did not work immediately. I needed to clean my workspace, and ensure
that my files were also placed in the correct directory structure to match
my package name(s).
--
View this message in context:
http://drools.469
Thanks Stephen for the detailed explanation. I agree that its not a good
option to add the dependency to the Server lib, and I also do not want to
mix up facts between my Java project and Drools, for various reasons.
One other related question though, is there a way in Guvnor to specify
dependency
Oh … just took a look at the code … things like WorkingMemoryConsoleLogger, etc
are using slf4j anyway!
So if you do wish to use them, I'm guessing you can just define a logger. i.e.:
On 14 Sep 2012, at 14:07, Geoffrey De Smet wrote:
> The KnowledgeRuntimeLogger implements some so
More details...
The error is as you would expect:
Description ResourcePathLocationType
The method getDeploymentTemplate() is undefined for the type
Rule_init_282bd9bb0e30465c8efc3f0b1b9e23f2 init.drl/ line 11 Drools Error
Eclipse simply cannot resolve the fu
Here's are some examples of logging what's going on in the knowledge base using
slf4j:
Logging what rules have activated:
https://github.com/gratiartis/scattercode-drools-scenarios/blob/master/src/main/java/uk/co/scattercode/drools/util/TrackingAgendaEventListener.java
Logging details of facts t
The KnowledgeRuntimeLogger implements some sort of Listener interface.
Implement it yourself, register it and have it log to slf4j.
(note that will only deal with those log messages, there might be others)
Op 14-09-12 11:29, himansu.nayak schreef:
> hi ge0ffrey,
> any luck in 5.4 as our enterprise
brendanneff wrote
>
> I read a few forum posts about updating to 5.4 CR1 (we're using 5.4
> Final), but wanted to ask and see if that's really the cause before I
> start changing the version. I also saw that casting as an Integer, which
> we do, could solve the problem. Could someone take a loo
If you're trying to use generics in the RHS of a rule, I don't think playing
with the compiler setting will help. They weren't available in DRL last time I
looked.
You may be better off writing a static method on a Java class or a global
object, which you can call out to. That way you can work
As with any Java app, a Jar's dependencies need to be on the classpath.
Uploading a POJO model to Guvnor doesn't put it on the class path, so it needs
to encapsulate all its dependencies.
I would recommend setting your build up so that it produces both POJO models
(assuming you actually need bo
hi ge0ffrey,
any luck in 5.4 as our enterprise application is made on top of 5.4. any
workaround, any dirty way of doing this
thx
-
Thanks...
Himansu
--
View this message in context:
http://drools.46999.n3.nabble.com/KnowledgeRuntimeLogger-to-slf4j-tp4019773p4019775.html
Sent from the Droo
You 'll need at least Drools 5.5.0.Beta1 for that, which is being released.
Op 14-09-12 10:29, himansu.nayak schreef:
> Hi,
> how can i write the KnowledgeRuntimeLogger log details (in xml fromat) to my
> slf4j log file. i want to maintain the history of logs using slf4j which is
> not possible in
Hi,
how can i write the KnowledgeRuntimeLogger log details (in xml fromat) to my
slf4j log file. i want to maintain the history of logs using slf4j which is
not possible in KnowledgeRuntimeLogger as it get overwritten each time the
log is written.
-
Thanks...
Himansu
--
View this message i
29 matches
Mail list logo