.getPluginConfiguration().getSimpleValue(ApplicationServerPluginConfigurationProperties.HOME_DIR, null);
SystemInfo systemInfo = resourceContext.getSystemInformation();
ProfileServiceConnection profileServiceConnection = resourceContext.getParentResourceComponent()
.getConnection();
ScriptDeployer deployer = new ScriptDeployer(jbossHomeDir, systemInfo, new RemoteDownloader(
resourceContext, true, profileServiceConnection));
ResourcePackageDetails packageDetails = packages.iterator().next();
DeployIndividualPackageResponse scriptUpdateResult = deployer.update(packageDetails,
resourceContext.getResourceType());
response.setOverallRequestResult(scriptUpdateResult.getResult());
response.addPackageResponse(scriptUpdateResult);
} catch (Exception e) {