IOTools.launch method deprecated?
Issue #43
resolved
Some components (ex: GenomicRearrangement) have instances of these method:
class anduril.core.utils.IOTools
public static int launch(String[] command,
File workDirectory,
Map<String,String> environment,
String stdoutPrefix,
String stderrPrefix,
String stdinContent,
Logger logger)
These (java) components fail with the following error:
[ERROR component] Component component: Component returned error status: 25 (Exception that was not caught in the component)
[ERROR component] Component component: java.lang.NoSuchMethodError: org.anduril.core.utils.IOTools.launch(Ljava/lang/String;Ljava/io/File;Ljava/util/Map;Ljava/lang/String;Ljava/lang/String;)I
[ERROR component] Component component: at GenomicRearrangement.runImpl(GenomicRearrangement.java:75)
[ERROR component] Component component: at org.anduril.component.SkeletonComponent.run(SkeletonComponent.java:213)
[ERROR component] Component component: at GenomicRearrangement.main(GenomicRearrangement.java:284)
[INFO component] Component finished with failure (COMPONENT-FINISHED-ERROR) (2016-07-13 16:00:26)
Comments (2)
-
-
- changed status to resolved
All components (should have been) fixed.
- Log in to comment
The signature of IOTools.launch was changed a bit. Namely, stdoutPrefix and stderrPrefix were removed. Components need to be refactored to use the new signature.