boolean forceDeploy,
boolean verify,
boolean jspPreCompilation,
String target){
DeploymentProperties dProps = new DeploymentProperties();
dProps.setPath(deployablefile.getAbsolutePath());
// dProps.setUpload(false);
dProps.setEnabled(enabled);
if (virtualServer != null) {
dProps.setVirtualServers(virtualServer);
}
dProps.setForce(forceDeploy);
dProps.setVerify(verify);
dProps.setPrecompileJSP(jspPreCompilation);
// dProps.setResourceAction(DeploymentProperties.RES_DEPLOYMENT);
// dProps.setResourceTargetList(target);
dProps.setProperty(DeploymentProperties.LOG_REPORTED_ERRORS, "false");
return (Properties)dProps;
}