Merge branch 'main' into bugfix/UIMA-6213-Ruta-LayerInstantiationException
diff --git a/ruta-ep-ide-ui/src/main/java/org/apache/uima/ruta/ide/launching/RutaLaunchConfigurationDelegate.java b/ruta-ep-ide-ui/src/main/java/org/apache/uima/ruta/ide/launching/RutaLaunchConfigurationDelegate.java
index 6386199..cb2d864 100644
--- a/ruta-ep-ide-ui/src/main/java/org/apache/uima/ruta/ide/launching/RutaLaunchConfigurationDelegate.java
+++ b/ruta-ep-ide-ui/src/main/java/org/apache/uima/ruta/ide/launching/RutaLaunchConfigurationDelegate.java
@@ -92,7 +92,8 @@
IPath outputDirPath = projectPath.append(RutaProjectUtils.getDefaultOutputLocation());
Collection<String> classPath = RutaProjectUtils.getClassPath(proj.getProject());
ClassLoader classLoader = RutaProjectUtils.getClassLoader(classPath);
- IPath analysisEngineDescriptorPath = RutaProjectUtils.getAnalysisEngineDescriptorPath(member.getLocation(), proj.getProject(), classLoader);
+ IPath analysisEngineDescriptorPath = RutaProjectUtils
+ .getAnalysisEngineDescriptorPath(member.getLocation(), proj.getProject(), classLoader);
String engineDefaultMethod = "null";
if (analysisEngineDescriptorPath != null) {
engineDefaultMethod = analysisEngineDescriptorPath.toPortableString();
@@ -107,8 +108,7 @@
if (StringUtils.isBlank(output)) {
output = outputDirPath.toPortableString();
}
- String engine = configuration.getAttribute(RutaLaunchConstants.DESCRIPTOR,
- engineDefaultMethod);
+ String engine = configuration.getAttribute(RutaLaunchConstants.DESCRIPTOR, engineDefaultMethod);
if (StringUtils.isBlank(engine)) {
engine = engineDefaultMethod;
}
@@ -152,7 +152,7 @@
cmdline.append(RutaLaunchConstants.FORMAT + " ");
cmdline.append(defaultFormat + " ");
-
+
return cmdline.toString();
}
@@ -345,15 +345,15 @@
// RutaIdeUIPlugin.error(e1);
// }
// } else {
- super.launch(configuration, mode, launch, monitor);
+ super.launch(configuration, mode, launch, monitor);
- while (!launch.isTerminated()) {
- try {
- Thread.sleep(100);
- } catch (InterruptedException e) {
- Thread.interrupted();
- }
+ while (!launch.isTerminated()) {
+ try {
+ Thread.sleep(100);
+ } catch (InterruptedException e) {
+ Thread.interrupted();
}
+ }
// }
if (ouputFolder != null) {
ouputFolder.refreshLocal(IResource.DEPTH_INFINITE, new NullProgressMonitor());
@@ -386,4 +386,9 @@
return result;
}
+ @Override
+ protected boolean supportsModule() {
+ return false;
+ }
+
}