Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[tycho-user] Folder configuration/org.eclipse.osgi/bundles with jars is missing

Hi,

I am facing a problem on a tycho build for an RCP application that I did not develop. I'm integrating the build of the application in a build server. The persons that are developping the application are not using any automated build (this is my role).

I'm doing a lot of build in ant (and starting with gradle). I used to know maven...This to say that I am not a newbie in building tools but a little bit with maven :-)

I have read some tutorials about how to build RCP applications, how to use tycho to build them, etc. I have an output that is almost fine. But only almost.

The application is composed of one plugin (the whole application). The dev team is supplying only one folder for this application. Following the tutorials, I have declared an eclipse-repository that is packaged as eclipse-repository. I have added a feature that is built as eclipse-feature. The feature is referencing the plugin as shown in the itp-rcp04 demo project.

The build is successful and the packaging of the application is done with the plugin stored in the plugin folder. My problem is that I need the jars that are listed in the MANIFEST.MF to be present in the folder configuration/org.eclipse.osgi/bundle/X/Y/.cp (where X and Y are numbers). But the org.eclipse.osgi folder is not present.

I know that these folders are required since :
  - I have compared my build and the one that I am supposed to have and this is missing
  - the application is not starting if this folder (with all the jars) is missing

I thought that the META-INF/MANIFEST.MF was describing the OSGi requirements and the output was built based on this file. So I have added the jars in the description of the MANIFEST.MF and it did not work. I have tried to use the simple project itp04-rcp to understand how to do that but it is still not working.

I had this working and made some small changes...and I cannot remember what I have changed but it is not working. Since it was experimental I had not put it under version control...now it is but it is not working anymore...

I cannot supply code since this is an internal project and I don't own the code. But I can do tests with the itp04-rcp project.

Anyone can help me on this ? what do I miss in the mecanism ?

Thank you.

Boris

Back to the top