I've just tried out the following script with input port in0 and
output ports out0 and out1.
File f0 = new File(in0);
if (f0.exists()) {
out0 = "input port true";
} else {
out0 = "input port false";
}
File f1 = new File("C:/Users/alanrw");
if (f1.exists()) {
out1 = "string specified true";
}
else {
out1 = "string specified false";
}
and both out1 and out2 generate the "true" values.
Paolo, can you try that (with a different string value) and see what
you get?
Alan
------------------------------------------------------------------------------
_______________________________________________
taverna-hackers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/taverna-hackers
Developers Guide: http://www.mygrid.org.uk/usermanual1.7/dev_guide.html
FAQ: http://www.mygrid.org.uk/wiki/Mygrid/TavernaFaq