// Perform the deployment
FileContentDelegate deployer = new FileContentDelegate(new File(getConfigurationPath(), deployDirectory),
"", details.getPackageTypeName());
PropertySimple zipProperty = deployTimeConfiguration.getSimple("deployZipped");
if (zipProperty != null && zipProperty.getBooleanValue() != null) {
boolean zip = zipProperty.getBooleanValue();
File tempDir = resourceContext.getTemporaryDirectory();
File tempFile = new File(tempDir.getAbsolutePath(), "esb.bin");
OutputStream osForTempDir = new BufferedOutputStream(new FileOutputStream(tempFile));