Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » Modify Export-Package header through IPluginModelBase
Modify Export-Package header through IPluginModelBase [message #501789] Thu, 03 December 2009 19:12 Go to next message
Stefan Baramov is currently offline Stefan BaramovFriend
Messages: 33
Registered: July 2009
Member
Hello PDE Team:
I have tried to find the right API calls to modify the Export-Package header of the MANIFEST.MF through the IModel API of the PDE. No luck so far. The only thing I found was the org.eclipse.pde.internal.core.ibundle.IBundle interface which happen to be internal.

How can my plug-in modify the MANIFEST.MF and in particular Export-Package through the nice IModel interface without using brute force such as modifying the file itself .

I would appreciate any hints or pointers.

Thanks
Stefan
Re: Modify Export-Package header through IPluginModelBase [message #502042 is a reply to message #501789] Fri, 04 December 2009 21:12 Go to previous messageGo to next message
Steffen Zschaler is currently offline Steffen ZschalerFriend
Messages: 266
Registered: July 2009
Senior Member
What's brute force about using java.util.Manifest?

Steffen

Stefan Baramov wrote:
> Hello PDE Team:
> I have tried to find the right API calls to modify the Export-Package
> header of the MANIFEST.MF through the IModel API of the PDE. No luck
> so far. The only thing I found was the
> org.eclipse.pde.internal.core.ibundle.IBundle interface which happen
> to be internal.
> How can my plug-in modify the MANIFEST.MF and in particular
> Export-Package through the nice IModel interface without using brute
> force such as modifying the file itself .
>
> I would appreciate any hints or pointers.
>
> Thanks
> Stefan
Re: Modify Export-Package header through IPluginModelBase [message #502299 is a reply to message #502042] Mon, 07 December 2009 16:03 Go to previous message
Stefan Baramov is currently offline Stefan BaramovFriend
Messages: 33
Registered: July 2009
Member
Well, for one, it reformats the file. Ideally I would like to preserve the formatting.
Re: Modify Export-Package header through IPluginModelBase [message #603790 is a reply to message #502042] Mon, 07 December 2009 16:03 Go to previous message
Stefan Baramov is currently offline Stefan BaramovFriend
Messages: 33
Registered: July 2009
Member
Well, for one, it reformats the file. Ideally I would like to preserve the formatting.
Previous Topic:Properties Page Extension
Next Topic:Schema editor: References and additional restrictions
Goto Forum:
  


Current Time: Tue Apr 16 15:58:31 GMT 2024

Powered by FUDForum. Page generated in 2.39693 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top