private void createHtmlOutput ( Shell shell,
			ICompilationUnit compUnit ) {
		// TODO Auto-generated method stub
		String directory;
		IResource res = compUnit.getResource ();
		boolean newDirectory = true;
		directory = getPersistantProperty ( res, path );
		
		if ( directory != null && directory.length() > 0 ) {
			newDirectory = !( MessageDialog.openQuestion ( shell, "Export directory", 
					"Do you wish to use the same directory as last time ("
			        +directory+")?") );
		}
		if ( newDirectory ) {
			DirectoryDialog dirDialog = new DirectoryDialog ( shell ); 
			directory = dirDialog.open();
		}
		if ( directory != null && directory.length() > 0 ) {
			setPersistantProperty(res, path, directory);
			writeOutput(directory, compUnit);
		}
		
	} //create