[rules-users] Errors building from sources.
Edson Tirelli
tirelli at post.com
Wed Mar 5 08:22:55 EST 2008
Pedro,
I just installed maven 2.0.8 here and saw the same problems you saw.
Apparently there is some change (regression bug?) in maven classloaders that
break us. We will contact the maven guys today to find out what is
happening.
Meanwhile, if you go back to maven 2.0.6 you will be fine.
[]s
Edson
2008/3/5, Pedro Costa <pedrof.costa at gmail.com>:
>
> I'm using:
>
> Maven version: 2.0.8
> Java version: 1.5.0_07
> OS name: "windows xp" version: "5.1" arch: "x86" Family: "windows"
>
> Pedro.
>
> 2008/3/5, Edson Tirelli <tirelli at post.com>:
> >
> >
> > This looks like some weird classloader issue... it does not happen to
> > me, but seems to be happening in hudson...
> >
> > Can you please tell me what maven version are you using? I'm using
> > 2.0.6.
> > What else can be affecting the classloader?
> >
> > []s
> > Edson
> >
> > 2008/3/5, Pedro Costa <pedrof.costa at gmail.com>:
> > >
> > > Hi All,
> > >
> > > I'm trying to build from source the 4.0.x branche but some of the
> > > tests are failing and connet build sucessfull.
> > >
> > > This is the errror I'm getting:
> > >
> > > Running org.drools.integrationtests.DynamicRulesTest
> > > org.drools.RuntimeDroolsException: Unable to load dialect '
> > > org.drools.rule.builder.dialect.java.JavaDialectConfiguration:java'
> > > at org.drools.compiler.PackageBuilderConfiguration.addDialect(
> > > PackageBuilderConfiguration.java:160)
> > > at
> > > org.drools.compiler.PackageBuilderConfiguration.buildDialectConfigurationMap
> > > (PackageBuilderConfiguration.java:146)
> > > at org.drools.compiler.PackageBuilderConfiguration.init(
> > > PackageBuilderConfiguration.java:121)
> > > at org.drools.compiler.PackageBuilderConfiguration.<init>(
> > > PackageBuilderConfiguration.java:98)
> > > at org.drools.compiler.PackageBuilder.<init>(
> > > PackageBuilder.java:124)
> > > at org.drools.compiler.PackageBuilder.<init>(
> > > PackageBuilder.java:86)
> > > at
> > > org.drools.integrationtests.DynamicRulesTest.testDynamicRulesAddRemove
> > > (DynamicRulesTest.java:540)
> > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > > at sun.reflect.NativeMethodAccessorImpl.invoke(
> > > NativeMethodAccessorImpl.java:39)
> > > at sun.reflect.DelegatingMethodAccessorImpl.invoke(
> > > DelegatingMethodAccessorImpl.java:25)
> > > at java.lang.reflect.Method.invoke(Method.java:585)
> > > at junit.framework.TestCase.runTest(TestCase.java:154)
> > > at junit.framework.TestCase.runBare(TestCase.java:127)
> > > at junit.framework.TestResult$1.protect(TestResult.java:106)
> > > at junit.framework.TestResult.runProtected(TestResult.java
> > > :124)
> > > at junit.framework.TestResult.run(TestResult.java:109)
> > > at junit.framework.TestCase.run(TestCase.java:118)
> > > at junit.framework.TestSuite.runTest(TestSuite.java:208)
> > > at junit.framework.TestSuite.run(TestSuite.java:203)
> > > at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown
> > > Source)
> > > at sun.reflect.DelegatingMethodAccessorImpl.invoke(
> > > DelegatingMethodAccessorImpl.java:25)
> > > at java.lang.reflect.Method.invoke(Method.java:585)
> > > at org.apache.maven.surefire.junit.JUnitTestSet.execute(
> > > JUnitTestSet.java:213)
> > > at
> > > org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet
> > > (AbstractDirectoryTestSuite.java:138)
> > > at
> > > org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(
> > > AbstractDirectoryTestSuite.java:125)
> > > at org.apache.maven.surefire.Surefire.run(Surefire.java:132)
> > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > > at sun.reflect.NativeMethodAccessorImpl.invoke(
> > > NativeMethodAccessorImpl.java:39)
> > > at sun.reflect.DelegatingMethodAccessorImpl.invoke(
> > > DelegatingMethodAccessorImpl.java:25)
> > > at java.lang.reflect.Method.invoke(Method.java:585)
> > > at
> > > org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(
> > > SurefireBooter.java:290)
> > > at org.apache.maven.surefire.booter.SurefireBooter.main(
> > > SurefireBooter.java:818)
> > > Caused by: java.lang.ClassCastException:
> > > org.drools.rule.builder.dialect.java.JavaDialectConfiguration
> > > at org.drools.compiler.PackageBuilderConfiguration.addDialect(
> > > PackageBuilderConfiguration.java:155)
> > > ... 31 more
> > >
> > >
> > > Any ideas of what could be wrong here?
> > >
> > >
> > > Thanks!
> > >
> > > Pedro.
> > >
> > > _______________________________________________
> > > rules-users mailing list
> > > rules-users at lists.jboss.org
> > > https://lists.jboss.org/mailman/listinfo/rules-users
> > >
> > >
> >
> >
> > --
> > Edson Tirelli
> > JBoss Drools Core Development
> > Office: +55 11 3529-6000
> > Mobile: +55 11 9287-5646
> > JBoss, a division of Red Hat @ www.jboss.com
> > _______________________________________________
> > rules-users mailing list
> > rules-users at lists.jboss.org
> > https://lists.jboss.org/mailman/listinfo/rules-users
> >
> >
>
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
>
--
Edson Tirelli
JBoss Drools Core Development
Office: +55 11 3529-6000
Mobile: +55 11 9287-5646
JBoss, a division of Red Hat @ www.jboss.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20080305/f6656bb2/attachment.html
More information about the rules-users
mailing list