-
Bug
-
Resolution: Done
-
Minor
-
None
-
None
-
None
This didn't fail fast for me:
@Deployment public static WebArchive createDeployment() { WebArchive webArchive = ShrinkWrap.create(ExplodedImporter.class, "guvnor-webapp-5.3.0-SNAPSHOT.war") .importDirectory(new File("target/guvnor-webapp-5.3.0-SNAPSHOT/")) // already contains WEB-INF/classes/META-INF/beans.xml .as(WebArchive.class) .addAsResource(new File("target/test-classes/META-INF/test-beans.xml"), "WEB-INF/classes/META-INF/beans.xml") ... return webArchive; }
Surprisingly, the second beans.xml didn't even overwrite the first one either. The second beans.xml was just ignored.
- is duplicated by
-
SHRINKWRAP-388 Adding an Asset to already existing ArchivePath is silently ignored
- Closed
- is related to
-
SHRINKWRAP-416 Should not be able to overwrite an existing directory
- Closed
-
ARQ-585 Support for adding a beans-test.xml without discarding the original beans.xml or seam-beans.xml
- Closed