Dynamic class generation and eclipse rule editor

View: New views
2 Messages — Rating Filter:   Alert me  

Dynamic class generation and eclipse rule editor

by Evans, Jess :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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@...
https://lists.jboss.org/mailman/listinfo/rules-users

Re: Dynamic class generation and eclipse rule editor

by Edson Tirelli-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


   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 <JEvans@...>
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@...
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@...
https://lists.jboss.org/mailman/listinfo/rules-users
LightInTheBox - Buy quality products at wholesale price!