Author: adietish
Date: 2011-04-15 12:07:50 -0400 (Fri, 15 Apr 2011)
New Revision: 30593
Modified:
workspace/adietish/org.jboss.ide.eclipse.as7.deployment/src/org/jboss/ide/eclipse/as7/internal/deployment/JBossDeploymentManager.java
workspace/adietish/org.jboss.ide.eclipse.as7.deployment/src/org/jboss/ide/eclipse/as7/internal/deployment/TypedDeployer.java
Log:
implementing service
Modified:
workspace/adietish/org.jboss.ide.eclipse.as7.deployment/src/org/jboss/ide/eclipse/as7/internal/deployment/JBossDeploymentManager.java
===================================================================
---
workspace/adietish/org.jboss.ide.eclipse.as7.deployment/src/org/jboss/ide/eclipse/as7/internal/deployment/JBossDeploymentManager.java 2011-04-15
16:05:11 UTC (rev 30592)
+++
workspace/adietish/org.jboss.ide.eclipse.as7.deployment/src/org/jboss/ide/eclipse/as7/internal/deployment/JBossDeploymentManager.java 2011-04-15
16:07:50 UTC (rev 30593)
@@ -23,7 +23,7 @@
public DeploymentResult undeployAsync(String host, int port, String deploymentName,
boolean removeFile, IProgressMonitor monitor) throws Exception {
TypedDeployer deployer = new TypedDeployer(host, port);
- return deployer.undeploy(deploymentName, monitor);
+ return deployer.undeploy(deploymentName);
}
public DeploymentResult syncUndeploy(String host, int port, String deploymentName,
Modified:
workspace/adietish/org.jboss.ide.eclipse.as7.deployment/src/org/jboss/ide/eclipse/as7/internal/deployment/TypedDeployer.java
===================================================================
---
workspace/adietish/org.jboss.ide.eclipse.as7.deployment/src/org/jboss/ide/eclipse/as7/internal/deployment/TypedDeployer.java 2011-04-15
16:05:11 UTC (rev 30592)
+++
workspace/adietish/org.jboss.ide.eclipse.as7.deployment/src/org/jboss/ide/eclipse/as7/internal/deployment/TypedDeployer.java 2011-04-15
16:07:50 UTC (rev 30593)
@@ -54,7 +54,7 @@
}
public DeploymentResult undeploySync(String name, IProgressMonitor monitor) throws
DeployerException {
- DeploymentResult result = undeploy(name, monitor);
+ DeploymentResult result = undeploy(name);
result.getStatus();
return result;
}
@@ -65,7 +65,7 @@
return result;
}
- public DeploymentResult undeploy(String name, IProgressMonitor monitor) throws
DeployerException {
+ public DeploymentResult undeploy(String name) throws DeployerException {
try {
DeploymentPlanBuilder builder = manager.newDeploymentPlan();
builder = builder.undeploy(name).andRemoveUndeployed();
Show replies by date