Description of problem: Currently (as of resolving bug 816593) we support working with content of archived deployments. It would be good, if more complex, to add support for retrieving content of exploded deployments, too. Version-Release number of selected component (if applicable): How reproducible: always Steps to Reproduce: 1. Deploy a WAR file to AS7 exploded 2. Let RHQ discover it 3. in the CLI, try: PackageFactory.getResource(<ID_OF_THE_WAR_RESOURCE>).retrieveBackingContent('file_to_save'); Actual results: The content is not retrieved Expected results: The plugin should clever enough to zip up the exploded deployment and return the zip as the content of the deployment. Additional info: The initial implementation (in bug 816593) didn't take this into account. We don't support deploying exploded. It is also not very clear, what should we report as the list of discovered packages when discovering packages of an exploded deployment - should it be just the top level directory or every file underneath?