Create a web bundle project, and deploy it within Eclipse [message #649523] |
Wed, 19 January 2011 14:58 |
Lorie Pisicchio Messages: 44 Registered: October 2010 |
Member |
|
|
I am creating a web bundle to implement an configuration interface. I created a new bundle project, following greenpages.web example. But I'm not able to deploy this bundle in my Virgo Web Server within Eclipse.
If I build my project with maven, and copy/paste the war into the pickup, it starts fine.
But if I drag and drop my project on my server instance in Eclipse, the deployment fails.
After analyzing the content of the war in one case, and of the stage directory in the other case, I identified several differences that could explain the problem :
- The MANIFEST.MF file is not the one generated by Bundlor
- The directory structure is quite different. For example, the ftl directory is under WEB-INF in the war file, whereas it is directely under the bundle root in the stage directory
I'd like to have more explainations on what the tooling is doing behind the scene during deployment of artifacts. This is not the first time I'm facing difficulties with deployement within Eclipse, and it would make things much more easy if we'd have a piece of documentation on this topic.
In this specific case, is there some specific recommandations to follow to deploy web bundle in Virgo?
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03151 seconds