There is no reason I know of why a template file should not contain any declares.<br>-W<br><br><div class="gmail_quote">On 12 February 2011 10:38, jwillans2 <span dir="ltr">&lt;<a href="mailto:james.willans@ceteva.com">james.willans@ceteva.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="im"><br>
<br>
Samuli Saarinen wrote:<br>
&gt;<br>
&gt; On 8.11.2010 16:43, Edson Tirelli wrote:<br>
&gt;<br>
</div><div class="im">&gt; <a href="https://jira.jboss.org/browse/JBRULES-2779" target="_blank">https://jira.jboss.org/browse/JBRULES-2779</a><br>
&gt;<br>
&gt;<br>
<br>
</div>Hello,<br>
<br>
Is there any known work around for this issue?  I&#39;m loading the Type<br>
Declarations first, putting both types and rules in the same package, but<br>
the @expires(..) is still ignored.  Unfortunately I cannot put types and<br>
rules in the same file since the rules are expanded using templates.  This<br>
issue is a real blocker for what we are trying to do.<br>
<br>
Thanks for any help,<br>
<br>
James<br>
<font color="#888888"><br>
--<br>
View this message in context: <a href="http://drools-java-rules-engine.46999.n3.nabble.com/Declaring-events-separately-from-rules-breaks-expires-tp1792611p2479238.html" target="_blank">http://drools-java-rules-engine.46999.n3.nabble.com/Declaring-events-separately-from-rules-breaks-expires-tp1792611p2479238.html</a><br>

Sent from the Drools - User mailing list archive at Nabble.com.<br>
</font><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>