1 <?xml version="1.0" encoding="UTF-8"?>
2 <workflow name="odin" version="0.1">
4 <description>There is no description for this application. Please contact the developers to know what it is about.</description>
7 <source name="ProData" type="uri">
8 <source-comment><b><font color="blue">new input</font></b>: Pro file
11 <source name="SmpData" type="uri">
12 <source-comment><b><font color="blue">new input</font></b>: Smp file
15 <source name="ResultsDirectory" type="uri">
16 <source-comment><b><font color="blue">new input</font></b>: add description here...
19 <constant name="OdinSeq" type="string" value="odinfispexe" cardinality="scalar" />
23 <processor name="odin" >
24 <in name="input3" type="string" depth="0" />
25 <in name="input2" type="string" depth="0" />
26 <in name="input1" type="uri" depth="0" />
27 <in name="input0" type="uri" depth="0" />
30 <port name="input0" />
31 <port name="input1" />
32 <port name="input2" />
33 <port name="input3" />
36 <gasw descriptor="[GASW_DIR]/odin.xml"/>
38 <processor name="append-date" >
39 <in name="dir" type="uri" depth="0" />
40 <out name="result" type="string" depth="0" />
41 <beanshell>/*----------Beginning of Beanshell------------*/
42 import java.text.DateFormat;
43 import java.text.SimpleDateFormat;
44 import java.util.Date;
46 DateFormat dateFormat = new SimpleDateFormat("dd-MM-yyyy_HH:mm:ss");
47 String result = dir.toString()+"/"+(dateFormat.format(System.currentTimeMillis()));
48 /*------------End of Beanshell------------*/
54 <link from="SmpData" to="odin:input1" />
55 <link from="ProData" to="odin:input0" />
56 <link from="ResultsDirectory" to="append-date:dir" />
57 <link from="append-date:result" to="odin:input2" />
58 <link from="OdinSeq" to="odin:input3" />