[rules-users] Re: beginner needs help

Senlin Liang senlin.liang at gmail.com
Wed Jun 11 10:13:19 EDT 2008


Hello Alexander,

Thanks a lot!

I tried to install a fresh copy of Drools, and what I have done is:
1. checked out everything from
http://anonsvn.labs.jboss.com/labs/jbossrules/trunk using Subversion.
2. cd $DROOLS_HOME
3. mvn clean
4.mvn -Declipse -Ddocumentation clean install
-DlocalEclipseDrop=/folder/jboss-rules/local-eclipse-drop-mirror

But I got a lot of error from step 4. as
====
.... (A lot of outputs that I chopped)
Tests run: 121, Failures: 0, Errors: 91, Skipped: 0

[INFO]
------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] There are test failures.

Please refer to /usr/share/drools/drools-repository/target/surefire-reports
for the individual test results.
[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 2 minutes 43 seconds
[INFO] Finished at: Wed Jun 11 09:28:52 EDT 2008
[INFO] Final Memory: 47M/132M
[INFO]
------------------------------------------------------------------------
====

Any idea of what is wrong?

Senlin



On Wed, Jun 11, 2008 at 3:05 AM, Alexander Claus <styjdt at claus4joy.de>
wrote:

> Hi Senlin,
>
> >
> > Hi all,I just started using Drools. I tried to run some example, but they
> all give me errors.
> ...
> > Exception in thread "main" org.drools.RuntimeDroolsException:
> > Unable to load dialect ...
> > Caused by: java.lang.RuntimeException: The Eclipse JDT Core jar is not in
> the classpath
>
> probably you have not all needed JAR files on your classpath.
> It depends on your needs, which JAR files you have to include, but I think,
> for the beginning, when you want to build rules using DRL, you have to
> reference:
> - drools-core***.jar
> - drools-compiler***.jar
> both from the drools main directory and further
> - antlr-runtime***.jar
> - core-3.2.3***.jar
> - mvel***.jar
> from the lib directory.
> I guess you know how to include the JARs in the classpath?
>
> If there will be similar exceptions afterwards, perhaps have a look at the
> remaining JARs in these both directorys, if you need one of them.
>
> > Is there any simple instructions for beginners?
> ...
>
> The documentation of Drools should help you to continue. See
>
> http://downloads.jboss.com/drools/docs/4.0.7.19894.GA/html/ch03.html#d0e1349
> for the section on needed JAR files. At bottom there is an interesting
> document referenced: readme_dependencies.txt
>
> Alexander
>
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>



-- 
Senlin Liang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20080611/884aaa2e/attachment.html 


More information about the rules-users mailing list