This content has been marked as final. 
    
Show                 5 replies
    
- 
        1. Add entire package to Archive?aslak Apr 14, 2011 3:18 PM (in response to mwtemple)addPackages(true, "com.project.beans", "com.project.model", "com.project.services") the first argument is if it should include subpackages as well. You can of course add "com.project" as well, but i wouldn't add "com". It does scan your ClassPath, so you would include a whole bunch of com.sun packages etc. 
- 
        2. Re: Add entire package to Archive?mwtemple Apr 14, 2011 3:35 PM (in response to aslak)ok, that's cool! I'll give it a try? I thought I saw a way to see the contents of the test.jar somehow so I know what really got in there. I at least know how many items are in the jar with archive.toString(). Thanks! 
- 
        3. Re: Add entire package to Archive?aslak Apr 14, 2011 5:22 PM (in response to mwtemple)archive.toString(Formatter.VERBOSE) 
- 
        4. Re: Add entire package to Archive?mwtemple Apr 14, 2011 5:52 PM (in response to aslak)Is it Formatters.VERBOSE? In here: import org.jboss.shrinkwrap.api.formatter.Formatters; 
- 
        5. Re: Add entire package to Archive?aslak Apr 14, 2011 6:09 PM (in response to mwtemple)yes, Formatters 
 
    