Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [platform-ant-dev] AntRunner feature request


You can build the JARs (using Ant of course :-) ) and then use in the self- hosting case.
This is how we work / test with the Ant integration for Eclipse.

Yes, extraClasspathEntry is a required attribute for the extension point.

Darins



"Julien Ruaux" <jruaux@xxxxxxxx>
Sent by: platform-ant-dev-admin@xxxxxxxxxxx

02/25/03 10:53 AM
Please respond to platform-ant-dev

       
        To:        <platform-ant-dev@xxxxxxxxxxx>
        cc:        
        Subject:        RE: [platform-ant-dev] AntRunner feature request



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
-----Original Message-----
From:
platform-ant-dev-admin@xxxxxxxxxxx [mailto:platform-ant-dev-admin@xxxxxxxxxxx] On Behalf Of Darin Swanson
Sent:
Tuesday, February 25, 2003 5:05 PM
To:
platform-ant-dev@xxxxxxxxxxx
Subject:
Re: [platform-ant-dev] AntRunner feature request


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




Back to the top