<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML xmlns="http://www.w3.org/TR/REC-html40" xmlns:o =
"urn:schemas-microsoft-com:office:office" xmlns:w =
"urn:schemas-microsoft-com:office:word"><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.6000.16735" name=GENERATOR>
<STYLE>@font-face {
        font-family: SimSun;
}
@font-face {
        font-family: SimSun;
}
@page Section1 {size: 8.5in 11.0in; margin: 1.0in 1.25in 1.0in 1.25in; }
P.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"
}
LI.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"
}
DIV.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"
}
A:link {
        COLOR: blue; TEXT-DECORATION: underline
}
SPAN.MsoHyperlink {
        COLOR: blue; TEXT-DECORATION: underline
}
A:visited {
        COLOR: purple; TEXT-DECORATION: underline
}
SPAN.MsoHyperlinkFollowed {
        COLOR: purple; TEXT-DECORATION: underline
}
SPAN.EmailStyle17 {
        COLOR: windowtext; FONT-FAMILY: Arial; mso-style-type: personal-compose
}
DIV.Section1 {
        page: Section1
}
</STYLE>
</HEAD>
<BODY lang=EN-US vLink=purple link=blue bgColor=#ffffff>
<DIV><FONT face=Arial size=2>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. </FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Note: the images that are referred to can be found
here: <A
href="http://anonsvn.jboss.org/repos/labs/labs/jbossrules/trunk/drools-docs/drools-docs-flow/src/main/docbook/images/Chapter-GettingStarted/">http://anonsvn.jboss.org/repos/labs/labs/jbossrules/trunk/drools-docs/drools-docs-flow/src/main/docbook/images/Chapter-GettingStarted/</A></FONT></DIV>
<DIV><SPAN lang=NL-BE><FONT face=Arial size=2></FONT> </DIV><FONT
face=Arial size=2><SPAN lang=NL-BE>
<DIV>
<DIV><FONT face=Arial size=2>Kris</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV><para>If you have not yet
set up a Drools runtime, you should do this now. A Drools runtime</DIV>
<DIV>is a collection of jars on your file system that represent one specific
release of the Drools</DIV>
<DIV>project jars. To create a runtime, you must either point the IDE to the
release of your choice,</DIV>
<DIV>or you can simply create a new runtime on your file system from the jars
included in the Drools</DIV>
<DIV>Eclipse plugin. Since we simply want to use the Drools version included in
this plugin, we will</DIV>
<DIV>do the latter. Note that you will only have to do this once, next time you
create a Drools project,</DIV>
<DIV>it will automatically use the default Drools runtime, unless you specify
otherwise.</para></DIV>
<DIV></SPAN> </DIV>
<DIV><para>So if you have not yet set up a Drools runtime, click the Next
button. The following dialog</FONT></DIV>
<DIV><FONT face=Arial size=2>as shown below tells you that you have not yet
defined a default Drools runtime and that you should</FONT></DIV>
<DIV><FONT face=Arial size=2>configure the workspace settings first. Do this by
clicking on the "Configure Workspace Settings ..."</FONT></DIV>
<DIV><FONT face=Arial size=2>link.</para></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2><mediaobject></FONT></DIV>
<DIV><FONT face=Arial size=2><imageobject></FONT></DIV>
<DIV><FONT face=Arial size=2><imagedata align="center" format="BMP"
role=""</FONT> </DIV>
<DIV><FONT face=Arial
size=2>fileref="images/Chapter-GettingStarted/project-wizard3.bmp"/></FONT></DIV>
<DIV><FONT face=Arial size=2></imageobject></FONT></DIV>
<DIV><FONT face=Arial size=2></mediaobject></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2><para>The dialog that pops up shows the
workspace settings for Drools runtimes. The first time you</FONT></DIV>
<DIV><FONT face=Arial size=2>do this, the list of installed Drools runtimes is
probably empty, as shown below. To create a new</FONT></DIV>
<DIV><FONT face=Arial size=2>runtime on your file system, click the "Add..."
button. This shows a dialog where you should give</FONT></DIV>
<DIV><FONT face=Arial size=2>the new runtime a name (e.g. "Drools5 runtime"),
and a path to your drools runtime on your file</FONT></DIV>
<DIV><FONT face=Arial size=2>system. In this tutorial, we will simply create a
new Drools5 runtime from the jars embedded in the</FONT></DIV>
<DIV><FONT face=Arial size=2>Drools Eclipse plugin. Click the "Create a new
Drools 5 runtime ..." button and select the folder</FONT></DIV>
<DIV><FONT face=Arial size=2>where you want this runtime to be created and click
the "OK" button. You will see the path you</FONT></DIV>
<DIV><FONT face=Arial size=2>selected show up in the previous dialog. So we're
all done here as well, so click the "OK" button</FONT></DIV>
<DIV><FONT face=Arial size=2>here as well. You will see the newly created
runtime show up in your list of Drools runtimes. Select</FONT></DIV>
<DIV><FONT face=Arial size=2>this runtime as the new default runtime by clicking
on the check box in front of your runtime name</FONT></DIV>
<DIV><FONT face=Arial size=2>and click "OK". After successfully setting up your
runtime, you can now finish the project creation</FONT></DIV>
<DIV><FONT face=Arial size=2>wizard by clicking on the "Finish"
button.</FONT><FONT face=Arial size=2></para></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2><mediaobject></FONT></DIV>
<DIV><FONT face=Arial size=2><imageobject></FONT></DIV>
<DIV><FONT face=Arial size=2><imagedata align="center" format="BMP"
role=""</FONT> </DIV>
<DIV><FONT face=Arial
size=2>fileref="images/Chapter-GettingStarted/project-runtimes.bmp"/></FONT></DIV>
<DIV><FONT face=Arial size=2></imageobject></FONT></DIV>
<DIV><FONT face=Arial size=2></mediaobject></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT></SPAN> </DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=j.zhang@motorola.com href="mailto:j.zhang@motorola.com">Zhang
Jing-A52198</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=rules-users@lists.jboss.org
href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Thursday, December 04, 2008 12:51
AM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> [rules-users] Drools 5.0.0.M3
Runtime problem in Eclipse 3.4.1</DIV>
<DIV><BR></DIV>
<DIV class=Section1>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Dear
All,<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">I’m trying to get the latest
Drools 5.0.0.M3 work in Eclipse 3.4.1. I downloaded the plugin (from <A
href="http://download.jboss.org/drools/release/5.0.0.24045.M3/drools-5.0.0.M3-eclipse-all.zip">http://download.jboss.org/drools/release/5.0.0.24045.M3/drools-5.0.0.M3-eclipse-all.zip</A>)
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?<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Thanks for your
help.<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Jing<o:p></o:p></SPAN></FONT></P></DIV>
<P>
<HR>
<P></P>_______________________________________________<BR>rules-users mailing
list<BR>rules-users@lists.jboss.org<BR>https://lists.jboss.org/mailman/listinfo/rules-users<BR></BLOCKQUOTE></BODY></HTML>