How to add different projects to your OSB Configuration project

When you manually setup your OSB Config project or when you get it automatically created from an sbconfig.jar file you will always have your project properly nested to your configuration project, like in the image below:

The thing is when you already have a project into another folder or config project and you need to import it to yours. When you do that, the project will be shown like this:

You will also get an error telling you the project is not associated with a Oracle Service Bus Configuration Project, like you see below.

What you have to do is go to your <OSB Config Project home folder>/.settings and edit the com.bea.alsb.core.prefs file.

All you have to do is add the name of your project to the container.referenced.projects property, separated by pipe “|”, like below