Hi all, I've come across strange error in my app. The error is connected probably with ant classloader and appears while the following piece of code in my application is run from junit (triggered by ant triggered by maven):
MyClass.class.getPackage returns null, although the name of the class is sth like 'com.foo.bar.MyClass'. When junit is run from eclipse a package is found i.e. it is not null. However when run from eclipse, Sun classloader is used. I heard that the problem may be with non-delegating ant class loader, but could not fix it so far. Could you help? Regards, Maciek --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
