+ "] executed successfully!");
groovyscript = null;
}
- while (aparser.getSize() > 0)
- {
- System.out.println("Unknown arg: " + aparser.nextValue());
- }
}
checkOutputFile(aparser, af, format);
+ while (aparser.getSize() > 0)
+ {
+ System.out.println("Unknown arg: " + aparser.nextValue());
+ }
}
}
AlignFrame startUpAlframe = null;
// biojsmsa filename
String outputFormat = aparser.nextValue();
String file = aparser.nextValue();
+ System.out.println("format " + outputFormat);
+
if (outputFormat.equalsIgnoreCase("png"))
{
af.createPNG(new File(file));
String fileName, boolean withAWT, int expectedMinFileSize,
int timeout)
{
- String cmd = harg + type + " " + fileName;
- System.out.println(">>>>>>>>>>>>>>>> Command : " + cmd);
File file = new File(fileName);
+ String cmd = harg + type + " "
+ + file.getAbsolutePath().replace('\\', '/');
+ System.out.println(">>>>>>>>>>>>>>>> Command : " + cmd);
+
file.deleteOnExit();
Worker worker = getJalviewDesktopRunner(withAWT, cmd, timeout);
assertNotNull(worker, "worker is null");