Try doing a project clean, and check that eclipse is copying all the drls into the output folder, by default this is bin. If that's not working you might need to try and put together a small example that shows the problem and share that.<br>
<br><div class="gmail_quote">On Tue, Dec 8, 2009 at 7:52 PM, chris richmond-2 [via Drools - Java Rules Engine] <span dir="ltr"><<a href="http://n3.nabble.com/user/SendEmail.jtp?type=node&node=71376&i=0" target="_top" rel="nofollow">[hidden email]</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="im">
<div>They are all source folders in eclipse, so they should be.</div>
<div> </div>
<div><br><br> </div>
</div><div class="gmail_quote"><div><div></div><div class="h5">On Mon, Dec 7, 2009 at 6:58 PM, Ross H <span dir="ltr"><<a href="http://n3.nabble.com/user/SendEmail.jtp?type=node&node=71350&i=0" rel="nofollow" target="_blank">[hidden email]</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="padding-left:1ex;margin:0px 0px 0px 0.8ex;border-left:#ccc 1px solid"><div><div></div><div class="h5"><br>Using a FileInputStream works for me with a non standard folder structure.<br>
Are all your folders on the eclipse build path?<br>
<div>
<div></div>
<div><br><br>chris richmond-2 wrote:<br>><br>> Ok, I have a project working with Eclipse Galileo 3.5.1 and it works fine.<br>> I<br>> can create new drools projects and they debug fine with the DroolsTest<br>
> example. However I have a very larege existing project that does not use<br>> the src/main/java and src/main/rules src folder structure and the project<br>> runs fine, and I can "Debug as Drools Application" no problem, however it<br>
> will never stop on any breakpoints in the rules file. Does this have<br>> anything to do with the fact that I am not using the default src/rules<br>> direcories structure? Or, is it dependent on loading the DRL file in a<br>
> particular method. I am loading the file usin this method:<br>><br>><br>> java.io.FileInputStream fis = *new* java.io.FileInputStream(<br>><br>> *new* java.io.File(*"C:\\Path\\To\\Some\\Dir\\rules.drl*));<br>
><br>> builder.add(ResourceFactory.*newInputStreamResource*(fis),<br>><br>> ResourceType.*DRL*);<br>><br>> Should I be loading the fule file using the DroolsTest sample code method<br>> like below?<br>
><br>> KnowledgeBuilder kbuilder =<br>> KnowledgeBuilderFactory.*newKnowledgeBuilder*();<br>><br>> kbuilder.add(ResourceFactory.*newClassPathResource*("Sample.drl"),<br>> ResourceType.*DRL*);<br>
><br>> Does these even make a difference? Or any ideas why I can't get any debug<br>> breakpoints in my rule file in my custom project to go into break-time?<br>><br>><br>> Thanks,<br>><br>> Chris<br>
><br></div></div>> _______________________________________________<br>> rules-users mailing list<br></div></div>> <a href="http://n3.nabble.com/user/SendEmail.jtp?type=node&node=71350&i=1" rel="nofollow" target="_blank">[hidden email]</a><div class="im">
<br>> <a href="https://lists.jboss.org/mailman/listinfo/rules-users" rel="nofollow" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
><br>><br></div><font color="#888888"><div class="im"><br>--<br>View this message in context: <a href="http://n3.nabble.com/Debuggin-in-Eclipse-tp71134p71211.html" rel="nofollow" target="_blank">http://n3.nabble.com/Debuggin-in-Eclipse-tp71134p71211.html</a><br>
Sent from the Drools - User mailing list archive at Nabble.com.<br>_______________________________________________<br>rules-users mailing list<br></div><a href="http://n3.nabble.com/user/SendEmail.jtp?type=node&node=71350&i=2" rel="nofollow" target="_blank">[hidden email]</a><div class="im">
<br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" rel="nofollow" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br></div></font></blockquote></div><br>
<br>_______________________________________________
<br>rules-users mailing list
<br><a href="http://n3.nabble.com/user/SendEmail.jtp?type=node&node=71350&i=3" rel="nofollow" target="_blank">[hidden email]</a>
<br><div class="im"><a href="https://lists.jboss.org/mailman/listinfo/rules-users" rel="nofollow" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
</blockquote></div><br>
<br><hr align="left" width="300">
View this message in context: <a href="http://n3.nabble.com/Debuggin-in-Eclipse-tp71134p71376.html">Re: [rules-users] Debuggin in Eclipse</a><br>
Sent from the <a href="http://n3.nabble.com/Drools-User-f47000.html">Drools - User mailing list archive</a> at Nabble.com.<br>