1 Reply Latest reply on Feb 18, 2004 11:20 AM by Shigeru Chiba

    Calling into Javaassit API from Custom Ant Task

    meb3855 Newbie

      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.