- 
        1. Error creating WebArchiveaslak Mar 13, 2011 8:50 AM (in response to ask4saif)Currently not possible, but we're aiming for it: https://issues.jboss.org/browse/SHRINKWRAP-256 https://issues.jboss.org/browse/SHRINKWRAP-249 The easiest solution for now would be to create a little util in your project to recursivly loop over folder X and add the files to the archive. 
- 
        2. Error creating WebArchivealrubinger Mar 13, 2011 10:07 AM (in response to aslak)Yeah, this is gonna be a popular one. Let's get it into SW 1.0.0-alpha-13. S, ALR 
- 
        3. Error creating WebArchivekpiwko Mar 14, 2011 3:10 AM (in response to alrubinger)You can also use archive merging workaround present at https://issues.jboss.org/browse/SHRINKWRAP-247 Karel 
- 
        4. Error creating WebArchiveask4saif Mar 14, 2011 3:11 AM (in response to alrubinger)Guys thank you for your quick reply it really helped. Currently I am doing it like this: public void addResourcesToWebArchive(String rootFolderPath, WebArchive war ){ File rootDir = new File(rootFolderPath); if(rootDir.isDirectory()){ String[] fileList = rootDir.list(); for(String filename : fileList){ if(!filename.equals(".svn") && !filename.equals("WEB-INF") ){ if(new File(rootFolderPath+File.separatorChar+filename).isDirectory()){ war.addDirectory(convertLocalToWebPath(rootFolderPath + File.separatorChar + filename)); addResourcesToWebArchive(rootFolderPath + File.separatorChar + filename , war); }else{ war.addResource( new File( convertLocalToWebPath( rootFolderPath + File.separatorChar + filename ) ) ); } } } } } public String convertLocalToWebPath(String localPath){ localPath = localPath.replace('\\', '/'); return localPath.substring(localPath.indexOf("src/")); } 
- 
        5. Error creating WebArchivecraiggreenhalgh Mar 22, 2011 2:11 PM (in response to ask4saif)Hi, slightly off topic but this has stumped me for days! I'm trying to do exactly the same as you, Which version of primefaces are you using? My test works fine with standard components, soon as I switch these to the primefaces equivilant....BOOM! I have tried 2.2.1 and 3.0-snap Did you have any problems doing this? Thanks in advance, Craig 
- 
        6. Error creating WebArchivealrubinger Mar 22, 2011 2:35 PM (in response to craiggreenhalgh)Could you open a new Thread and attach some context, ie. logging output of archive.toString(true) and the stacktrace? S, ALR 
- 
        7. Error creating WebArchiveask4saif Mar 23, 2011 11:43 AM (in response to alrubinger)Hi Andrew, Sorry to reply so late. I am using jsf2 with primefaces 2.2.1. Right now I am busy in some other task and I have paused this activity. But my archive is successfully created (with the code mentioned in my previous post) and deployed. Saif 
- 
        8. Error creating WebArchivealrubinger Mar 23, 2011 12:50 PM (in response to ask4saif)My question above was for Craig. 
- 
        9. Error creating WebArchiveask4saif Mar 23, 2011 4:25 PM (in response to alrubinger)Oops! sorry to interfere 
 
     
     
     
    