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...
22 <processor name="odin" >
23 <in name="input2" type="string" depth="0" />
24 <in name="input1" type="uri" depth="0" />
25 <in name="input0" type="uri" depth="0" />
28 <port name="input0" />
29 <port name="input1" />
30 <port name="input2" />
33 <gasw descriptor="[GASW_DIR]/odin.xml"/>
35 <processor name="append-date" >
36 <in name="dir" type="uri" depth="0" />
37 <out name="result" type="string" depth="0" />
38 <beanshell>/*----------Beginning of Beanshell------------*/
39 import java.text.DateFormat;
40 import java.text.SimpleDateFormat;
41 import java.util.Date;
43 DateFormat dateFormat = new SimpleDateFormat("dd-MM-yyyy_HH:mm:ss");
44 String result = dir.toString()+"/"+(dateFormat.format(System.currentTimeMillis()));
45 /*------------End of Beanshell------------*/
51 <link from="SmpData" to="odin:input1" />
52 <link from="ProData" to="odin:input0" />
53 <link from="ResultsDirectory" to="append-date:dir" />
54 <link from="append-date:result" to="odin:input2" />