[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
RE: [platform-ant-dev] AntRunner feature request
|
Title: Message
It's
working fine, thanks Darins for your help !
One
thing though : this doesn't work in self-hosting since the jar isn't there,
and the extension point must have an extraClasspathEntry for the related plugin
classloader to be added.
Julien
Julien,
We
are in the midst of a test past for the release cycle of 2.1.
2.1 is feature complete.
But I think it should be possible to achieve what you
need using the current support.
As a
side-effect of using the org.eclipse.ant.core.extraClasspathEntries extension
point, you can add parent plug-in classloaders to the AntClassLoader.
This way the classes loaded by the
AntClassLoader could have access to classes loaded by a parent plug-in
classloader (to get at a static instance for example).
HTH
Darins
| "Julien Ruaux"
<jruaux@xxxxxxxx> Sent
by: platform-ant-dev-admin@xxxxxxxxxxx
02/25/03 09:12 AM Please respond to platform-ant-dev
| To:
<platform-ant-dev@xxxxxxxxxxx> cc:
Subject: [platform-ant-dev]
AntRunner feature request
|
Hi,
I would like to be able to
set the ClassLoader that AntRunner uses. There currently is a possibility to
set a custom classpath, but this is not enough for what I want to do (access
to singleton instances). Is this possible ? I could submit the patch for that
if everything is ok.
Thanks,
Julien