<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:blue;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:navy;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
-->
</style>
</head>
<body lang=EN-US link=blue vlink=blue>
<div class=Section1>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>There’s another way…..<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>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. <o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>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.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>You will likely need/want to bounce
Eclipse for this to take effect.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<div>
<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>
<hr size=2 width="100%" align=center tabindex=-1>
</span></font></div>
<p class=MsoNormal><b><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>From:</span></font></b><font size=2
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'>
rules-users-bounces@lists.jboss.org [mailto:rules-users-bounces@lists.jboss.org]
<b><span style='font-weight:bold'>On Behalf Of </span></b>Edson Tirelli<br>
<b><span style='font-weight:bold'>Sent:</span></b> Thursday, August 20, 2009
12:12 PM<br>
<b><span style='font-weight:bold'>To:</span></b> Rules Users List<br>
<b><span style='font-weight:bold'>Subject:</span></b> Re: [rules-users] Drools
library - updating Drools jar</span></font><o:p></o:p></p>
</div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>
<p class=MsoNormal style='margin-bottom:12.0pt'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'><br>
Does not matter the order in the "libraries" tab. You
need to set them in the "Order and Export" tab.<br>
<br>
[]s<br>
Edson<o:p></o:p></span></font></p>
<div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>2009/8/20 KDR <<a href="mailto:dr.soprano@neverbox.com">dr.soprano@neverbox.com</a>><o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><br>
Edson thank you very much for your suggestions.<br>
<br>
I wonder if it didn't work because I used 2.0.13? - I did that because I<br>
couldn't find 2.0.12 on the download page at<br>
<a href="http://docs.codehaus.org/display/MVEL/Downloading+MVEL" target="_blank">http://docs.codehaus.org/display/MVEL/Downloading+MVEL</a>
- as you can see from<br>
the attached pic I did try adding that jar to the project build path, ahead<br>
of the "standard" Drools library.<br>
<br>
I'll download 2.0.14-SNAPSHOT and try it with that. Don't have the strength<br>
to rebuild etc right now! I'll report back. Thanks again for your help, much<br>
appreciated. :)<br>
<br>
<a href="http://www.nabble.com/file/p25063132/drools3.png" target="_blank">http://www.nabble.com/file/p25063132/drools3.png</a>
drools3.png<o:p></o:p></span></font></p>
<div>
<p class=MsoNormal style='margin-bottom:12.0pt'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'><br>
<br>
Edson Tirelli-3 wrote:<br>
><br>
> I am no Eclipse expert, but:<br>
><br>
> "The correct way" (TM): checkout the source code, change the
pom.xml to<br>
> use<br>
> the correct MVEL version, rebuild the plugin and re-install. When we<br>
> release<br>
> the next version, just update it.<br>
><br>
> "The easy way" (TM): add the new mvel jar to your eclipse
project<br>
> classpath<br>
> and move it up to be before the drools library in the eclipse project<br>
> classpath order. You will have both in the classpath, but being first in<br>
> the<br>
> classpath order will make eclipse use it.<br>
><br>
> You must use 2.0.12 or 2.0.14-SNAPSHOT. When I tested 2.0.13
there was<br>
> a<br>
> regression, if I remember correctly.<br>
><br>
> []s<br>
> Edson<br>
><o:p></o:p></span></font></p>
</div>
<p class=MsoNormal><font size=3 color="#888888" face="Times New Roman"><span
style='font-size:12.0pt;color:#888888'>--<br>
View this message in context: <a
href="http://www.nabble.com/Drools-library---updating-Drools-jar-tp25057905p25063132.html"
target="_blank">http://www.nabble.com/Drools-library---updating-Drools-jar-tp25057905p25063132.html</a></span></font><o:p></o:p></p>
<div>
<div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>Sent from the drools - user mailing list archive at Nabble.com.<br>
<br>
_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><o:p></o:p></span></font></p>
</div>
</div>
</div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><br>
<br clear=all>
<br>
-- <br>
Edson Tirelli<br>
JBoss Drools Core Development<br>
JBoss by Red Hat @ <a href="http://www.jboss.com">www.jboss.com</a><o:p></o:p></span></font></p>
</div>
</body>
</html>