[ 
https://issues.apache.org/jira/browse/GROOVY-11582?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17936164#comment-17936164
 ] 

Paul King edited comment on GROOVY-11582 at 3/17/25 1:06 PM:
-------------------------------------------------------------

GROOVY-6491 suggests removing {{Eclipse-BuddyPolicy}}. It was added in 2008. 
See also GROOVY-5571:
bq. Eclipse-BuddyPolicy is not deprecated, it is used to specify the buddy 
classloading policies for a bundle, it is Eclipse specific and OSGi does not 
know anything about this (It will be ignored for other implementation than 
equinox)
I guess we should check whether equinox still needs/uses it.
Found this old email in the marc archives:
bq. From: jer...@completecomputing.com
bq. > To: d...@groovy.codehaus.org
bq. > Sent: Thursday, May 11, 2006 8:24:04 AM
bq. > Subject: Re: [groovy-dev] Groovy Monkey ( Eclipse )
bq. > 
bq. > Thanks for the help,
bq. > I did figure out the problem, it is how Eclipse er OSGi, breaks with
bq. > the Java class loader model.  By using Eclipse's Buddy Loader
bq. > mechanism, i.e. setting the base plugin declaring the extension to
bq. > accept the class path of all dependent plugins, it worked like a charm.
bq. > It is pretty cool, I can rapidly prototype directly in the eclipse
bq. > instance I am running in, in fact I quickly ported GroovySWT to expose
bq. > a DOM that gives the JFaceBuilder.  I have gotten several of the
bq. > examples to run.  This is the cool scripting tool ( i.e. not JRuby or
bq. > JavaScript or BeanShell ) I have been wanting in Eclipse.


was (Author: paulk):
GROOVY-6491 suggests removing {{Eclipse-BuddyPolicy}}. It was added in 2008. 
See also GROOVY-5571:
bq. Eclipse-BuddyPolicy is not deprecated, it is used to specify the buddy 
classloading policies for a bundle, it is Eclipse specific and OSGi does not 
know anything about this (It will be ignored for other implementation than 
equinox)
I guess we should check whether equinox still needs/uses it.

> Explore pruning MANIFEST attributes
> -----------------------------------
>
>                 Key: GROOVY-11582
>                 URL: https://issues.apache.org/jira/browse/GROOVY-11582
>             Project: Groovy
>          Issue Type: Improvement
>            Reporter: Paul King
>            Priority: Major
>
> We have attributes that have previously been added to the MANIFEST but may 
> now be obsolete:
> {noformat}
> Bundle-ClassPath
> DynamicImport-Package
> Eclipse-BuddyPolicy
> Eclipse-ExtensibleAPI
> Extension-Name
> {noformat}
> We should explore whether we can remove them.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to