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 #603771] Thu, 03 December 2009 14:12 Go to next message
Stefan Baramov is currently offline Stefan Baramov
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 #603778 is a reply to message #603771] Fri, 04 December 2009 16:12 Go to previous message
Steffen Zschaler is currently offline Steffen Zschaler
Messages: 228
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
Previous Topic:Eclipse switch workspace
Next Topic:Preserving file permissions in exported features
Goto Forum:
  


Current Time: Wed Jul 23 10:09:27 EDT 2014

Powered by FUDForum. Page generated in 0.06280 seconds