Ant uses a custom classloader AntClassLoader. It seems that when I try to inject code:
com.polexis.license.LicenseManager.validateLicense();
into a class from Javassist, I get the following:
was NOT licensed!: Licensing Error: [source error] no such class: com.polexis.li
cense.LicenseManager
However that class is on my custom tasks classpath!!!!!!!!!!!!!!!
ANY HELP would be appreciated.
Can you try the fix I posted in
http://www.jboss.org/index.html?module=bb&op=viewtopic&t=44946?