<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=windows-1252">
<META content="MSHTML 6.00.5730.11" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Yes, the drools jars do not contain any source by
default (to limit the size of the jars).</FONT></DIV>
<DIV><FONT face=Arial size=2>There are two ways to use the source of these
classes though:</FONT></DIV>
<DIV><FONT face=Arial size=2> * 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.</FONT></DIV>
<DIV><FONT face=Arial size=2> * 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.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Kris</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </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=stevenw@objectconsulting.com.au
href="mailto:stevenw@objectconsulting.com.au">Steven Williams</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 List</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Wednesday, February 07, 2007 1:53
AM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [rules-users] Adding
DROOLS/JBoss Rules to classpath</DIV>
<DIV><BR></DIV>In addition to that Kris I have noticed that I can't attach
source to any of the drools jars in eclipse - it seems to treat these jars
differently. Do you know how we can attach the
source?<BR><BR>thanks<BR>Steve<BR><BR>
<DIV><SPAN class=gmail_quote>On 2/7/07, <B class=gmail_sendername>Kris
Verlaenen</B> <<A
href="mailto:kris.verlaenen@cs.kuleuven.be">kris.verlaenen@cs.kuleuven.be</A>>
wrote:</SPAN>
<BLOCKQUOTE class=gmail_quote
style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">
<DIV bgcolor="#ffffff">
<DIV><FONT face=Arial size=2>Currently, a JBoss Rules project is just a Java
project with two additional characteristics:</FONT></DIV>
<DIV><FONT face=Arial size=2> * The JBoss Rules classpath container is
added to the classpath of the project</FONT></DIV>
<DIV><FONT face=Arial size=2> * A JBoss Rules builder automatically
checks all rules for possible errors</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>In the current version of the IDE (3.0.5) you
can only convert existing projects to JBoss rules projects by manually
altering the .project and .classpath files as described in the
documentation. The latest version in trunk already contains a shortcut
where you can right-click the .project file and select the "Convert to JBoss
Rules Project" action. I will see whether it is possible to add the
JBoss Rules classpath container to the list of libraries that can be
added.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Kris</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: rgb(0,0,0) 2px solid; MARGIN-RIGHT: 0px">
<DIV><SPAN class=e id=q_110973093c3a5c95_1>
<DIV
style="FONT: 10pt arial; font-size-adjust: none; font-stretch: normal">-----
Original Message ----- </DIV>
<DIV
style="BACKGROUND: rgb(228,228,228) 0% 50%; FONT: 10pt arial; font-size-adjust: none; font-stretch: normal; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial"><B>From:</B>
<A title=Jeffrey.Grimshaw@greenpoint.com
onclick="return top.js.OpenExtLink(window,event,this)"
href="mailto:Jeffrey.Grimshaw@greenpoint.com" target=_blank>Grimshaw,
Jeffrey</A> </DIV>
<DIV
style="FONT: 10pt arial; font-size-adjust: none; font-stretch: normal"><B>To:</B>
<A title=rules-users@lists.jboss.org
onclick="return top.js.OpenExtLink(window,event,this)"
href="mailto:rules-users@lists.jboss.org" target=_blank>Rules Users
List</A> </DIV>
<DIV
style="FONT: 10pt arial; font-size-adjust: none; font-stretch: normal"><B>Sent:</B>
Monday, February 05, 2007 7:23 PM</DIV>
<DIV
style="FONT: 10pt arial; font-size-adjust: none; font-stretch: normal"><B>Subject:</B>
[rules-users] Adding DROOLS/JBoss Rules to classpath</DIV>
<DIV><BR></DIV>
<P><FONT face=Arial size=2>Hi all. I'm having some trouble adding
the JBoss Rules custom classpath container to an existing project in
Eclipse. I can do it by adding the following line to the project's
.classpath file: </FONT></P>
<P><FONT face=Arial size=2><classpathentry kind="con"
path="DROOLS/JBoss Rules"/></FONT> </P>
<P><FONT face=Arial size=2>Is there another/better way to do this? I
would expect to be able to do it somewhere in Build Path --> Add
Libraries…, but I have had no luck.</FONT></P>
<P><FONT face=Arial size=2>Thanks,</FONT> </P>
<P><FONT face=Arial size=2>-- Jeff Grimshaw</FONT> </P><BR></SPAN></DIV>
<P></P>
<HR>
<P></P>_______________________________________________<BR>rules-users
mailing list<BR><A onclick="return top.js.OpenExtLink(window,event,this)"
href="mailto:rules-users@lists.jboss.org"
target=_blank>rules-users@lists.jboss.org</A><BR><A
onclick="return top.js.OpenExtLink(window,event,this)"
href="https://lists.jboss.org/mailman/listinfo/rules-users"
target=_blank>https://lists.jboss.org/mailman/listinfo/rules-users</A><BR>
<P></P></BLOCKQUOTE><BR><FONT face='3D"Helvetica"' size=3>Disclaimer: <A
onclick="return top.js.OpenExtLink(window,event,this)"
href="http://www.kuleuven.be/cwis/email_disclaimer.htm"
target=_blank>http://www.kuleuven.be/cwis/email_disclaimer.htm </A>for more
information.</FONT>
<BR></DIV><BR>_______________________________________________<BR>rules-users
mailing list<BR><A onclick="return top.js.OpenExtLink(window,event,this)"
href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</A><BR><A
onclick="return top.js.OpenExtLink(window,event,this)"
href="https://lists.jboss.org/mailman/listinfo/rules-users"
target=_blank>https://lists.jboss.org/mailman/listinfo/rules-users</A><BR><BR></BLOCKQUOTE></DIV><BR><BR
clear=all><BR>-- <BR>Steven Williams<BR><BR>Supervising
Consultant<BR><BR>Object Consulting<BR>Office: 8615 4500 Mob: 0439 898 668
Fax: 8615 4501 <BR><A
href="mailto:stevenw@objectconsulting.com.au">stevenw@objectconsulting.com.au</A><BR><A
href="http://www.objectconsulting.com.au">www.objectconsulting.com.au</A><BR><BR>consulting
| development | training | support <BR>our experience makes the difference
<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><br>
<FONT FACE=3D"Helvetica" SIZE=3D2>Disclaimer: <A HREF="http://www.kuleuven.be/cwis/email_disclaimer.htm">http://www.kuleuven.be/cwis/email_disclaimer.htm</A> for more information.</FONT>
<BR>
</BODY></HTML>