return;
}
final VirtualFile virtualDir = getTargetDirectoryFor(project, flexFile, lexerClassName + ".java", lexerPackage, false);
SimpleJavaParameters javaParameters = new SimpleJavaParameters();
Sdk sdk = new SimpleJavaSdkType().createJdk("tmp", SystemProperties.getJavaHome());
javaParameters.setJdk(sdk);
javaParameters.getClassPath().add(jflex.get(0));
javaParameters.setMainClass("JFlex.Main");
javaParameters.getVMParametersList().add("-Xmx512m");
javaParameters.getProgramParametersList().add("-sliceandcharat");
javaParameters.getProgramParametersList().add("-skel", jflex.get(1).getAbsolutePath());
javaParameters.getProgramParametersList().add("-d", VfsUtil.virtualToIoFile(virtualDir).getAbsolutePath());
javaParameters.getProgramParametersList().add(VfsUtil.virtualToIoFile(flexFile).getAbsolutePath());
OSProcessHandler processHandler = javaParameters.createOSProcessHandler();
RunContentDescriptor runContentDescriptor = createConsole(project, commandName);
((ConsoleViewImpl) runContentDescriptor.getExecutionConsole()).attachToProcess(processHandler);