<br>   Cool, living and learning! Thanks,<br><br>   Edson<br><br><div class="gmail_quote">2009/8/20 Pegram, Macon <span dir="ltr">&lt;<a href="mailto:zmpegram@choosehmc.com">zmpegram@choosehmc.com</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">










<div link="blue" vlink="blue" lang="EN-US">

<div>

<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">There’s another way…..</span></font></p>

<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;"> </span></font></p>

<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">In the Eclipse Plugin Preferences (Eclipse
-&gt; Preferences -&gt; Drools -&gt; 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. </span></font></p>

<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;"> </span></font></p>

<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; 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.</span></font></p>

<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;"> </span></font></p>

<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">You will likely need/want to bounce
Eclipse for this to take effect.</span></font></p>

<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;"> </span></font></p>

<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;"> </span></font></p>

<div>

<div style="text-align: center;" align="center"><font face="Times New Roman" size="3"><span style="font-size: 12pt;">

<hr align="center" size="2" width="100%">

</span></font></div>

<p><b><font face="Tahoma" size="2"><span style="font-size: 10pt; font-family: Tahoma; font-weight: bold;">From:</span></font></b><font face="Tahoma" size="2"><span style="font-size: 10pt; font-family: Tahoma;">
<a href="mailto:rules-users-bounces@lists.jboss.org" target="_blank">rules-users-bounces@lists.jboss.org</a> [mailto:<a href="mailto:rules-users-bounces@lists.jboss.org" target="_blank">rules-users-bounces@lists.jboss.org</a>]
<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></p>

</div><div><div></div><div class="h5">

<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;"> </span></font></p>

<p style="margin-bottom: 12pt;"><font face="Times New Roman" size="3"><span style="font-size: 12pt;"><br>
   Does not matter the order in the &quot;libraries&quot; tab. You
need to set them in the &quot;Order and Export&quot; tab.<br>
<br>
   []s<br>
   Edson</span></font></p>

<div>

<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;">2009/8/20 KDR &lt;<a href="mailto:dr.soprano@neverbox.com" target="_blank">dr.soprano@neverbox.com</a>&gt;</span></font></p>

<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;"><br>
Edson thank you very much for your suggestions.<br>
<br>
I wonder if it didn&#39;t work because I used 2.0.13? - I did that because I<br>
couldn&#39;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 &quot;standard&quot; Drools library.<br>
<br>
I&#39;ll download 2.0.14-SNAPSHOT and try it with that. Don&#39;t have the strength<br>
to rebuild etc right now! I&#39;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</span></font></p>

<div>

<p style="margin-bottom: 12pt;"><font face="Times New Roman" size="3"><span style="font-size: 12pt;"><br>
<br>
Edson Tirelli-3 wrote:<br>
&gt;<br>
&gt;    I am no Eclipse expert, but:<br>
&gt;<br>
&gt; &quot;The correct way&quot; (TM): checkout the source code, change the
pom.xml to<br>
&gt; use<br>
&gt; the correct MVEL version, rebuild the plugin and re-install. When we<br>
&gt; release<br>
&gt; the next version, just update it.<br>
&gt;<br>
&gt; &quot;The easy way&quot; (TM): add the new mvel jar to your eclipse
project<br>
&gt; classpath<br>
&gt; and move it up to be before the drools library in the eclipse project<br>
&gt; classpath order. You will have both in the classpath, but being first in<br>
&gt; the<br>
&gt; classpath order will make eclipse use it.<br>
&gt;<br>
&gt;    You must use 2.0.12 or 2.0.14-SNAPSHOT. When I tested 2.0.13
there was<br>
&gt; a<br>
&gt; regression, if I remember correctly.<br>
&gt;<br>
&gt;    []s<br>
&gt;    Edson<br>
&gt;</span></font></p>

</div>

<p><font color="#888888" face="Times New Roman" size="3"><span style="font-size: 12pt; color: rgb(136, 136, 136);">--<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></p>


<div>

<div>

<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;">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" target="_blank">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></span></font></p>

</div>

</div>

</div>

<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;"><br>
<br clear="all">
<br>
-- <br>
 Edson Tirelli<br>
 JBoss Drools Core Development<br>
 JBoss by Red Hat @ <a href="http://www.jboss.com" target="_blank">www.jboss.com</a></span></font></p>

</div></div></div>

</div>


<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><br>
<br></blockquote></div><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><br>