container/components/components/src/main/java/org/mobicents/slee/container/component/deployment/DeployableUnitBuilderImpl.java
private File createTempDUDeploymentDir(File deploymentRoot,
			DeployableUnitID deployableUnitID) {
		try {
			// first create a dummy file to gurantee uniqueness. I would have
			// been nice if the File class had a createTempDir() method
			// IVELIN -- do not use jarName here because windows cannot see the
			// path (exceeds system limit)
			File tempFile = File.createTempFile("restcomm-slee-du-", "",
					deploymentRoot);
			File tempDUDeploymentDir = new File(tempFile.getAbsolutePath()
					+ "-contents");
			if (!tempDUDeploymentDir.exists()) {
				tempDUDeploymentDir.mkdirs();
			} else {
				throw new SLEEException(
						"Dir "
								+ tempDUDeploymentDir
								+ " already exists, unable to create deployment dir for DU "
								+ deployableUnitID);
			}
			tempFile.delete();
			return tempDUDeploymentDir;
		} catch (IOException e) {
			throw new SLEEException("Failed to create deployment dir for DU "
					+ deployableUnitID, e);
		}
	}
private File createTempDUDeploymentDir(File deploymentRoot,
			DeployableUnitID deployableUnitID) {
		try {
			// first create a dummy file to gurantee uniqueness. I would have
			// been nice if the File class had a createTempDir() method
			// IVELIN -- do not use jarName here because windows cannot see the
			// path (exceeds system limit)
			File tempFile = File.createTempFile("restcomm-slee-du-", "",
					deploymentRoot);
			File tempDUDeploymentDir = new File(tempFile.getAbsolutePath()
					+ "-contents");
			if (!tempDUDeploymentDir.exists()) {
				tempDUDeploymentDir.mkdirs();
			} else {
				throw new SLEEException(
						"Dir "
								+ tempDUDeploymentDir
								+ " already exists, unable to create deployment dir for DU "
								+ deployableUnitID);
			}
			tempFile.delete();
			return tempDUDeploymentDir;
		} catch (IOException e) {
			throw new SLEEException("Failed to create deployment dir for DU "
					+ deployableUnitID, e);
		}
	}
private File createTempDUDeploymentDir ( File deploymentRoot , DeployableUnitID deployableUnitID ) { try { // first create a dummy file to gurantee uniqueness. I would have
 // been nice if the File class had a createTempDir() method
 // IVELIN -- do not use jarName here because windows cannot see the
 // path (exceeds system limit)
 File tempFile = File . createTempFile ( "restcomm-slee-du-" , "" , deploymentRoot ) ; File tempDUDeploymentDir = new File ( tempFile . getAbsolutePath ( ) + "-contents" ) ; if ( ! tempDUDeploymentDir . exists ( ) ) { tempDUDeploymentDir . mkdirs ( ) ; } else { throw new SLEEException ( "Dir " + tempDUDeploymentDir + " already exists, unable to create deployment dir for DU " + deployableUnitID ) ; } tempFile . delete ( ) ; return tempDUDeploymentDir ; } catch ( IOException e ) { throw new SLEEException ( "Failed to create deployment dir for DU " + deployableUnitID , e ) ; } }
Creates the directory that will be used for unpacking the child jars for
a given DU.

@param rootDir
@param sourceUrl
@throws SLEEException
if the dir can't be created
@return
Creates the directory that will be used for unpacking the child jars for a given DU .