<p dir="ltr">Thanks for the assjstance, I managed to do it. The problem was a ljb, slf4j.</p>
<p dir="ltr">Best regards</p>
<div class="gmail_quote">Em 14/01/2013 17:55, "ge0ffrey [via Drools]" <<a href="/user/SendEmail.jtp?type=node&node=4021528&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a>> escreveu:<br type="attribution">
<blockquote style='border-left:2px solid #CCCCCC;padding:0 1em' class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
        
<br>
<div>Op 14-01-13 18:27, André Fróes schreef:<br>
</div>
<blockquote style='border-left:2px solid #CCCCCC;padding:0 1em' style="border-left:2px solid #cccccc;padding:0 1em" type="cite">
<div dir="ltr">I'm trying by maven, but still can't do it
<div><br>
</div>
<div>
<div><modelVersion>4.0.0</modelVersion></div>
<div> <artifactId>ai</artifactId></div>
<div> <name>Proj</name></div>
<div> <packaging>jar</packaging></div>
<div><br>
</div>
<div><span style="white-space:pre-wrap"> </span><parent></div>
<div><span style="white-space:pre-wrap"> </span><groupId>my.new.project</groupId></div>
<div><span style="white-space:pre-wrap"> </span><artifactId>parent-pom</artifactId></div>
<div><span style="white-space:pre-wrap"> </span><version>1.0.0</version></div>
<div><span style="white-space:pre-wrap"> </span></parent></div>
<div><span style="white-space:pre-wrap"> </span></div>
<div><span style="white-space:pre-wrap"> </span><properties></div>
<div><span style="white-space:pre-wrap"> </span><org.drools.version>5.5.0.Final</org.drools.version></div>
<div><span style="white-space:pre-wrap"> </span><org.codehaus.janino.version>2.5.16</org.codehaus.janino.version><span style="white-space:pre-wrap"> </span></div>
<div><span style="white-space:pre-wrap"> </span></properties></div>
<div><span style="white-space:pre-wrap"> </span></div>
<div><br>
</div>
<div> <!-- Dependencies --></div>
<div> <dependencies></div>
<div><br>
</div>
<div> <!-- Projects --></div>
<div> <dependency></div>
<div> <groupId>my.new.project</groupId></div>
<div> <artifactId>commons</artifactId></div>
<div> <version>1.0.0</version></div>
<div> </dependency></div>
<div><br>
</div>
<div> <!-- API --></div>
<div> <dependency></div>
<div> <groupId>org.drools</groupId></div>
<div>
<artifactId>drools-core</artifactId></div>
<div>
<version>${org.drools.version}</version></div>
<div> <scope>provided</scope></div>
</div>
</div>
</blockquote>
Why go scope provided?<br>
<blockquote style='border-left:2px solid #CCCCCC;padding:0 1em' style="border-left:2px solid #cccccc;padding:0 1em" type="cite">
<div dir="ltr">
<div>
<div> </dependency></div>
<div> <dependency></div>
<div> <groupId>org.drools</groupId></div>
<div>
<artifactId>drools-compiler</artifactId></div>
<div>
<version>${org.drools.version}</version></div>
<div> <scope>provided</scope></div>
</div>
</div>
</blockquote>
Why go scope provided?
<blockquote style='border-left:2px solid #CCCCCC;padding:0 1em' style="border-left:2px solid #cccccc;padding:0 1em" type="cite">
<div dir="ltr">
<div>
<div> </dependency></div>
<div> <dependency></div>
<div>
<groupId>org.codehaus.janino</groupId></div>
<div> <artifactId>janino</artifactId></div>
</div>
</div>
</blockquote>
By default drools-compiler transitively depends on a java compiler
(I forgot if it's janino or eclipse jdt),<br>
so you don't need to specify that dependency.<br>
If you want to use the other one, you might want to exclude the
default.<br>
Either way, you might want to try first with the default one, by not
declaring any janino/jdt dependency and let maven drag in the
transitive dependency automatically.<br>
<blockquote style='border-left:2px solid #CCCCCC;padding:0 1em' style="border-left:2px solid #cccccc;padding:0 1em" type="cite">
<div dir="ltr">
<div>
<div>
<version>${org.codehaus.janino.version}</version></div>
<div> <scope>provided</scope></div>
<div> </dependency></div>
<div> </dependencies></div>
</div>
<div><br>
</div>
<div>is this right?</div>
</div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">2013/1/14 Geoffrey De Smet <span dir="ltr"><<a href="http://user/SendEmail.jtp?type=node&node=4021526&i=0" rel="nofollow" link="external" target="_blank">[hidden email]</a>></span><br>
<div>If you're using
maven/gradle/ivy/buildr, just update the version and let<br>
it figure out the transitive dependencies.<br>
Although you might want to use the enforcer plugin to
check if you<br>
haven't overwritten any transitive dependency to a lower
version:<br>
<a href="http://maven.apache.org/enforcer/enforcer-rules/requireUpperBoundDeps.html" rel="nofollow" link="external" target="_blank">http://maven.apache.org/enforcer/enforcer-rules/requireUpperBoundDeps.html</a><br>
<br>
If you're using ant, basically replace all of them with
those from the<br>
5.5 lib zip.<br>
If you want to get rid of dead deps, compare the 5.4 lib
zip with the<br>
5.5 lib zip afterwards (= painful).<br>
If you just want the subset of deps that you need (like
with maven, for<br>
example if you only use drools-core, you don't need most
of the deps in<br>
the lib zip), don't use ant.<br>
<br>
Op 14-01-13 12:44, Andre Froes schreef:<br>
</div>
<div>
<div>> Hello everyone,<br>
><br>
> in order to update from drools 5.4 to 5.5 which lib
should I update? Or must<br>
> I replace them all?<br>
><br>
> Thanks<br>
><br>
><br>
><br>
> --<br>
> View this message in context: <a href="http://drools.46999.n3.nabble.com/Which-libs-should-I-update-after-update-tp4021500.html" rel="nofollow" link="external" target="_blank">http://drools.46999.n3.nabble.com/Which-libs-should-I-update-after-update-tp4021500.html</a><br>
> Sent from the Drools: User forum mailing list
archive at Nabble.com.<br>
> _______________________________________________<br>
> rules-users mailing list<br>
> <a href="http://user/SendEmail.jtp?type=node&node=4021526&i=1" rel="nofollow" link="external" target="_blank">[hidden email]</a><br>
> <a href="https://lists.jboss.org/mailman/listinfo/rules-users" rel="nofollow" link="external" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
><br>
<br>
_______________________________________________<br>
rules-users mailing list<br>
<a href="http://user/SendEmail.jtp?type=node&node=4021526&i=2" rel="nofollow" link="external" target="_blank">[hidden email]</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" rel="nofollow" link="external" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
</div>
</div>
</blockquote>
</div>
<br>
</div>
<br>
<fieldset></fieldset>
<br>
<pre>_______________________________________________
rules-users mailing list
<a href="http://user/SendEmail.jtp?type=node&node=4021526&i=3" rel="nofollow" link="external" target="_blank">[hidden email]</a>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" rel="nofollow" link="external" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a>
</pre>
</blockquote>
<br>
<br>_______________________________________________
<br>rules-users mailing list
<br><a href="http://user/SendEmail.jtp?type=node&node=4021526&i=4" rel="nofollow" link="external" target="_blank">[hidden email]</a>
<br><a href="https://lists.jboss.org/mailman/listinfo/rules-users" rel="nofollow" link="external" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
        
        
        
        <br>
        <br>
        <hr noshade size="1" color="#cccccc">
        <div style="color:#444;font:12px tahoma,geneva,helvetica,arial,sans-serif">
                <div style="font-weight:bold">If you reply to this email, your message will be added to the discussion below:</div>
                <a href="http://drools.46999.n3.nabble.com/Which-libs-should-I-update-after-update-tp4021500p4021526.html" target="_blank" rel="nofollow" link="external">http://drools.46999.n3.nabble.com/Which-libs-should-I-update-after-update-tp4021500p4021526.html</a>
        </div>
        <div style="color:#666;font:11px tahoma,geneva,helvetica,arial,sans-serif;margin-top:.4em;line-height:1.5em">
                
                To unsubscribe from Which libs should I update after update?, <a href="" target="_blank" rel="nofollow" link="external">click here</a>.<br>
                <a href="http://drools.46999.n3.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml" rel="nofollow" style="font:9px serif" target="_blank" link="external">NAML</a>
        </div></blockquote></div>
        
        
        
<br/><hr align="left" width="300" />
View this message in context: <a href="http://drools.46999.n3.nabble.com/Which-libs-should-I-update-after-update-tp4021500p4021528.html">Re: [rules-users] Which libs should I update after update?</a><br/>
Sent from the <a href="http://drools.46999.n3.nabble.com/Drools-User-forum-f47000.html">Drools: User forum mailing list archive</a> at Nabble.com.<br/>