<div>They are all source folders in eclipse, so they should be.</div>
<div> </div>
<div><br><br> </div>
<div class="gmail_quote">On Mon, Dec 7, 2009 at 6:58 PM, Ross H <span dir="ltr"><<a href="mailto:rossh00@gmail.com">rossh00@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid"><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 class="h5"><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>> <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>
><br>><br><font color="#888888"><br>--<br>View this message in context: <a href="http://n3.nabble.com/Debuggin-in-Eclipse-tp71134p71211.html" 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><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></font></blockquote></div><br>