[rules-users] Adding DROOLS/JBoss Rules to classpath WITH LINE NUMBERS

sumedha rubasinghe sumedha.r at gmail.com
Fri Feb 23 03:50:33 EST 2007


Hi,
Do not add to an existing project.

Go to folder jbossrules-3.0.5-src. Then do a 'mvn eclipse:eclipse'

This will generate eclipse meta files. The import this as an Eclipse
project.
When running a rules project(X), add the imported project as a dependent
project.

Do not forget to remove the jbossrules jars from the project X.

/sumedha




On 2/21/07, Francisco Brum <francisco.brum at link.pt> wrote:
>
>  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 at link.pt <rui.arrenega at link.pt>
> *Link Consulting* - http://www.link.pt/
>
> Tel.: 213 100 031
> Av. Duque D'Ávila, 23 4º Esq.
> 1000-138 Lisboa
>
>
>
> _______________________________________________
> 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/20070223/62d38c0e/attachment.html 


More information about the rules-users mailing list