the new ClassLoader as default for this Thread
Thread.currentThread().setContextClassLoader( jpaRealm.getClassLoader()
);
}
--- Jason van Zyl [EMAIL PROTECTED] schrieb am Mo, 13.10.2008:
Von: Jason van Zyl [EMAIL PROTECTED]
Betreff: Re: Accessing an artifacts classpath from
How do you need to use it? It can be quite simple to create a
classloader for this, but it depends on how it'll be used.
Cheers,
Brett
On 13/10/2008, at 9:40 PM, Mark Derricutt wrote:
Hi all,
I have a maven plugin I'm working on and I want to include the
classpath
(main, test, others...)
Hi all,
I have a maven plugin I'm working on and I want to include the classpath
(main, test, others...) of the artifact calling the plugin - am I going to
have to spawn/fork a new java process and include them on the classpath
somehow, or is their some mojo-magic that takes care of this?
Mark
classpath from a mojo?
An: Maven Users List users@maven.apache.org
Datum: Montag, 13. Oktober 2008, 12:45
How do you need to use it? It can be quite simple to create
a
classloader for this, but it depends on how it'll be
used.
Cheers,
Brett
On 13/10/2008, at 9:40 PM, Mark Derricutt wrote
and LieGrue,
strub
--- Brett Porter [EMAIL PROTECTED] schrieb am Mo, 13.10.2008:
Von: Brett Porter [EMAIL PROTECTED]
Betreff: Re: Accessing an artifacts classpath from a mojo?
An: Maven Users List users@maven.apache.org
Datum: Montag, 13. Oktober 2008, 12:45
How do you need to use it? It can
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