Commits

fidox committed d28c334

Include the entire application package. Useful if you dont want to include file by file.
Print to the stdout the content included in the file

Comments (0)

Files changed (1)

arquillian-test/src/test/java/com/corecanarias/arquillian/TestArquillianEJB.java

 
 	@Deployment
 	public static JavaArchive createDeployment() {
-		return ShrinkWrap.create(JavaArchive.class).addClass(TestEJB.class)
+		JavaArchive archive = ShrinkWrap.create(JavaArchive.class, "tests.jar").addPackages(true, "com.corecanarias");
 				;
+		System.out.println(archive.toString(true));
+		return archive;
 	}
 
 	@EJB(mappedName="java:module/TestEJB!com.corecanarias.arquillian.TestEJB") private TestEJB subject;