Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <aslak> :)
- ok.. that's 'almost' doable the way it is now
- running against a remote container will use a http request to call the testcase inside the container
- so.. you have a active request, but no facesservlet setup
- and pr now, the 'default' Packager wrapps up your deployment in ear/ with the servlet-protocol war as ear/war
- lbaxter, this is the default EE packager in alpha-1, http://anonsvn.jboss.org/repos/common/arquillian/trunk/packagers/javaee/src/main/java/org/jboss/arquillian/packager/javaee/EEDeploymentPackager.java
- applicationArchive is you @Deployment and auxiliaryArchives are arquillian-core/junit/servlet-protocol/testrunners etc
- lbaxter, you can register the FacesServlet using the new ee 6 web fragments i guess?
- so.. what you can do for now.. if you want.. is to write your own Packager
- 1. using the AuxiliaryArchiveAppender SPI, add a Faces fragment War
- 2. using the Packager SPI, create a packager that add all AuxiliaryArchive into the Servlet-Protocol AuxiliaryArchive war as addLibrary
- 3. exclude the Packager dep from the remote container and provide your own
- Faces fragment jar i mean.. :)
- lbaxter, this of course will be supported by Arquillian in the future, but for not i mean..
- now/now
Add Comment
Please, Sign In to add comment