I didn't need to .. e.g. I added this "free form drl" in to one of my rules
"then" part, and it validated it successfully. You just need to provide a fully
qualified name .. e.g. java.util.Vector, instead of just Vector.
[cid:image001.jpg@01CC1616.2C861CA0]
-----Original Message-----
From: rules-users-bounces(a)lists.jboss.org [mailto:rules-users-bounces@lists.jboss.org] On
Behalf Of boy18nj
Sent: Wednesday, May 18, 2011 10:53 PM
To: rules-users(a)lists.jboss.org
Subject: [rules-users] Import java.util*, java.math* inside Guvnor BRL?
Hi,
In order to import java.util* classes inside Guvnor rules, do I need to
upload java,util* jar file.
For example-, I am using BigDecimal amount = BigDecimal.ZERO;
It complains unknown class or Illegal statement BigDecimal
--
View this message in context:
http://drools.46999.n3.nabble.com/Import-java-util-java-math-inside-Guvno...
Sent from the Drools: User forum mailing list archive at
Nabble.com.
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users