<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:"Arial Unicode MS";
        panose-1:2 11 6 4 2 2 2 2 2 4;}
@font-face
        {font-family:Verdana;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
pre
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:Arial;
        color:windowtext;}
@page Section1
        {size:595.3pt 841.9pt;
        margin:70.85pt 3.0cm 70.85pt 3.0cm;}
div.Section1
        {page:Section1;}
-->
</style>

</head>

<body lang=PT link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'>Hi</span></font><font size=2 face=Arial><span
lang=EN-GB style='font-size:10.0pt;font-family:Arial'> </span></font><font
size=2 face=Arial><span lang=EN-GB style='font-size:10.0pt;font-family:Arial'>everybody</span></font><font
size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>!<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'>I have added the JBoss rules &#8211; drools 3.0.5 to
an existing eclipse project.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'>I have already solved the problem of adding the
source code of drools to the debugging of eclipse, using the first indication
of Kris, witch is quoted in the end!<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'>Now the problem it&#8217;s being able to debugging
using the source of drools, but having the line number, so that eclipse can
follow the exact actions of the source.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'>Can anybody help me?!<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<pre style='margin-left:35.4pt'><font size=2 face="Courier New"><span
lang=EN-GB style='font-size:10.0pt'>Yes, the drools jars do not contain any source by default (to limit the size of <o:p></o:p></span></font></pre><pre
style='margin-left:35.4pt'><font size=2 face="Courier New"><span lang=EN-GB
style='font-size:10.0pt'>the jars).<o:p></o:p></span></font></pre><pre
style='margin-left:35.4pt'><font size=2 face="Courier New"><span lang=EN-GB
style='font-size:10.0pt'>There are two ways to use the source of these classes though:<o:p></o:p></span></font></pre><pre
style='margin-left:35.4pt'><font size=2 face="Courier New"><span lang=EN-GB
style='font-size:10.0pt'> * When you are trying to debug an application in eclipse, and you open the <o:p></o:p></span></font></pre><pre
style='margin-left:35.4pt'><font size=2 face="Courier New"><span lang=EN-GB
style='font-size:10.0pt'>debug dialog (right click your Java main class, select Debug As -&gt; Debug ...), <o:p></o:p></span></font></pre><pre
style='margin-left:35.4pt'><font size=2 face="Courier New"><span lang=EN-GB
style='font-size:10.0pt'>there is a tab there you can use to add sources.  If you download the sources <o:p></o:p></span></font></pre><pre
style='margin-left:35.4pt'><font size=2 face="Courier New"><span lang=EN-GB
style='font-size:10.0pt'>from svn and import these as Java projects in eclipse, you can just add those <o:p></o:p></span></font></pre><pre
style='margin-left:35.4pt'><font size=2 face="Courier New"><span lang=EN-GB
style='font-size:10.0pt'>projects to the source lookup path.  I added a screenshot to help you out with <o:p></o:p></span></font></pre><pre
style='margin-left:35.4pt'><font size=2 face="Courier New"><span lang=EN-GB
style='font-size:10.0pt'>that.<o:p></o:p></span></font></pre><pre
style='margin-left:35.4pt'><font size=2 face="Courier New"><span lang=EN-GB
style='font-size:10.0pt'> * If you add the sources to the drools jars directly (in the same dir as the <o:p></o:p></span></font></pre><pre
style='margin-left:35.4pt'><font size=2 face="Courier New"><span lang=EN-GB
style='font-size:10.0pt'>corresponding class files, so not in a separate src dir or something like <o:p></o:p></span></font></pre><pre
style='margin-left:35.4pt'><font size=2 face="Courier New"><span lang=EN-GB
style='font-size:10.0pt'>that), those sources will be found automatically as well.  So rebuilding those <o:p></o:p></span></font></pre><pre
style='margin-left:35.4pt'><font size=2 face="Courier New"><span lang=EN-GB
style='font-size:10.0pt'>jars and adding the sources should do the trick for all your projects at once.<o:p></o:p></span></font></pre><pre
style='margin-left:35.4pt'><font size=2 face="Courier New"><span lang=EN-GB
style='font-size:10.0pt'><o:p>&nbsp;</o:p></span></font></pre><pre
style='margin-left:35.4pt'><font size=2 face="Courier New"><span
style='font-size:10.0pt'>Kris<o:p></o:p></span></font></pre>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'>Thanks in advance for the attention of this problem.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Verdana><span style='font-size:10.0pt;
font-family:Verdana'>__________________________________<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Verdana><span style='font-size:10.0pt;
font-family:Verdana'>Francisco Brum&nbsp;- </span></font><a
href="mailto:rui.arrenega@link.pt"
title="mailto:rui.arrenega@link.pt&#10;mailto:nuno.oliveira@link.pt"><font
size=2 face=Verdana><span style='font-size:10.0pt;font-family:Verdana'><span
title="mailto:rui.arrenega@link.pt">francisco.brum@link.pt</span></span></font></a><br>
<b><font size=2 color=teal face=Verdana><span style='font-size:10.0pt;
font-family:Verdana;color:teal;font-weight:bold'>Link Consulting</span></font></b><font
size=2 face=Verdana><span style='font-size:10.0pt;font-family:Verdana'> - </span></font><a
href="http://www.link.pt/" target="_BLANK&#12892;&#18;&#26598;&#12320;&#30576;&#18;&#24756;&#18;&#13056;&#20;&#13040;&#20;&#26612;&#12320;&#23720;&#4644;&#2772;&#18;&#13056;&#20;&#13072;&#20;&#16;&#1086;&#5552;&#18;"
title="http://www.link.pt/"><font size=2 face=Verdana><span style='font-size:
10.0pt;font-family:Verdana'><span title="http://www.link.pt/">http://www.link.pt/</span></span></font></a><o:p></o:p></p>

<p class=MsoNormal><font size=2 face=Verdana><span style='font-size:10.0pt;
font-family:Verdana'>Tel.: 213 100 031</span></font><br>
<font size=2 face=Verdana><span style='font-size:10.0pt;font-family:Verdana'>Av.
Duque D'Ávila, 23 4º Esq.<br>
1000-138 Lisboa</span></font><o:p></o:p></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

</div>

</body>

</html>