Cheers - I'll take a look. Basically, in my instance, I have my library for migrating databases [1] which I'm wrapping with a maven plugin, the plugin walks the classpath finding classes with the @DataMigration annotation (opening JarFile instances and walking File[] lists to determine available classnames), then instantiating them and calling their methods where appropriate.
As Brett says - I might be able to get away with just creating a Classloader looking at the target/classes directory. Mark [1] http://code.google.com/p/dbng/wiki/IntroductionToDatabaseNG On Tue, Oct 14, 2008 at 5:28 AM, Jason van Zyl <[EMAIL PROTECTED]> wrote: > Look at the Jetty plugin, Jan has done most of the work there and I'm sure > you can lift it all. -- "It is easier to optimize correct code than to correct optimized code." -- Bill Harlan
