void (final String alternativePath, final String path) { getWizardContext().setProjectFileDirectory(alternativePath != null && alternativePath.length() > 0 ? alternativePath : path); final String global = FileUtil.toSystemIndependentName(path); getWizardContext().setProjectName(global.substring(global.lastIndexOf("/") + 1)); }