public String getCanonicalName() { String name = getSimpleName(); if (getParent() != null) name = getParent().getCanonicalName() + "/" + name; return name; }
public void unpublishWsdlFiles() { try { File parentDir = new File(serverConfig.getServerDataDir().getCanonicalPath() + "/wsdl"); ArchiveDeployment deployment = dep; while (deployment.getParent() != null) { deployment = deployment.getParent(); } String deploymentName = deployment.getCanonicalName(); if (deploymentName.startsWith("http://")) { deploymentName = deploymentName.replace("http://", "http-"); } File targetDir = new File(parentDir, deploymentName); FileUtils.removeDir(targetDir); } catch (IOException e) { Loggers.DEPLOYMENT_LOGGER.couldNotCreateWsdlDataPath(); } }
public String getCanonicalName() { String name = getSimpleName(); if (getParent() != null) name = getParent().getCanonicalName() + "/" + name; return name; }
File tmpdir = new File(config.getServerTempDir().getCanonicalPath() + "/deploy"); String deploymentName = dep.getCanonicalName().replace('/', '-'); tmpWar = File.createTempFile(deploymentName, ".war", tmpdir); tmpWar.delete();
createParentDir(targetFile); String deploymentName = dep.getCanonicalName();
String deploymentName = dep.getCanonicalName(); File wsdlFile = getPublishLocation(serviceName.getLocalPart(), deploymentName, wsdlLocation); if (wsdlFile == null) return;
String deploymentName = dep.getCanonicalName();
log.debug("START buildMetaData: [name=" + dep.getCanonicalName() + "]"); try wsMetaData.setDeploymentName(dep.getCanonicalName()); ClassLoader runtimeClassLoader = dep.getRuntimeClassLoader(); assert(runtimeClassLoader != null);