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

@author Ian Copland

@param in_options - The options with which to create the new project.
Copies the project to the output directory . @author Ian Copland @param in_options - The options with which to create the new project .
private static void copyToOutput(Options in_options)
	{
		String tempDirectoryPath = StringUtils.standardiseDirectoryPath(in_options.m_outputDirectory + k_tempDirectory);
		String tempProjectDirectory = StringUtils.standardiseDirectoryPath(tempDirectoryPath + k_templateProjectName);
		String outputProjectDirectory = StringUtils.standardiseDirectoryPath(in_options.m_outputDirectory + in_options.m_projectName);
		Logging.logVerbose("Copying project to output directory: " + outputProjectDirectory);
		List<String> ignore = new ArrayList<>();
		Collections.addAll(ignore, "bin", "obj");
		if (FileUtils.copyDirectory(tempProjectDirectory, outputProjectDirectory, ignore) == false)
		{
			cleanupTemp(in_options);
			Logging.logFatal("Could not copy to output directory: " + outputProjectDirectory);
		}
	}
private static void copyToOutput ( Options in_options ) { String tempDirectoryPath = StringUtils . standardiseDirectoryPath ( in_options . m_outputDirectory + k_tempDirectory ) ; String tempProjectDirectory = StringUtils . standardiseDirectoryPath ( tempDirectoryPath + k_templateProjectName ) ; String outputProjectDirectory = StringUtils . standardiseDirectoryPath ( in_options . m_outputDirectory + in_options . m_projectName ) ; Logging . logVerbose ( "Copying project to output directory: " + outputProjectDirectory ) ; List < String > ignore = new ArrayList < > ( ) ; Collections . addAll ( ignore , "bin" , "obj" ) ; if ( FileUtils . copyDirectory ( tempProjectDirectory , outputProjectDirectory , ignore ) == false ) { cleanupTemp ( in_options ) ; Logging . logFatal ( "Could not copy to output directory: " + outputProjectDirectory ) ; } }
Copies the project to the output directory.
Copies the project to the output directory .