Community
Participate
Working Groups
Build Identifier: 20100917-0705 I have issues with war deployment within Eclipse, as reported in the following thread http://www.eclipse.org/forums/index.php?t=post&reply_to=649984&S=dcbba32f13a76dda785fb1cc62222f5a&SQ=7fd77697adf5ad8aa3356b4aefec1fa7& If I build the project with Maven, and put the generated war in the pickup it deploys properly. But if I drag and drop the project on the server within Eclipse, the deployment fails. The Manifest file is not the one generated by Bundlor, and directory structure under the stage directory is not the same as the structure of the war file. Reproducible: Always Steps to Reproduce: 1.Add the project in Eclipse 2.Deploy the project in a Virgo web server instance
Created attachment 187279 [details] The project that can not be deployed in Eclipse The project uses a parent pom that will be provided in a further attachement.
Created attachment 187280 [details] The parent pom.xml
Another case of a project deployable standalone but not from Tooling.
I am still finding this a problem but I'm not sure how relevant it is. The project is not a war project as stated and is not using the tooling properly either. If I fix this up and remove the variables in the template file and correct the targeted runtime all the problems go away but it still won't build the manifest file from the template. I've tried toggling all the options but I can't get it going.
Created attachment 226209 [details] Updated project with no Manifest generation working.
This newly raised bug may be related bug #399654
I haven't been able to get the project completely clean (mainly the com.mootwin references), so I'm not looking at this under ideal conditions, but with the "Scan output folders..." Manifest Generation option turned off, I can generate a manifest under src/main/java/META-INF/MANIFEST.MF. Deploying the bundle will stage the manifest under WEB-INF/classes/META-INF/MANIFEST.MF, which is where it's mapped to under the Deployment Assembly properties page.
With recent fixes to the tooling this week, this seems to work for me as expected. Please reopen if I've overlooked something.