[rules-users] Problem with running examples from drools-distribution-5.2.0
Wolfgang Laun
wolfgang.laun at gmail.com
Thu Jul 21 03:06:21 EDT 2011
On 20 July 2011 19:35, Wolfgang Laun <wolfgang.laun at gmail.com> wrote:
> The logical "and" between *patterns* cannot be written as '&&' any more.
> Replace it with 'and'.
>
>
Disregard this please. '&&' is perfectly correct.
@Ulrich: I suspect that you have some intermediary Drools snapshot of
pre-5.2.0-final hanging around on your system.
-W
> -W
>
>
>
> 2011/7/20 Scholz. Ulrich <u.scholz at seeburger.de>
>
>> Dear all,
>>
>>
>>
>> I try to run the examples given in
>> http://download.jboss.org/drools/release/5.2.0.Final/drools-distribution-5.2.0.Final.zip(Drools 5.2.0 final downloads)
>>
>>
>>
>> I’ve installed the plugin and the example as given in ReadMeDrools.txt
>>
>>
>>
>> Nevertheless, I get many Eclipse errors (1913) and cannot run the example.
>> For example, the first error is
>>
>>
>>
>> Description Resource Path Location
>> Type
>>
>> [ERR 102] Line 56:49 mismatched input '&&' expecting ')' in rule "Free
>> Fish Food Sample" PetStore.drl
>> /drools-examples/src/main/resources/org/drools/examples/petstore line 56
>> Drools Error
>>
>>
>>
>> If I run the example despite the errors, I get the message “Could not find
>> the main class: org.drools.examples.DroosExamplesApp. Program will exit.”
>>
>>
>>
>> What could I do?
>>
>>
>>
>> Thanks, Ulrich
>>
>>
>>
>> --
>>
>> Eclipse Java EE IDE for Web Developers.
>>
>>
>>
>> Version: Indigo Release
>>
>> Build id: 20110615-0604
>>
>>
>>
>> (c) Copyright Eclipse contributors and others 2005, 2011. All rights
>> reserved.
>>
>> Visit http://www.eclipse.org/webtools
>>
>> --
>>
>> Graphical Editing Framework GEF
>> 3.7.0.v20110425-2050-777D-81B2Bz0685C3A6E34272
>> org.eclipse.gef.feature.group Eclipse Modeling Project
>>
>> Graphical Editing Framework Draw2d
>> 3.7.0.v20110425-2050-46-7w3122153603161
>> org.eclipse.draw2d.feature.group Eclipse Modeling Project
>>
>> JBoss Drools Core 5.2.0.v20110116-0638-H14
>> org.drools.eclipse.feature.feature.group JBoss by Red Hat
>>
>> JBoss Drools Guvnor 5.2.0.v20110116-0638-H14
>> org.guvnor.tools.feature.feature.group JBoss by Red Hat
>>
>> JBoss Drools Task 5.2.0.v20110116-0638-H14
>> org.drools.eclipse.task.feature.feature.group JBoss by Red Hat
>>
>> --
>>
>>
>>
>>
>>
>>
>>
>> ...
>>
>>
>>
>> *SEEBURGER AG* Vorstand/Seeburger Executive Board: Sitz der
>> Gesellschaft/Registered Office: Bernd Seeburger, Axel Haas, Michael
>> Kleeberg Edisonstr. 1 D-75015 Bretten Vorsitzender des
>> Aufsichtsrats/Chairperson of the Seeburger Supervisory Board: Tel.:
>> 07252 / 96 - 0 Dr. Franz Scherer Fax: 07252 / 96 - 2222 Internet:
>> http://www.seeburger.de Registergericht/Commercial Register: e-mail:
>> info at seeburger.de HRB 240708 Mannheim
>>
>>
>> Dieses E-Mail ist nur für den Empfänger bestimmt, an den es gerichtet
>> ist und kann vertrauliches bzw. unter das Berufsgeheimnis fallendes Material
>> enthalten. Jegliche darin enthaltene Ansicht oder Meinungsäußerung ist die
>> des Autors und stellt nicht notwendigerweise die Ansicht oder Meinung der
>> SEEBURGER AG dar. Sind Sie nicht der Empfänger, so haben Sie diese E-Mail
>> irrtümlich erhalten und jegliche Verwendung, Veröffentlichung,
>> Weiterleitung, Abschrift oder jeglicher Druck dieser E-Mail ist strengstens
>> untersagt. Weder die SEEBURGER AG noch der Absender ( Scholz. Ulrich )
>> übernehmen die Haftung für Viren; es obliegt Ihrer Verantwortung, die E-Mail
>> und deren Anhänge auf Viren zu prüfen.
>>
>> The present email addresses only the addressee which it targets and may
>> contain confidential material that may be protected by the professional
>> secret. The opinions reflected herein are not necessarily the one of the
>> SEEBURGER AG. If you are not the addressee, you have accidentally got this
>> email and are not enabled to use, publish, forward, copy or print it in any
>> way. Neither SEEBURGER AG , nor the sender (Scholz. Ulrich) are liable for
>> viruses, being your own responsibility to check this email and its
>> attachments for this purpose.
>>
>>
>> _______________________________________________
>> rules-users mailing list
>> rules-users at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/rules-users
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20110721/dc06a407/attachment.html
More information about the rules-users
mailing list