[jboss-jira] [JBoss JIRA] Commented: (JBRULES-1230) Not able to run drools if core-3.2.3.v_686_R32x.jar is not specified in the classpath

Mark Proctor (JIRA) jira-events at lists.jboss.org
Sat Nov 10 23:41:59 EST 2007


    [ http://jira.jboss.com/jira/browse/JBRULES-1230?page=comments#action_12386956 ] 
            
Mark Proctor commented on JBRULES-1230:
---------------------------------------

sorry, thought you weren't using the java dialect. Looking at your stack trace you are not passing in a PackageBuilderConfiguration - this means it will instantiate a default package PackageBuilderConfiguration, which uses jdt, if you aren't passing in a PackageBuilderConfiguration you can use a properties file in the right location.

> Not able to run drools if core-3.2.3.v_686_R32x.jar is not specified in the classpath
> -------------------------------------------------------------------------------------
>
>                 Key: JBRULES-1230
>                 URL: http://jira.jboss.com/jira/browse/JBRULES-1230
>             Project: JBoss Drools
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: All
>    Affects Versions:  4.0.0.GA
>         Environment: Windows XP, Dell Optiplex GX 270
>            Reporter: Krishnan Sivaramakrishna Iyer
>         Assigned To: Mark Proctor
>            Priority: Blocker
>
> hi all,
> In my application, I use simple drl file based rules and it is not a J2EE application. Based on the dependencies
> documentation http://anonsvn.labs.jboss.com/labs/jbossrules/tags/4.0.1.14754GA/README_DEPENDENCIES.txt
> , it seems I am in the compiler option
> The only jars I am including are as follows :-
> drools-compiler-4.0.0.jar
> drools-core-4.0.0.jar
> drools-decisiontables-4.0.0.jar
> drools-jsr94-4.0.0.jar
> antlr-runtime-3.0.jar
> mvel14-1.2rc1.jar
> core-3.2.3.v_686_R32x.jar [Can anyone explain why I need this, the documentation seems like this is optional, but when I
> don't specify this, it does not work ?.]
> I also tried not including the core but including the janino library and specifying the janino compiler at run time and that also
> expects the core to be included. Any help is appreciated.
> TIA,
> Krishnan. 
> Comments from Edson Tirelli 
> Krishnan,
>     You should not need decision tables and jsr94 jars if you are not using such feature. Regarding the compiler, you must use either core (jdt) jar or Janino jar... I'm not aware of any hard dependency on core itself... if it exists, please open a jira for us to fix.
>     []s
>     Edson

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list