Index: v3/deployment/admin/src/main/java/org/glassfish/deployment/admin/InstanceDeployCommand.java =================================================================== --- v3/deployment/admin/src/main/java/org/glassfish/deployment/admin/InstanceDeployCommand.java (révision 42814) +++ v3/deployment/admin/src/main/java/org/glassfish/deployment/admin/InstanceDeployCommand.java (copie de travail) @@ -77,6 +77,7 @@ import java.io.BufferedOutputStream; import java.io.FileOutputStream; import java.io.OutputStream; +import org.glassfish.deployment.versioning.VersioningUtils; /** @@ -159,7 +160,7 @@ // clean up any left over repository files if ( ! keepreposdir.booleanValue()) { - FileUtils.whack(new File(env.getApplicationRepositoryPath(), name)); + FileUtils.whack(new File(env.getApplicationRepositoryPath(), VersioningUtils.getRepositoryName(name))); } ExtendedDeploymentContext deploymentContext = deployment.getBuilder(logger, this, report).source(archive).build();