Sorry, it's me again. I got the latest trunk revision of http://anonsvn.labs.jboss.com/labs/jbossrules/trunk/ but when I try to build it, I get some maven dependencies problem and don't know how to fix them... any idea about this?

Unable to resolve artifact: required artifacts missing:
  org.drools:drools-core:test-jar:tests:3.1.0-SNAPSHOT

Thanks
Beto

compile-module:
    [mkdir] Created dir: C:\java\drools\trunk\drools-server\target
    [mkdir] Created dir: C:\java\drools\trunk\drools-server\target\classes
[artifact:dependencies] Downloading: org/drools/drools-core/3.1.0-SNAPSHOT/drool
s-core-3.1.0-SNAPSHOT-tests.jar
[artifact:dependencies] [WARNING] Unable to get resource from repository basedir
 (file://C:\java\drools\trunk\drools-server/../repository)
[artifact:dependencies] Downloading: org/drools/drools-core/3.1.0-SNAPSHOT/drool
s-core-3.1.0-SNAPSHOT-tests.jar
[artifact:dependencies] [WARNING] Unable to get resource from repository jboss (
http://repository.jboss.com/maven2/)
[artifact:dependencies] Downloading: org/drools/drools-core/3.1.0-SNAPSHOT/drool
s-core-3.1.0-SNAPSHOT-tests.jar
[artifact:dependencies] [WARNING] Unable to get resource from repository Maven S
napshots (http://snapshots.maven.codehaus.org/maven2/)
[artifact:dependencies] An error has occurred while processing the Maven artifac
t tasks.
[artifact:dependencies]  Diagnosis:
[artifact:dependencies]
[artifact:dependencies] Unable to resolve artifact: required artifacts missing: [artifact:dependencies] org.drools:drools-core:test-jar:tests:3.1.0-SNAPSHOT
[artifact:dependencies]
[artifact:dependencies] for the artifact:
[artifact:dependencies]   org.drools:drools-server:jar:3.1.0-SNAPSHOT
[artifact:dependencies]
[artifact:dependencies] from the specified remote repositories:
[artifact:dependencies] Maven Snapshots (http://snapshots.maven.codehaus.org/m
aven2/),
[artifact:dependencies]   central (http://repo1.maven.org/maven2),
[artifact:dependencies] basedir (file://C:\java\drools\trunk\drools-server/../
repository),
[artifact:dependencies]   jboss (http://repository.jboss.com/maven2/)
[artifact:dependencies]
[artifact:dependencies]

BUILD FAILED
C:\java\drools\trunk\build.xml:368: The following error occurred while executing
 this line:
C:\java\drools\trunk\build.xml:190: Unable to resolve artifact: required artifac
ts missing:
  org.drools:drools-core:test-jar:tests:3.1.0-SNAPSHOT

for the artifact:
  org.drools:drools-server:jar:3.1.0-SNAPSHOT

from the specified remote repositories:
  Maven Snapshots (http://snapshots.maven.codehaus.org/maven2/),
  central (http://repo1.maven.org/maven2),
  basedir (file://C:\java\drools\trunk\drools-server/../repository),
  jboss (http://repository.jboss.com/maven2/)


Total time: 21 seconds

Edson Tirelli wrote:
  Beto,

Please do, and report any error you eventually find... we want to keep this working...

  []s
  Edson

Beto Siless wrote:

Edson, I was using the trunk version, but with the dynamic classes I had the field extractor error. My build is at least a week old, so I will download the current trunk revision and will try again.
Beto

Edson Tirelli wrote:


Beto, are you talking about using dynamic classes as facts? 3.1 should work with that too... is it not?

  []s
  Edson

Beto Siless wrote:

Hi Edson!
Thanks for the answer! I was using the trunk revision, but I've to change it cause the need of dynamic class stuff. But the trunk version was enough to make a proof the concept that I needed until the 3.1 release.
Thanks again!
Beto

Edson Tirelli wrote:

  Beto,

JBRULES-548 is closed as a duplicate issue... I don't know why it is saying it fixes the problem ... :( The correct issue is JBRULES-515, that fixes and correctly states that the problem is only fixed in trunk (3.1m1). The codebase for this specific part of the engine is very different in trunk and in current branch (3.0.5). It was also a known limitation in 3.0.x. That is why it is only fixed in trunk.

  []s
  Edson

Beto Siless wrote:

Hi everyone, I have a another question:

The JIRA has "java NullPointerException when using constraints between fields in same object" in two different issues:

http://jira.jboss.com/jira/browse/JBRULES-548
http://jira.jboss.com/jira/browse/JBRULES-515

both of them are closed, and the 548 says thats it's fixed in 3.0.5. I have been working with the latest version from the repository and it was solved from sure, but now I've changed to 3.0.5 and the problem is back. Any ideas? Maybe I'm doing something wrong: To switch to 3.0.5 I've downloaded the jbossrules-ide-3.0.5-bin.zip, extracted the org.drools.ide_3.0.5.jar jars into a lib folder, and included to the eclipse project.

Beto



rule "RULE TWO"

when
    Test($z :z, $y :y, $x :x, $id :id, x < $z, y == true)
then
    System.out.println("ok!");
end

java.lang.NullPointerException
at org.drools.rule.BoundVariableConstraint.isAllowed(Unknown Source)
    at org.drools.common.BetaNodeBinder.isAllowed(Unknown Source)
at org.drools.reteoo.LeftInputAdapterNode.assertObject(Unknown Source) at org.drools.reteoo.ObjectSource.propagateAssertObject(Unknown Source)
    at org.drools.reteoo.AlphaNode.assertObject(Unknown Source)
at org.drools.reteoo.ObjectSource.propagateAssertObject(Unknown Source)
    at org.drools.reteoo.ObjectTypeNode.assertObject(Unknown Source)
    at org.drools.reteoo.Rete.assertObject(Unknown Source)
    at org.drools.reteoo.ReteooRuleBase.assertObject(Unknown Source)
at org.drools.reteoo.ReteooWorkingMemory.doAssertObject(Unknown Source) at org.drools.common.AbstractWorkingMemory.assertObject(Unknown Source) at org.drools.common.AbstractWorkingMemory.assertObject(Unknown Source) at ar.com.teracode.expertsystemshell.RuleTest.testRule01(RuleTest.java:74)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    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 org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(JUnit3TestReference.java:128) at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:460) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)









---------------------------------------------------------------------
To unsubscribe from this list please visit:

   http://xircles.codehaus.org/manage_email





---------------------------------------------------------------------
To unsubscribe from this list please visit:

   http://xircles.codehaus.org/manage_email





---------------------------------------------------------------------
To unsubscribe from this list please visit:

   http://xircles.codehaus.org/manage_email





---------------------------------------------------------------------
To unsubscribe from this list please visit:

   http://xircles.codehaus.org/manage_email

Reply via email to