[rules-users] Dynamic class generation and eclipse rule editor

2008-10-10 Thread Evans, Jess
So, I've whipped together a rudimentary bit of code to parse an excel
and generate java bean fact classes and as well as the facts themselves.
This great article
(http://blog.athico.com/2006/12/dynamically-generated-class-beans-as.htm
l
http://blog.athico.com/2006/12/dynamically-generated-class-beans-as.htm
l ) helped me to resolve the runtime rule compilation problem I had
encountered.  However, my eclipse rule editor shows problems for the
dynamically generated class references which makes me sad.  Is there any
workaround to make these classes available to the rule editor or
otherwise suppress the type checking for these classes?
 
thanks,
 
-Jess
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


Re: [rules-users] Dynamic class generation and eclipse rule editor

2008-10-10 Thread Edson Tirelli
   Did you checked the new type declaration feature in Drools 5? maybe
your tool just got easier to work with, since instead of generating classes
you can simply generate DRL now... and eclipse editor will work just fine
with it...

   []s
   Edson

2008/10/10 Evans, Jess [EMAIL PROTECTED]

  So, I've whipped together a rudimentary bit of code to parse an excel and
 generate java bean fact classes and as well as the facts themselves.  This
 great article (
 http://blog.athico.com/2006/12/dynamically-generated-class-beans-as.html) 
 helped
 me to resolve the runtime rule compilation problem I had encountered.
 However, my eclipse rule editor shows problems for the dynamically generated
 class references which makes me sad.  Is there any workaround to make these
 classes available to the rule editor or otherwise suppress the type checking
 for these classes?

 thanks,

 -Jess

 ___
 rules-users mailing list
 rules-users@lists.jboss.org
 https://lists.jboss.org/mailman/listinfo/rules-users




-- 
 Edson Tirelli
 JBoss Drools Core Development
 JBoss, a division of Red Hat @ www.jboss.com
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users