<div>Yes, I converted it to a Drools project and I do have errors being flagged in my drools file if I have them.  Still nothing.  I am very frustrated .... </div>
<div> </div>
<div>I am still able to stop at breakpoints in rules files by creating a drools project from scratch and Debug As - &gt; Drools application, but something about converting an existing project and debugging it.</div>
<div><br> </div>
<div class="gmail_quote">On Wed, Dec 9, 2009 at 6:52 AM, Kris Verlaenen <span dir="ltr">&lt;<a href="mailto:Kris.Verlaenen@cs.kuleuven.be">Kris.Verlaenen@cs.kuleuven.be</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Is your project a Drools project? You can convert existing projects to<br>a Drools projects by right-clicking the project and selecting &quot;Convert<br>
to Drools Project&quot;.  This will add the Drools library (which you can<br>remove if you don&#39;t need it) and adds a Drools Builder.  This builder<br>is crucial as it generates the necessary meta-data used for<br>breakpoints.  You should be able to see the drools builder in<br>
the .project file.  Also make sure that you have not turned off caching<br>in the Drools preferences.  The structure of your process should not<br>matter, as long as your rules are on the classpath.  You can easily<br>check whether the drools builder is working, as it should show errors<br>
for incorrect syntax in your rule files.<br><br>Kris<br><br>Citeren chris richmond &lt;<a href="http://richmond.cd/" target="_blank">richmond.cd</a>@<a href="http://gmail.com/" target="_blank">gmail.com</a>&gt;:<br>
<div>
<div></div>
<div class="h5"><br>&gt; Ok, I have a project working with Eclipse Galileo 3.5.1 and it works<br>&gt; fine. I<br>&gt; can create new drools projects and they debug fine with the<br>&gt; DroolsTest<br>&gt; example.  However I have a very larege existing project that does not<br>
&gt; use<br>&gt; the src/main/java and src/main/rules src folder structure and the<br>&gt; project<br>&gt; runs fine, and I can &quot;Debug as Drools Application&quot; no problem,<br>&gt; however it<br>&gt; will never stop on any breakpoints in the rules file.  Does this<br>
&gt; have<br>&gt; anything to do with the fact that I am not using the default<br>&gt; src/rules<br>&gt; direcories structure?  Or, is it dependent on loading the DRL file in<br>&gt; a<br>&gt; particular method.  I am loading the file usin this method:<br>
&gt;<br>&gt;<br>&gt; java.io.FileInputStream fis = *new* java.io.FileInputStream(<br>&gt;<br>&gt; *new* java.io.File(*&quot;C:\\Path\\To\\Some\\Dir\\rules.drl*));<br>&gt;<br>&gt;  builder.add(ResourceFactory.*newInputStreamResource*(fis),<br>
&gt;<br>&gt; ResourceType.*DRL*);<br>&gt;<br>&gt; Should I be loading the fule file using the DroolsTest sample code<br>&gt; method<br>&gt; like below?<br>&gt;<br>&gt; KnowledgeBuilder kbuilder =<br>&gt; KnowledgeBuilderFactory.*newKnowledgeBuilder*();<br>
&gt;<br>&gt; kbuilder.add(ResourceFactory.*newClassPathResource*(&quot;Sample.drl&quot;),<br>&gt; ResourceType.*DRL*);<br>&gt;<br>&gt; Does these even make a difference?  Or any ideas why I can&#39;t get any<br>&gt; debug<br>
&gt; breakpoints in my rule file in my custom project to go into<br>&gt; break-time?<br>&gt;<br>&gt;<br>&gt; Thanks,<br>&gt;<br>&gt; Chris<br>&gt;<br><br><br><br><br></div></div>Disclaimer: <a href="http://www.kuleuven.be/cwis/email_disclaimer.htm" target="_blank">http://www.kuleuven.be/cwis/email_disclaimer.htm</a><br>

<div>
<div></div>
<div class="h5">_______________________________________________<br>rules-users mailing list<br><a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br><a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
</div></div></blockquote></div><br>