What JDK version(s) do you need to support? Can you provide an example of the classpath you have to search? Who's 'funny RMI classloaders' are they?
didge
I'm trying to run junit remotely, so get something like a package name "org.example.tests" and want to search for a specified pattern "*Test\\.class" and get all classes that match it that the current classloader knows about. Maybe recursively.
The funny RMI classloader was written by a colleague, which adds extra security to a normal one (resources are copied locally for signature verification & other tricks). The key is that it (and parents) can be configured with various urls to files, and the test runner has its code auto-deployed from the URLs as needed.
-----Original Message----- From: Steve Loughran [mailto:[EMAIL PROTECTED] Sent: Thursday, May 20, 2004 3:37 AM To: Ant Developers List Subject: enumerating all classes in a package
Anyone know how to enum all classes defined in a package? I want to search for *Test.class on a defined classpath, without having access to the JARs as files I can get at (i.e. they are remote stuff coming through funny RMI classloaders).
-steve
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]