-
1. Re: META-INF/application.xml is not deployed to exploded ear
maxandersen May 20, 2010 8:45 AM (in response to sehlerding)is there an application.xml in the ear projects earcontent folder ?
Does a full publish not include it ?
-
2. Re: META-INF/application.xml is not deployed to exploded ear
sehlerding May 20, 2010 8:55 AM (in response to maxandersen)Yes, there is one and it is not included. There is one special thing. I migrated the projects from MyEclipe to Eclipse Enterprise Edition. So I edited some metadata. One change is the structure in the Enterprise Application Project, but the application.xml is there. I thought it could be reasoned by the migration but it is not deployed even if I create a new Enterprise Application Project.
In the screenshot you can see the structure of my Enterprise Application Project.
-
entapp.jpg 5.6 KB
-
-
3. Re: META-INF/application.xml is not deployed to exploded ear
rob.stryker May 20, 2010 9:37 AM (in response to sehlerding)While I do see a "META-INF" folder with an application.xml file in it, I do not see a "WebContent" folder housing this META-INF folder. So I really don't think this project is a well-formed EAR project.
I would need to see a copy of your {project}/.settings/org.eclipse.wst.common.component file to verify this though. But from the looks of it, I doubt sincerely there is a mapping of any sort for this project to actually include the META-INF folder in the final ear project.
-
4. Re: META-INF/application.xml is not deployed to exploded ear
maxandersen May 20, 2010 9:51 AM (in response to rob.stryker)Rob, I assume you mean "earcontent" folder.
And yes, it seems you don't have a wellformed WTP compatible project ?
If you create an EAR project from scratch does it work or not?
-
5. Re: META-INF/application.xml is not deployed to exploded ear
sehlerding Jun 2, 2010 2:20 AM (in response to maxandersen)You were right..after adding the folder "earcontent" it works fine. Thanks for your help.