There's another way.....
In the Eclipse Plugin Preferences (Eclipse -> Preferences -> Drools ->
Installed Drools Runtime) you point to the location of the Drools
runtime you want to use. If you swap out the MVEL file at the location
of your Drools Runtime it should pick up the right version of the MVEL.
You could also duplicate the jar files in that folder into a "Patch"
folder, replace the MVEL jar in the PATCH copy, and setup a "Patch
Drools Runtime" if you want to keep your original installation pristine.
You will likely need/want to bounce Eclipse for this to take effect.
________________________________
From: rules-users-bounces(a)lists.jboss.org
[mailto:rules-users-bounces@lists.jboss.org] On Behalf Of Edson Tirelli
Sent: Thursday, August 20, 2009 12:12 PM
To: Rules Users List
Subject: Re: [rules-users] Drools library - updating Drools jar
Does not matter the order in the "libraries" tab. You need to set
them in the "Order and Export" tab.
[]s
Edson
2009/8/20 KDR <dr.soprano(a)neverbox.com>
Edson thank you very much for your suggestions.
I wonder if it didn't work because I used 2.0.13? - I did that because I
couldn't find 2.0.12 on the download page at
http://docs.codehaus.org/display/MVEL/Downloading+MVEL - as you can see
from
the attached pic I did try adding that jar to the project build path,
ahead
of the "standard" Drools library.
I'll download 2.0.14-SNAPSHOT and try it with that. Don't have the
strength
to rebuild etc right now! I'll report back. Thanks again for your help,
much
appreciated. :)
http://www.nabble.com/file/p25063132/drools3.png drools3.png
Edson Tirelli-3 wrote:
I am no Eclipse expert, but:
"The correct way" (TM): checkout the source code, change the pom.xml
to
use
the correct MVEL version, rebuild the plugin and re-install. When we
release
the next version, just update it.
"The easy way" (TM): add the new mvel jar to your eclipse project
classpath
and move it up to be before the drools library in the eclipse project
classpath order. You will have both in the classpath, but being first
in
the
classpath order will make eclipse use it.
You must use 2.0.12 or 2.0.14-SNAPSHOT. When I tested 2.0.13 there
was
a
regression, if I remember correctly.
[]s
Edson
--
View this message in context:
http://www.nabble.com/Drools-library---updating-Drools-jar-tp25057905p25
063132.html
Sent from the drools - user mailing list archive at
Nabble.com.
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users
--
Edson Tirelli
JBoss Drools Core Development
JBoss by Red Hat @
www.jboss.com