[rules-users] Which libs should I update after update?
Hello everyone, in order to update from drools 5.4 to 5.5 which lib should I update? Or must I replace them all? Thanks -- View this message in context: http://drools.46999.n3.nabble.com/Which-libs-should-I-update-after-update-tp4021500.html Sent from the Drools: User forum mailing list archive at Nabble.com. ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users
Re: [rules-users] Which libs should I update after update?
If you're using maven/gradle/ivy/buildr, just update the version and let it figure out the transitive dependencies. Although you might want to use the enforcer plugin to check if you haven't overwritten any transitive dependency to a lower version: http://maven.apache.org/enforcer/enforcer-rules/requireUpperBoundDeps.html If you're using ant, basically replace all of them with those from the 5.5 lib zip. If you want to get rid of dead deps, compare the 5.4 lib zip with the 5.5 lib zip afterwards (= painful). If you just want the subset of deps that you need (like with maven, for example if you only use drools-core, you don't need most of the deps in the lib zip), don't use ant. Op 14-01-13 12:44, Andre Froes schreef: Hello everyone, in order to update from drools 5.4 to 5.5 which lib should I update? Or must I replace them all? Thanks -- View this message in context: http://drools.46999.n3.nabble.com/Which-libs-should-I-update-after-update-tp4021500.html Sent from the Drools: User forum mailing list archive at Nabble.com. ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users
Re: [rules-users] Which libs should I update after update?
I'm trying by maven, but still can't do it modelVersion4.0.0/modelVersion artifactIdai/artifactId nameProj/name packagingjar/packaging parent groupIdmy.new.project/groupId artifactIdparent-pom/artifactId version1.0.0/version /parent properties org.drools.version5.5.0.Final/org.drools.version org.codehaus.janino.version2.5.16/org.codehaus.janino.version /properties !-- Dependencies -- dependencies !-- Projects -- dependency groupIdmy.new.project/groupId artifactIdcommons/artifactId version1.0.0/version /dependency !-- API -- dependency groupIdorg.drools/groupId artifactIddrools-core/artifactId version${org.drools.version}/version scopeprovided/scope /dependency dependency groupIdorg.drools/groupId artifactIddrools-compiler/artifactId version${org.drools.version}/version scopeprovided/scope /dependency dependency groupIdorg.codehaus.janino/groupId artifactIdjanino/artifactId version${org.codehaus.janino.version}/version scopeprovided/scope /dependency /dependencies is this right? 2013/1/14 Geoffrey De Smet ge0ffrey.s...@gmail.com If you're using maven/gradle/ivy/buildr, just update the version and let it figure out the transitive dependencies. Although you might want to use the enforcer plugin to check if you haven't overwritten any transitive dependency to a lower version: http://maven.apache.org/enforcer/enforcer-rules/requireUpperBoundDeps.html If you're using ant, basically replace all of them with those from the 5.5 lib zip. If you want to get rid of dead deps, compare the 5.4 lib zip with the 5.5 lib zip afterwards (= painful). If you just want the subset of deps that you need (like with maven, for example if you only use drools-core, you don't need most of the deps in the lib zip), don't use ant. Op 14-01-13 12:44, Andre Froes schreef: Hello everyone, in order to update from drools 5.4 to 5.5 which lib should I update? Or must I replace them all? Thanks -- View this message in context: http://drools.46999.n3.nabble.com/Which-libs-should-I-update-after-update-tp4021500.html Sent from the Drools: User forum mailing list archive at Nabble.com. ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users
Re: [rules-users] Which libs should I update after update?
Op 14-01-13 18:27, Andr Fres schreef: I'm trying by maven, but still can't do it modelVersion4.0.0/modelVersion artifactIdai/artifactId nameProj/name packagingjar/packaging parent groupIdmy.new.project/groupId artifactIdparent-pom/artifactId version1.0.0/version /parent properties org.drools.version5.5.0.Final/org.drools.version org.codehaus.janino.version2.5.16/org.codehaus.janino.version /properties !-- Dependencies -- dependencies !-- Projects -- dependency groupIdmy.new.project/groupId artifactIdcommons/artifactId version1.0.0/version /dependency !-- API -- dependency groupIdorg.drools/groupId artifactIddrools-core/artifactId version${org.drools.version}/version scopeprovided/scope Why go scope provided? /dependency dependency groupIdorg.drools/groupId artifactIddrools-compiler/artifactId version${org.drools.version}/version scopeprovided/scope Why go scope provided? /dependency dependency groupIdorg.codehaus.janino/groupId artifactIdjanino/artifactId By default drools-compiler transitively depends on a java compiler (I forgot if it's janino or eclipse jdt), so you don't need to specify that dependency. If you want to use the other one, you might want to exclude the default. 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. version${org.codehaus.janino.version}/version scopeprovided/scope /dependency /dependencies is this right? 2013/1/14 Geoffrey De Smet ge0ffrey.s...@gmail.com If you're using maven/gradle/ivy/buildr, just update the version and let it figure out the transitive dependencies. Although you might want to use the enforcer plugin to check if you haven't overwritten any transitive dependency to a lower version: http://maven.apache.org/enforcer/enforcer-rules/requireUpperBoundDeps.html If you're using ant, basically replace all of them with those from the 5.5 lib zip. If you want to get rid of dead deps, compare the 5.4 lib zip with the 5.5 lib zip afterwards (= painful). If you just want the subset of deps that you need (like with maven, for example if you only use drools-core, you don't need most of the deps in the lib zip), don't use ant. Op 14-01-13 12:44, Andre Froes schreef: Hello everyone, in order to update from drools 5.4 to 5.5 which lib should I update? Or must I replace them all? Thanks -- View this message in context: http://drools.46999.n3.nabble.com/Which-libs-should-I-update-after-update-tp4021500.html Sent from the Drools: User forum mailing list archive at Nabble.com. ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users ___ rules-users mailing list
Re: [rules-users] Which libs should I update after update?
Thanks for the assjstance, I managed to do it. The problem was a ljb, slf4j. Best regards Em 14/01/2013 17:55, ge0ffrey [via Drools] ml-node+s46999n4021526...@n3.nabble.com escreveu: Op 14-01-13 18:27, André Fróes schreef: I'm trying by maven, but still can't do it modelVersion4.0.0/modelVersion artifactIdai/artifactId nameProj/name packagingjar/packaging parent groupIdmy.new.project/groupId artifactIdparent-pom/artifactId version1.0.0/version /parent properties org.drools.version5.5.0.Final/org.drools.version org.codehaus.janino.version2.5.16/org.codehaus.janino.version /properties !-- Dependencies -- dependencies !-- Projects -- dependency groupIdmy.new.project/groupId artifactIdcommons/artifactId version1.0.0/version /dependency !-- API -- dependency groupIdorg.drools/groupId artifactIddrools-core/artifactId version${org.drools.version}/version scopeprovided/scope Why go scope provided? /dependency dependency groupIdorg.drools/groupId artifactIddrools-compiler/artifactId version${org.drools.version}/version scopeprovided/scope Why go scope provided? /dependency dependency groupIdorg.codehaus.janino/groupId artifactIdjanino/artifactId By default drools-compiler transitively depends on a java compiler (I forgot if it's janino or eclipse jdt), so you don't need to specify that dependency. If you want to use the other one, you might want to exclude the default. 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. version${org.codehaus.janino.version}/version scopeprovided/scope /dependency /dependencies is this right? 2013/1/14 Geoffrey De Smet [hidden email]http://user/SendEmail.jtp?type=nodenode=4021526i=0 If you're using maven/gradle/ivy/buildr, just update the version and let it figure out the transitive dependencies. Although you might want to use the enforcer plugin to check if you haven't overwritten any transitive dependency to a lower version: http://maven.apache.org/enforcer/enforcer-rules/requireUpperBoundDeps.html If you're using ant, basically replace all of them with those from the 5.5 lib zip. If you want to get rid of dead deps, compare the 5.4 lib zip with the 5.5 lib zip afterwards (= painful). If you just want the subset of deps that you need (like with maven, for example if you only use drools-core, you don't need most of the deps in the lib zip), don't use ant. Op 14-01-13 12:44, Andre Froes schreef: Hello everyone, in order to update from drools 5.4 to 5.5 which lib should I update? Or must I replace them all? Thanks -- View this message in context: http://drools.46999.n3.nabble.com/Which-libs-should-I-update-after-update-tp4021500.html Sent from the Drools: User forum mailing list archive at Nabble.com. ___ rules-users mailing list [hidden email] http://user/SendEmail.jtp?type=nodenode=4021526i=1 https://lists.jboss.org/mailman/listinfo/rules-users ___ rules-users mailing list [hidden email] http://user/SendEmail.jtp?type=nodenode=4021526i=2 https://lists.jboss.org/mailman/listinfo/rules-users ___ rules-users mailing list[hidden email] http://user/SendEmail.jtp?type=nodenode=4021526i=3https://lists.jboss.org/mailman/listinfo/rules-users ___ rules-users mailing list [hidden email] http://user/SendEmail.jtp?type=nodenode=4021526i=4 https://lists.jboss.org/mailman/listinfo/rules-users -- If you reply to this email, your message will be added to the discussion below: http://drools.46999.n3.nabble.com/Which-libs-should-I-update-after-update-tp4021500p4021526.html To unsubscribe from Which libs should I update after update?, click herehttp://drools.46999.n3.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_codenode=4021500code=YXJmbW9yYWVzQGdtYWlsLmNvbXw0MDIxNTAwfC0xNzc4ODYzNTkz . NAMLhttp://drools.46999.n3.nabble.com/template/NamlServlet.jtp?macro=macro_viewerid=instant_html%21nabble%3Aemail.namlbase=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespacebreadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml -- View this message in context: http://drools.46999.n3.nabble.com/Which-libs-should-I-update-after-update-tp4021500p4021528.html Sent from the Drools: User forum