-
1. Re: Proposed move of components.xml location
gavin.king Jun 22, 2006 8:20 AM (in response to jtucker)Actually I don't love WEB-INF as a place for it. But I'm not sure where it should go. META-INF in the ear? the ejb-jar? I'm really not certain...
-
2. Re: Proposed move of components.xml location
jtucker Jun 22, 2006 8:48 AM (in response to jtucker)My vote is either META-INF or right next to components.properties at the root of the classpath.
-
3. Re: Proposed move of components.xml location
rdewell Jun 22, 2006 12:09 PM (in response to jtucker)Please just don't break the ability to have multiple WARs in the same EAR!
-
4. Re: Proposed move of components.xml location
gavin.king Jun 22, 2006 4:53 PM (in response to jtucker)Yes, good point. So it naturally belongs in the war.
-
5. Re: Proposed move of components.xml location
jtucker Jun 23, 2006 4:02 AM (in response to jtucker)Except it doesn't help my case where it's not being loaded in my SeamTests unless I explicitly copy /WEB-INF/ to my classpath.
This proposal may also be relevant for JBSEAM-255 - testing components inside containers but outside JSF lifecycles.
Would a cascading configuration be more suitable where a components.xml from the ejb-jar could be merged with a components.xml in the war? Or would support for WAR-specific components.properties suffice?
I'm happy to contribute the changes required if we can agree on an approach. -
6. Re: Proposed move of components.xml location
gavin.king Jun 23, 2006 4:37 AM (in response to jtucker)I don't really understand why this is a problem ... it works in the directory structure used for the examples...
-
7. Re: Proposed move of components.xml location
jtucker Jun 23, 2006 4:48 AM (in response to jtucker)Yeah it's easy enough with an ant build, but not with a maven directory structure or running the eclipse TestNG plugin. I'm working around by including a second WEB-INF directory in a source folder which only contains components.xml.