Maven Eclipse Plugin: Update MANIFEST.MF (Eclipse Problem)

Problem

As I have written earlier, I copy the MANIFEST.MF, which is generated by the Maven Bundle Plugin into my eclipse PDE projects.

The problem is that eclipse PDE has problems with picking up the contents of the newly created MANIFEST.MF.

bildschirmfoto2010-07-01um13-18-41.png
Solution

One solution I have found is to simply open the MANIFEST.MF in eclipse and click on one of the import‘s properties.

bildschirmfoto2010-07-01um13-19-56.png

Afterwards, the MANIFEST.MF can be saved and the PDE will pick up the contents of the MANIFEST.MF and do a syntax check, etc.

bildschirmfoto2010-07-01um13-21-01.png

Sometimes eclipse does not recognize that the MANIFEST.MF is to be opened with the Plugin in Manifest Editor. In that case, right clicking and selecting open with / other is helpful.
bildschirmfoto2010-07-01um15-21-25.png

bildschirmfoto2010-07-01um15-22-24.png

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s