Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Virgo » Dependencies tab missing for mavenized par project(manifest editor incomplete after adding a virgo par facet)
Dependencies tab missing for mavenized par project [message #976020] Thu, 08 November 2012 08:51 Go to next message
Erik Vande Velde is currently offline Erik Vande VeldeFriend
Messages: 62
Registered: September 2012
Member
As we build everything with maven I also made a maven module that only contains a par manifest file. When creating an eclipse project for this one-file project with a 'mvn eclipse:eclipse', importing it in eclipse, and adding the 'EclipseRT Par' Facet I'm unable to add any bundles to this par as the 'dependencies' tab is missing from the manifest editor. Is there any way to make it appear? A related question: where are such dependencies physically stored? This is a rare situation where you change something in a manifest editor without seeing any impact to the manifest.mf file ...
Re: Dependencies tab missing for mavenized par project [message #984876 is a reply to message #976020] Thu, 15 November 2012 02:07 Go to previous message
Leo Dos Santos is currently offline Leo Dos SantosFriend
Messages: 26
Registered: July 2009
Junior Member
The dependencies page is an EMF based editor that writes its own model out to a separate file. Unfortunately you're doing something that the tools never anticipated, which is working with a par project that wasn't created with the tools!

Okay, here's the answer to your question. The tools want to find a "org.eclipse.virgo.ide.runtime.core.par.xml" file under YourPar/.settings. As far as I can tell, there's no way to create one of these files on its own, so you'll want to use the tools to generate a new par project and copy the file into the .settings directory of your Mavenized par projects. You should then be able to open the PAR Manifest editor upon your manifest or even upon the *par.xml file and add your dependencies that way.
Previous Topic:Virgo tooling: issues with hot deploy to server in Servers view
Next Topic:How to deploy maven web project to Virgo?
Goto Forum:
  


Current Time: Sat Nov 22 17:04:55 GMT 2014

Powered by FUDForum. Page generated in 0.03347 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software