I am attempting to build a project using Maven2 with Drools 4.0.5 and
JDK 1.4. The MVEL dependency was downloaded and I'm getting an error
with it's pom:
mvel-1.2.24-java1.4.pom
3/26/08 8:51:09 AM EDT: Parsing
error
Is the rule agent only good for drl files or serialized packages? What
about dsl or ruleflow inclusion? I'm looking through the source and it
seems it doesn't deal with either of items I've identified.
Thanks!
Eric
___
rules-users mailing list
Is there a Maven Drools compilation mojo, provided either by the Drools
team or some open source project? If not, I have one that I'd be
willing to submit. I think it's pretty slick and would only require a
few tweaks to truly make it useful (hard coded to currently use XStream
serialization).
?
With kind regards,
Geoffrey De Smet
Eric Miles wrote:
Is there a Maven Drools compilation mojo, provided either by the Drools
team or some open source project? If not, I have one that I'd be
willing to submit. I think it's pretty slick and would only require a
few tweaks to truly make
on that code but it never went to mainstream.
could you please compare your code to the attachment?
http://jira.jboss.org/jira/browse/JBRULES-1273
On Fri, Mar 7, 2008 at 1:22 PM, Eric Miles [EMAIL PROTECTED]
wrote:
I have not performed any tests on this, but I'm sure
I see numerous references to the Ant task in the documentation but see
no documentation on how to use it. Where can I find some? Google
turned up nothing...
___
rules-users mailing list
rules-users@lists.jboss.org
All,
I'm using Xstream for serialization in my project. I am having an issue
after deserializing a package in that application's classloader can't
find a generated class created by Drools for a function. When I look at
the serialized XML, I see an entry for the class:
entry
I'm having a problem with a function I'm trying to call, can someone
lend some advice? I've put together a sample rule (I know the rule
doesn't make much sense, but humor me).
When trying to compile, I get the following error:
* (1,54) unable to resolve method using strict-mode:
to track down
this issue I'd appreciate it.
Thanks,
Eric
On Thu, 2007-12-13 at 11:28 -0500, Eric Miles wrote:
All,
I'm using Xstream for serialization in my project. I am having an issue
after deserializing a package in that application's classloader can't
find a generated class created by Drools
Can anyone tell me what this means? It seems as though the fact is
being updated elsewhere and is causing the fact handle to not be found,
but I have no idea how to go about figuring that out. Is this even what
this error message is trying to tell me?
java.lang.NullPointerException
Why am I getting this error when attempting to insert an object into
working memory (stateful session)
java.lang.NullPointerException
at
org.drools.common.DefaultFactHandle.init(DefaultFactHandle.java:73)
at
All,
I have a rule that I'm trying to run against, but I'm getting a
duplicate parameter error that doesn't make much sense to me. Here is
the rule:
rule Daily Core Hours
ruleflow-group maxiflex-messages
when
ScheduleDay($day: day, $schedIn: timeIn, $schedOut:
a duplicate parameter exception. What am I doing wrong? If I
haven't set this up incorrectly, I have to think this is a defect.
Thanks,
Eric
On Wed, 2007-11-28 at 09:43 -0500, Eric Miles wrote:
All,
I have a rule that I'm trying to run against, but I'm getting a
duplicate parameter error
I have a main flow that calls a subflow. In this subflow, I am
inserting a fact. In a rule in the main flow, it can not find this fact
in working memory. Is it possible to insert a fact in a subflow and
have it available to a parent flow?
Thanks!
___
Nevermind, I figured out my problem. It had more to do with the type of
join I was doing rather than flow/subflow.
Thanks anyways.
On Tue, 2007-11-27 at 12:02 -0500, Eric Miles wrote:
I have a main flow that calls a subflow. In this subflow, I am
inserting a fact. In a rule in the main flow
I set a logger as a global and use it just fine in the RHS.
On Thu, 2007-11-15 at 19:30 -0500, [EMAIL PROTECTED] wrote:
Hi,
Is it possible to use Log4j inside the rules (RHS)?? (drl file)
Thanks,
Fabrice
___
rules-users mailing list
know what version are you using?
Thanks,
Edson
2007/11/8, Eric Miles [EMAIL PROTECTED]:
I have a compound LHS statement that is causing the parser to
fail.
Here is my exact stacktrace:
org.drools.compiler.DroolsParserException: Unknown
I have a compound LHS statement that is causing the parser to fail.
Here is my exact stacktrace:
org.drools.compiler.DroolsParserException: Unknown error while parsing.
This is a bug. Please contact the Development team.
at org.drools.compiler.DrlParser.compile(DrlParser.java:183)
(SomeObject(val == 5) from dao.find(99))
Thanks!
Eric
On Fri, 2007-11-02 at 17:19 +, Mark Proctor wrote:
put brackets around the SomeObject and from statement
not ( SomeObject(val == 5) from dao.find(99) )
Eric Miles wrote:
I'm trying to use the FROM keyword in a way that I think
In java, I can check to see if a 2 variables references the same
instance as such:
Object a = new Object();
Object b = a;
a == b
Is there a way to do this in Drools? For instance, if there is an
object in working memory and it is a specific instance, I do not want to
fire the rule
I'm trying to attempt to upgrade to 4.0.0 GA again and it looks like the
org.drools:drools:4.0.0 artifact is missing on the server. However,
unlike yesterday, the core and compiler artifacts now have poms and
checksums (which I think was the issue yesterday). Is the release not
fully available
name.
What do you think?
Edson
2007/7/26, Eric Miles [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]:
Edson,
I have since changed my schema but here was my issue:
rule1.drl:
import com.company.DataClass.AlternativeKey;
import com.company.DataClass;
rule Some rule
:
Caused by: java.lang.RuntimeException: The Eclipse JDT Core jar is not
in the classpath
Mark
Eric Miles wrote:
I am attempting to ween our project off of MR3 and on to the 4.0.0
GA and am having a lot of difficulty. First off, I had compile
issues with the PackageBuilderConfiguration
I am attempting to ween our project off of MR3 and on to the 4.0.0 GA
and am having a lot of difficulty. First off, I had compile issues with
the PackageBuilderConfiguration class (attempting to set the compliance
level to 1.5). I figured that was no longer necessary so I removed that
(I hope
I attempted to send this last night, but didn't see it show up to the
user list so I'm going to try again, I apologize if this was sent more
than once.
When I attempt to open several views (Working Memory, Agenda, Global,
etc) within an JBoss Rules enabled Eclipse, I receive the following
error:
When I attempt to open several views (Working Memory, Agenda, Global,
etc) within an JBoss Rules enabled Eclipse, I receive the following
error:
java.lang.NoClassDefFoundError:
org/eclipse/debug/internal/ui/contexts/provisional/IDebugContextListener
at
When is the expected release date for 4.0? I have looked all over the
site, the JIRA roadmap, etc and haven't found this information.
Thanks so much.
___
rules-users mailing list
rules-users@lists.jboss.org
or do we need to install 4.0 in our own local
repositories until it is released?
Thanks again.
On Tue, 2007-06-19 at 14:44 +0100, Mark Proctor wrote:
mid next month.
Mark
Eric Miles wrote:
When is the expected release date for 4.0? I have looked all over
the site, the JIRA roadmap
28 matches
Mail list logo