<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Ah! I found EclipseJavaCompiler(Map) in drools-compiler. Is the
requirement for commons-jci-eclipse incorrect or is it also required?<br>
I also realize that I only updated my Eclipse project and failed to
update my ant scripts with these changes.<br>
I should be ok now. <br>
Thank you for the help.<br>
Scott<font color="#000000" size="2"><span class="934012216-14032007"></span></font><font
color="#000000" face="Arial" size="2"><span class="934012216-14032007"><font
size="2"><br>
</font></span></font><br>
S Reed's message received 3/14/2007 12:40 PM:
<blockquote cite="mid45F82596.3020006@spamcop.net" type="cite">
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
I am sorry, Tom, but I don't understand. I have been referring to this
requirements document all along. I see that it requires <font
color="#0000ff" face="Arial" size="2"><span class="934012216-14032007"><font
size="2">commons-jci-eclipse <font color="#000000">but your previous
message says you removed it. What did you replace it with or am I
missing something?</font></font></span></font><br>
<br>
Tom Gonzalez's message received 3/14/2007 12:32 PM:
<blockquote
cite="mid25E284CCA9C9A14B89515B116139A94D108A6C51@zrtphxm0.corp.nortel.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html; ">
<meta content="MSHTML 6.00.2800.1589" name="GENERATOR">
<div><font color="#0000ff" face="Arial" size="2"><span
class="934012216-14032007"><font size="2">COMPILER - rule assembly time<br>
Rule compiler takes rules in some textual format and prepares binary
Packages of rules for deployment. This depends on the CORE RUNTIME.</font></span></font></div>
<div> </div>
<div><font color="#0000ff" face="Arial" size="2"><span
class="934012216-14032007"><font size="2"> * drools-core<br>
* drools-compiler - the rule compiler itself.<br>
* antlr3 - only if you are using native DRL. if only using XML, you
can skip this.<br>
* xerces, xml-apis - only if you are using XML rules, if DRL only,
can skip this.<br>
* commons-jci-core<br>
o This also requires only one pair out of:<br>
+ <b>commons-jci-eclipse</b>, core-3.2 - for eclipse
JDT to compile the java semantics (this is default)<br>
+ commons-jci-janino, janino - for janino. To use this
option, set -Ddrools.compiler=JANINO or use
PackageBuilderConfiguration? class.<br>
* commons-logging - used by various dependencies.<br>
* commons-lang - used for string manipulation in various
dependencies.<br>
* stringtemplate, anlr-2.7.6 - used in generating semantic code.</font></span></font></div>
<div><font color="#0000ff" face="Arial" size="2"><span
class="934012216-14032007"></span></font> </div>
<div><font color="#0000ff" face="Arial" size="2"><span
class="934012216-14032007"></span></font> </div>
<span class="934012216-14032007"></span><font face="Arial"><font
color="#0000ff"><font size="2">Tom G<span class="934012216-14032007"></span></font></font></font><br>
<div class="OutlookMessageHeader" dir="ltr" align="left"
lang="en-us">
<hr tabindex="-1"><font face="Tahoma" size="2"><b>From:</b>
<a class="moz-txt-link-abbreviated"
href="mailto:rules-users-bounces@lists.jboss.org">rules-users-bounces@lists.jboss.org</a>
[<a class="moz-txt-link-freetext"
href="mailto:rules-users-bounces@lists.jboss.org">mailto:rules-users-bounces@lists.jboss.org</a>]
<b>On Behalf Of </b>S
Reed<br>
<b>Sent:</b> Wednesday, March 14, 2007 12:12 PM<br>
<b>To:</b> Rules Users List<br>
<b>Subject:</b> Re: [rules-users] Error compiling rules (3.1M1).
NoSuchMethodError: EclipseJavaCompiler.<init>(java/util/Map)<br>
</font><br>
</div>
Thank you, Tom. <br>
<br>
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. <br>
I upgraded stringtemplate to 3.0.<br>
None of these changes helped which is not too surprising since the
error is in the commons-jci code:<br>
<blockquote>Exception in thread "main" java.lang.NoSuchMethodError:
org.apache.commons.jci.compilers.EclipseJavaCompiler.<init>(Ljava/util/Map;)V.<br>
</blockquote>
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.<br>
<br>
If anyone else can weigh in here and enlighten me I'd appreciate it.<br>
<br>
Scott<br>
<br>
<br>
<br>
Tom Gonzalez's message received 3/13/2007 6:43 PM:
<blockquote
cite="mid25E284CCA9C9A14B89515B116139A94D1085AECF@zrtphxm0.corp.nortel.com"
type="cite">
<pre wrap=""> 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</pre>
</blockquote>
<br>
<pre wrap=""><hr size="4" width="90%">
_______________________________________________
rules-users mailing list
<a class="moz-txt-link-abbreviated"
href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a>
<a class="moz-txt-link-freetext"
href="https://lists.jboss.org/mailman/listinfo/rules-users">https://lists.jboss.org/mailman/listinfo/rules-users</a>
</pre>
</blockquote>
<br>
<pre wrap="">
<hr size="4" width="90%">
_______________________________________________
rules-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/rules-users">https://lists.jboss.org/mailman/listinfo/rules-users</a>
</pre>
</blockquote>
<br>
</body>
</html>