1. fidox
  2. Snippets


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

  • Participants
  • Parent commits 3e7942b
  • Branches master

Comments (0)

Files changed (1)

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

View file
 	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;