Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [m2e-dev] m2e classloader made from MavenProject.getCompileClasspathElements()?

Igor:

-------- Original Message  --------
Subject: Re: [m2e-dev] m2e classloader made from MavenProject.getCompileClasspathElements()?
From: Igor Fedorenko <igor@xxxxxxxxxxxxxx>
To: m2e-dev@xxxxxxxxxxx
Date: Thu 23 Feb 2012 06:45:57 AM CST

Generally, I would not
recommend running workspace code inside Eclipse JVM and I would
certainly avoid classloaders is a way to do workspace resources lookup,

I need to run "class for name":
http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html#forName(java.lang.String, boolean, java.lang.ClassLoader)
with initialize=true for the workspace classes as part of m2e maven invocation;

can you please let me know
what is standard/recommended way of doing this?

separate stand-by jvm? do not load - work via asm instead? more?

thank you

Andrei


Back to the top