<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE></TITLE>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.6000.16640" name=GENERATOR></HEAD>
<BODY text=#000000 bgColor=#ffffff>
<DIV dir=ltr align=left><SPAN class=457355109-04062008><FONT face=Arial 
color=#0000ff size=2>I eventually switched to JANINO because we are not using 
any Java 5 features.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=457355109-04062008><FONT face=Arial 
color=#0000ff size=2>I discovered that some of the info available on the web is 
outdated when switching between Eclipse JDT ad Janino.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=457355109-04062008><FONT face=Arial 
color=#0000ff size=2>The following system property has to be set: 
drools.dialect.java.compiler=JANINO some docs/posts referred to 
drools.compiler=JANINO</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=457355109-04062008><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=457355109-04062008><FONT face=Arial 
color=#0000ff size=2>I was hoping someone could indicate if/how properties can 
be configured when using JSR-94 to influence the compiler choice or other 
properties drools looks for.</FONT></SPAN></DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> rules-users-bounces@lists.jboss.org 
[mailto:rules-users-bounces@lists.jboss.org] <B>On Behalf Of </B>Mark 
Proctor<BR><B>Sent:</B> 03 June 2008 17:19<BR><B>To:</B> Rules Users 
List<BR><B>Subject:</B> Re: [rules-users] 
eclipse-jdtcore.jar<BR></FONT><BR></DIV>
<DIV></DIV>Corneil du Plessis wrote: 
<BLOCKQUOTE cite=mid:030b01c8c587$2b1ac290$c301a8c0@TSCDEV3 type="cite"><PRE wrap="">Problem I have is that it is in WebSphere/lib so it gets loaded before
anything in my application, when the classloader is set to parent first. 
When I change the class loader to parent last I run into a new set of
problem with some of the XML based libraries. 
  </PRE></BLOCKQUOTE>If you search the mailing list archive, I believe people 
have resolved that issue. You can always switch drools to use janino too, see 
the wiki for more details on that.<BR>
<BLOCKQUOTE cite=mid:030b01c8c587$2b1ac290$c301a8c0@TSCDEV3 type="cite"><PRE wrap="">-----Original Message-----
From: <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>] On Behalf Of Marcus Ilgner
Sent: 03 June 2008 15:35
To: Rules Users List
Subject: Re: [rules-users] eclipse-jdtcore.jar

Hi,

just as a side note: I had one project using Eclipse which already used
another version of the JDT core. Encountering the same problem, I just put
the core-3.2.3.v_686_R32x.jar from Drools in my project, too, and it worked
without problems.

Best regards
Marcus

On Tue, Jun 3, 2008 at 3:25 PM, Augusto Rodriguez
<A class=moz-txt-link-rfc2396E href="mailto:augusto.rodriguez@globant.com">&lt;augusto.rodriguez@globant.com&gt;</A> wrote:
  </PRE>
  <BLOCKQUOTE type="cite"><PRE wrap="">Hi Corneil,

Unluckily I've seen that error more often that I would like. It's not 
a bug in drools, but is related to the dependencies of the
    </PRE></BLOCKQUOTE><PRE wrap=""><!---->drools-compiler.
  </PRE>
  <BLOCKQUOTE type="cite"><PRE wrap="">There's a big chance that you have a different version of the JDT core 
jar in your classpath (drools depends on version 3.2.3 - the filename 
of that jar is core-3.2.3.v_686_R32x.jar). This jar is used by drools 
to compile the rules.

I hope this helps you to solve this issue.


Cheers,
Augusto

Corneil du Plessis wrote:
    </PRE>
    <BLOCKQUOTE type="cite"><PRE wrap="">I am experiencing a conflict with a deployment:

We used WebSphere Application Server 6.0.2.x in our integration 
testing environment and now the deployed application at a customer 
site is reporting the following exception:


java.lang.NoSuchMethodError:
org.eclipse.jdt.internal.compiler.CompilationResult: method 
getProblems()[Lorg/eclipse/jdt/core/compiler/CategorizedProblem; not
      </PRE></BLOCKQUOTE></BLOCKQUOTE><PRE wrap=""><!---->found
  </PRE>
  <BLOCKQUOTE type="cite">
    <BLOCKQUOTE type="cite"><PRE wrap="">       at

org.drools.commons.jci.compilers.EclipseJavaCompiler$3.acceptResult(E
clipseJ
avaCompiler.java(Compiled Code))
       at


      </PRE></BLOCKQUOTE></BLOCKQUOTE><PRE wrap=""><!---->org.eclipse.jdt.internal.compiler.Compiler.handleInternalException(Compiler.
  </PRE>
  <BLOCKQUOTE type="cite">
    <BLOCKQUOTE type="cite"><PRE wrap="">java(Compiled Code))
       at
org.eclipse.jdt.internal.compiler.Compiler.compile(Compiler.java(Comp
iled
Code))
       at

org.drools.commons.jci.compilers.EclipseJavaCompiler.compile(EclipseJ
avaComp
iler.java(Compiled Code))
       at

org.drools.commons.jci.compilers.AbstractJavaCompiler.compile(Abstrac
tJavaCo
mpiler.java:51)
       at

org.drools.rule.builder.dialect.java.JavaDialect.compileAll(JavaDiale
ct.java
:342)

Has anyone else comes across this?

I am not sure where the JAR comes from because has not version info.

_______________________________________________
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><PRE wrap="">_______________________________________________
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><PRE wrap=""><!---->_______________________________________________
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>

_______________________________________________
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>