graveyard/tools/org/apache/axis/tools/common/CParsingTool.java
/**
     * Checks the target directory and creates it if it doesn't already 
     * exist.
     */
Checks the target directory and creates it if it doesn't already
exist.
Checks the target directory and creates it if it doesn ' t already exist .
protected File maybeCreateDirectory(String option) throws Exception {
		String name = (String) Options.getOption(option);
		if (null == name) {
			printUsage();
			System.exit(-1);
		}
		File file = new File(name);
		if (!file.exists() && !file.mkdir())
			Utils.rude("Failed to create directory " + file);
		return file;
	}
protected File maybeCreateDirectory ( String option ) throws Exception { String name = ( String ) Options . getOption ( option ) ; if ( null == name ) { printUsage ( ) ; System . exit ( - 1 ) ; } File file = new File ( name ) ; if ( ! file . exists ( ) && ! file . mkdir ( ) ) Utils . rude ( "Failed to create directory " + file ) ; return file ; }
Checks the target directory and creates it if it doesn't already
 exist.
Checks the target directory and creates it if it doesn ' t already exist .