Hi everybody!
I have added the JBoss rules - drools 3.0.5 to an existing eclipse project.
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!
Now the problem it'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.
Can anybody help me?!
Yes, the drools jars do not contain any source by default (to limit the size of
the jars).
There are two ways to use the source of these classes though:
* When you are trying to debug an application in eclipse, and you open the
debug dialog (right click your Java main class, select Debug As -> Debug ...),
there is a tab there you can use to add sources. If you download the sources
from svn and import these as Java projects in eclipse, you can just add those
projects to the source lookup path. I added a screenshot to help you out with
that.
* If you add the sources to the drools jars directly (in the same dir as the
corresponding class files, so not in a separate src dir or something like
that), those sources will be found automatically as well. So rebuilding those
jars and adding the sources should do the trick for all your projects at once.
Kris
Thanks in advance for the attention of this problem.
__________________________________
Francisco Brum - francisco.brum(a)link.pt <mailto:rui.arrenega@link.pt>
Link Consulting -
http://www.link.pt/ <
http://www.link.pt/>
Tel.: 213 100 031
Av. Duque D'Ávila, 23 4º Esq.
1000-138 Lisboa