Projects/Tools/CSProjectGenerator/src/com/chilliworks/chillisource/csprojectgenerator/CSProjectGenerator.java
/**
	 * unzips the project to the temp directory.
	 * 
	 * @author Ian Copland
	 *
	 * @param in_options - The options with which to create the new project.
	 */
unzips the project to the temp directory.

@author Ian Copland

@param in_options - The options with which to create the new project.
unzips the project to the temp directory . @author Ian Copland @param in_options - The options with which to create the new project .
private static void unzipProject(Options in_options)
	{
		try 
		{
			Logging.logVerbose("Unzipping project to temporary directory.");
			String tempDirectoryPath = StringUtils.standardiseDirectoryPath(in_options.m_outputDirectory + k_tempDirectory);
			if (new File(tempDirectoryPath).exists() == true)
			{
				Logging.logFatal("Temp directory already exists.");
			}
			String pathToZip = getJarDirectoryPath(in_options) + k_projectZipFilePath;
			ZipUtils.extract(pathToZip, tempDirectoryPath);
	    } 
		catch (IOException e) 
	    {
			Logging.logVerbose(StringUtils.convertExceptionToString(e));
			cleanupTemp(in_options);
	        Logging.logFatal("Could not open project zip file: " + k_projectZipFilePath);
	    }
	}
private static void unzipProject ( Options in_options ) { try { Logging . logVerbose ( "Unzipping project to temporary directory." ) ; String tempDirectoryPath = StringUtils . standardiseDirectoryPath ( in_options . m_outputDirectory + k_tempDirectory ) ; if ( new File ( tempDirectoryPath ) . exists ( ) == true ) { Logging . logFatal ( "Temp directory already exists." ) ; } String pathToZip = getJarDirectoryPath ( in_options ) + k_projectZipFilePath ; ZipUtils . extract ( pathToZip , tempDirectoryPath ) ; } catch ( IOException e ) { Logging . logVerbose ( StringUtils . convertExceptionToString ( e ) ) ; cleanupTemp ( in_options ) ; Logging . logFatal ( "Could not open project zip file: " + k_projectZipFilePath ) ; } }
unzips the project to the temp directory.
unzips the project to the temp directory .