The problem definitely depends on
msgCtClass.writeFile();
being in the code
AND
the root (!) of the subdirector drools/dynamic into which the class
file Message.class is written being in the classpath.
Since I run javac/java from the comman line, I have to have "." in my
classpath, and this means that ./drools/dynamic/Message.class is in
scope.
See where this subdirectory+file is actually located in your workspace
and make sure the root is in the classpath. Check the javassist API so
as to exercise more control over the location to which the class file
is writen by the aforementioned method.
-W
On 22/05/2012, Ayush <ayush.vatsyayan(a)alcatel-lucent.com> wrote:
Thanks Laune,
I'm using java version "1.6.0_29"
--
View this message in context:
http://drools.46999.n3.nabble.com/Drools-function-not-working-with-Javass...
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