No 3.1 is different we have inline the dependencies, you no longer need commons jci - and trying to do so will probably confuse things. The dependencies needed for M1 are now a lot less:
http://markproctor.blogspot.com/2007/02/jboss-rules-dependencies-slim-down.html

so now you just need
drools-core
drools-compiler
antlr3
xerces, xml-apis if you want to parse xml
stringtemplate, antlr2
jdt core and janino.
mvel
xstream/xpp if you want to output audit log

This is shown if you look in the project pom.xml

http://anonsvn.labs.jboss.com/labs/jbossrules/trunk/drools-core/pom.xml
    <dependency>
      <groupId>xstream</groupId>
      <artifactId>xstream</artifactId>
      <version>1.1.3</version>
    </dependency>
    
    <dependency>
      <groupId>xpp3</groupId>
      <artifactId>xpp3</artifactId>
      <version>1.1.3.4.O</version>
    </dependency>
    
    <dependency>
      <groupId>org.mvel</groupId>
      <artifactId>mvel14</artifactId>    
      <version>1.2beta13</version>
    </dependency> 

http://anonsvn.labs.jboss.com/labs/jbossrules/trunk/drools-compiler/pom.xml
    <dependency>
      <groupId>antlr</groupId>
      <artifactId>stringtemplate</artifactId>
      <version>3.0</version>
    </dependency>
    <dependency>
      <groupId>antlr</groupId>
      <artifactId>antlr</artifactId>      
      <version>2.7.7</version>      
    </dependency>

    <dependency>
      <groupId>org.antlr</groupId>
      <artifactId>antlr</artifactId>      
      <version>3.0b5</version>      
    </dependency>
    <dependency>
      <groupId>org.eclipse.jdt</groupId>
      <artifactId>core</artifactId>
      <version>3.2.1.v_677_R32x</version>
    </dependency>     
    <dependency>
      <groupId>janino</groupId>
      <artifactId>janino</artifactId>
      <version>2.5.5</version>
    </dependency>    
    <dependency>
      <groupId>xml-apis</groupId>
      <artifactId>xml-apis</artifactId>
      <version>1.0.b2</version>
    </dependency>
    <dependency>
      <groupId>xerces</groupId>
      <artifactId>xerces</artifactId>
      <version>2.4</version>
    </dependency>

All these deps can be found in the with-deps zip from the jboss.org website.
S Reed wrote:
I am sorry, Tom, but I don't understand. I have been referring to this requirements document all along. I see that it requires commons-jci-eclipse but your previous message says you removed it. What did you replace it with or am I missing something?

Tom Gonzalez's message received 3/14/2007 12:32 PM:
COMPILER - rule assembly time
Rule compiler takes rules in some textual format and prepares binary Packages of rules for deployment. This depends on the CORE RUNTIME.
 
    * drools-core
    * drools-compiler - the rule compiler itself.
    * antlr3 - only if you are using native DRL. if only using XML, you can skip this.
    * xerces, xml-apis - only if you are using XML rules, if DRL only, can skip this.
    * commons-jci-core
          o This also requires only one pair out of:
                + commons-jci-eclipse, core-3.2 - for eclipse JDT to compile the java semantics (this is default)
                + commons-jci-janino, janino - for janino. To use this option, set -Ddrools.compiler=JANINO or use PackageBuilderConfiguration? class.
    * commons-logging - used by various dependencies.
    * commons-lang - used for string manipulation in various dependencies.
    * stringtemplate, anlr-2.7.6 - used in generating semantic code.
 
 
Tom G

From: rules-users-bounces@lists.jboss.org [mailto:rules-users-bounces@lists.jboss.org] On Behalf Of S Reed
Sent: Wednesday, March 14, 2007 12:12 PM
To: Rules Users List
Subject: Re: [rules-users] Error compiling rules (3.1M1). NoSuchMethodError: EclipseJavaCompiler.<init>(java/util/Map)

Thank you, Tom.

I replaced antlr-2.7.6 with 2.7.7 and antlr 3.0ea8 with the 3.0b5 that came with the Drools 3.1M1 release.
I upgraded stringtemplate to 3.0.
None of these changes helped which is not too surprising since the error is in the commons-jci code:
Exception in thread "main" java.lang.NoSuchMethodError: org.apache.commons.jci.compilers.EclipseJavaCompiler.<init>(Ljava/util/Map;)V.
I have a critical question. If you removed commons-jci-eclipse-3.2.0.666.jar, what did you replace it with? Since the error I am getting is in that jar, I am very interested in this answer. There is no version of that jar in the 3.1M1 release.

If anyone else can weigh in here and enlighten me I'd appreciate it.

  Scott



Tom Gonzalez's message received 3/13/2007 6:43 PM:
 Here are the changes We are using.

Remove 
antlr-3.0ea8.jar
antlr-2.7.6.jar
commons-jci-eclipse-3.2.0.666.jar
core-3.2.0.666.jar
stringtemplate-2.3b6.jar


Remove 
drools-compiler-3.0.4.jar
drools-core-3.0.4.jar

Add 
antlr-2.7.7.jar
antlr-3.0b5.jar
core-3.2.1.v_677_R32x.jar
stringtemplate-3.0.jar
xstream-1.1.3.jar


Add 
drools-compiler-3.1.0-M1.jar
drools-core-3.1.0-M1.jar


_______________________________________________ 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