<!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&nbsp;use the source of these 
classes though:</FONT></DIV>
<DIV><FONT face=Arial size=2>&nbsp;* 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 -&gt; Debug ...), there is a tab there you can use to add 
sources.&nbsp; If you download the sources from svn and&nbsp;import these as 
Java projects in eclipse, you can just add those projects to the source lookup 
path.&nbsp; I added a screenshot to help you out with that.</FONT></DIV>
<DIV><FONT face=Arial size=2>&nbsp;* If you add the sources to the 
drools&nbsp;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.&nbsp; 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>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Kris</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</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> &lt;<A 
  href="mailto:kris.verlaenen@cs.kuleuven.be">kris.verlaenen@cs.kuleuven.be</A>&gt; 
  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>&nbsp;* The JBoss Rules classpath container is 
    added to the classpath of the project</FONT></DIV>
    <DIV><FONT face=Arial size=2>&nbsp;* A JBoss Rules builder automatically 
    checks all rules for possible errors</FONT></DIV>
    <DIV><FONT face=Arial size=2></FONT>&nbsp;</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.&nbsp; 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.&nbsp; 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>&nbsp;</DIV>
    <DIV><FONT face=Arial size=2>Kris</FONT></DIV>
    <DIV><FONT face=Arial size=2></FONT>&nbsp;</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.&nbsp; I'm having some trouble adding 
      the JBoss Rules custom classpath container to an existing project in 
      Eclipse.&nbsp; I can do it by adding the following line to the project's 
      .classpath file: </FONT></P>
      <P><FONT face=Arial size=2>&lt;classpathentry kind="con" 
      path="DROOLS/JBoss Rules"/&gt;</FONT> </P>
      <P><FONT face=Arial size=2>Is there another/better way to do this?&nbsp; I 
      would expect to be able to do it somewhere in Build Path --&gt; 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>