[rules-users] Drools 5.0.0.M3 Runtime problem in Eclipse 3.4.1

Kris Verlaenen kris.verlaenen at cs.kuleuven.be
Fri Dec 5 10:14:24 EST 2008


The Drools plugin now supports multiple runtimes, but this means you must always define one.  We are still in the process of documenting this, but this is an extract from the docs that should help you out.  Let me know if it is still unclear.  

Note: the images that are referred to can be found here: http://anonsvn.jboss.org/repos/labs/labs/jbossrules/trunk/drools-docs/drools-docs-flow/src/main/docbook/images/Chapter-GettingStarted/

Kris

<para>If you have not yet set up a Drools runtime, you should do this now. A Drools runtime
is a collection of jars on your file system that represent one specific release of the Drools
project jars. To create a runtime, you must either point the IDE to the release of your choice,
or you can simply create a new runtime on your file system from the jars included in the Drools
Eclipse plugin. Since we simply want to use the Drools version included in this plugin, we will
do the latter. Note that you will only have to do this once, next time you create a Drools project,
it will automatically use the default Drools runtime, unless you specify otherwise.</para>

<para>So if you have not yet set up a Drools runtime, click the Next button. The following dialog
as shown below tells you that you have not yet defined a default Drools runtime and that you should
configure the workspace settings first. Do this by clicking on the "Configure Workspace Settings ..."
link.</para>

<mediaobject>
<imageobject>
<imagedata align="center" format="BMP" role="" 
fileref="images/Chapter-GettingStarted/project-wizard3.bmp"/>
</imageobject>
</mediaobject>

<para>The dialog that pops up shows the workspace settings for Drools runtimes. The first time you
do this, the list of installed Drools runtimes is probably empty, as shown below. To create a new
runtime on your file system, click the "Add..." button. This shows a dialog where you should give
the new runtime a name (e.g. "Drools5 runtime"), and a path to your drools runtime on your file
system. In this tutorial, we will simply create a new Drools5 runtime from the jars embedded in the
Drools Eclipse plugin. Click the "Create a new Drools 5 runtime ..." button and select the folder
where you want this runtime to be created and click the "OK" button. You will see the path you
selected show up in the previous dialog. So we're all done here as well, so click the "OK" button
here as well. You will see the newly created runtime show up in your list of Drools runtimes. Select
this runtime as the new default runtime by clicking on the check box in front of your runtime name
and click "OK". After successfully setting up your runtime, you can now finish the project creation
wizard by clicking on the "Finish" button.</para>

<mediaobject>
<imageobject>
<imagedata align="center" format="BMP" role="" 
fileref="images/Chapter-GettingStarted/project-runtimes.bmp"/>
</imageobject>
</mediaobject>

  ----- Original Message ----- 
  From: Zhang Jing-A52198 
  To: rules-users at lists.jboss.org 
  Sent: Thursday, December 04, 2008 12:51 AM
  Subject: [rules-users] Drools 5.0.0.M3 Runtime problem in Eclipse 3.4.1


  Dear All,

   

  I'm trying to get the latest Drools 5.0.0.M3 work in Eclipse 3.4.1. I downloaded the plugin (from http://download.jboss.org/drools/release/5.0.0.24045.M3/drools-5.0.0.M3-eclipse-all.zip) and put it into the eclipse plugins folder. When I try to create a Drools Project, the wizard asks me to select a Drools Runtime. What is that? How to configure it?

   

  Thanks for your help.

   

  Jing



------------------------------------------------------------------------------


  _______________________________________________
  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/20081205/78da6f68/attachment.html 


More information about the rules-users mailing list