<div dir="ltr">Yeah found i found out the issue. Thanks </div><div class="gmail_extra"><br><br><div class="gmail_quote">On 17 February 2014 16:01, Wolfgang Laun <span dir="ltr"><<a href="mailto:wolfgang.laun@gmail.com" target="_blank">wolfgang.laun@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">The builder, if asked nicely, will tell you whether there are<br>
any errors in the DRL code. For 5.x it is:<br>
<br>
KnowledgeBuilder kBuilder = ...<br>
... feed builder<br>
if( kBuilder.hasErrors() ){<br>
KnowledgeBuilderErrors errors = kBuilder.getErrors();<br>
for( KnowledgeBuilderError err: errors ){<br>
System.err.println( err.toString() );<br>
}<br>
}<br>
<span class="HOEnZb"><font color="#888888"><br>
-W<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
On 17/02/2014, Raja Sekhar <<a href="mailto:raja.amirapu@gmail.com">raja.amirapu@gmail.com</a>> wrote:<br>
> Hi<br>
> i am trying to use drools template<br>
> String drl = resultSetGenerator.compile(resultSet, new FileInputStream(new<br>
> File("D:\\Raj\\dymanic.drt")));<br>
> complied drl as above<br>
> when i try add the pakage packageBuilder.getPackage() it return null<br>
> i am using the 5.6.0.Final version of drools<br>
><br>
> Regards,<br>
> Raja Sekhar Amirapu<br>
> ------------------------------------------------------<br>
> "If any anyone can do it, i can do it. If no one else can do it, i must do<br>
> it"<br>
><br>
</div></div><div class="HOEnZb"><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><br clear="all"><div><br></div>-- <br><div dir="ltr">Raja Sekhar Amirapu<br>------------------------------------------------------<div>"If any anyone can do it, i can do it. If no one else can do it, i must do it"<br>
</div></div>
</div>