Hi Alasdair, Thank you very much for your reply. I tried your steps. But I do not see the target/<artifact-id>/META-INF folder in any of my projects!
But I can configure the Maven Bundle Plugin to create an META-INF/MANIFEST.MF anywhere I want. I have made some progress in a similar way (configuring the Maven Bundle Plugin) to create a META-INF/MANIFEST.MF etc. Problem now I face is with a WAB (WEB) project. If I build a EBA everything works fine. But I want to build a .app project (thats kind of specific to RAD/WAS). When I deploy the .app it complains that my WAB is bad because it cannot find the WEB-INF/web.xml file. I really would like to talk to some IBM RAD guys. I have posted this on the IBM OSGi forum as well - but not much luck. Any ideas from the IBM guys? Matt On Sat, Aug 6, 2011 at 3:54 AM, Alasdair Nottingham <[email protected]> wrote: > Hi, > > I haven't tried with RAD, but using the IBM Rational Development Tools for > OSGi Applications from Eclipse Marketplace I managed to get them to > understand the project with the following steps: > > 1. Import the eba maven project into eclipse > 2. Right click on the project > 3. Select to create a new Folder called META-INF > 4. Expand Advanced (at the bottom) > 5. Check link to someone in the filesystem. > 6. Navigate to the maven project dir on disk (you can do this by using the > PROJECT_LOC variable and extending it). And go down to the > target/<artifact-id>/META-INF directory. You want to link to this one. When > entered click OK > 7. Select Properties > 8. Select Project Facets > 9. Convert to a faceted project by clicking the link > 10. Uncheck the Java project facet > 11. Check the OSGi Application project facet > 12. Click OK > > I haven't tried to deploy it to WAS, but provided that the bundles are all > in the internal bundle repository I kind of expect it to work. > > Alasdair > > On 5 August 2011 18:51, Matt Madhavan <[email protected]> wrote: > >> Anybody out there please - Any help will be appreciated! >> >> Matt >> >> On Tue, Aug 2, 2011 at 5:41 PM, Matt Madhavan <[email protected] >> >wrote: >> >> > Hello, >> > I have helped set up an OSGi development for one of my client. >> > >> > It involves Blueprint/PaxEam/Maven etc. I like to keep the maven and >> also >> > the ITest feature. >> > >> > But the target deployment platform is WAS/Equinox. >> > >> > I was wondering what are the steps to add the IBM RAD facet so that RAD >> > recognizes the Vanilla Aries Blog projects as RAD proejcts as well. In >> this >> > way I can still use Maven/ Itest, do mvn pax:provision to start a Felix >> > container etc and still take advantage of the RAD/WAS. >> > >> > My main issue is enabling the Aries Web Bundle so that when deployed as >> > part an *.app (not EBA) it is recognized as a Web bundle. Please note >> that >> > if I build an EBA I'm able to deploy. >> > >> > I just want to be able to rt click on a WAS server instance from with in >> > RAD and deploy an .app bundle. >> > >> > Any help will be appreciated. >> > >> > Thanks >> > Matt >> > >> > >> > > > > -- > Alasdair Nottingham > [email protected] > > > > -- > Alasdair Nottingham > [email protected] >
