This wiki page addresses the implementation side of OODT-568. Specifically, this document will show you how to run your pre-existing PGE Task within a Windows (Cygwin-enabled) environment.
Requirements:
- Pre-existing PGE task. See CAS-PGE Learn By Example for details if you do not know how to set one up.
- Windows XP+ box
- Cygwin
- OODT Workflow manager 0.6-SNAPSHOT+
- OODT PGE 0.6-SNAPSHOT+
Steps:
1. Tell Workflow Manager to run your PGE using special Windows (cygwin) specific code
To do this, modify your pre-existing PGE task instance entry for your PGE task within tasks.xml (WORKFLOW_HOME/policy/tasks.xml) to use the special WinPGETaskInstance class. You will need simply set the class attribute of your PGETask to use the WinPGETaskInstance class: 'org.apache.oodt.cas.pge.WinPGETaskInstance'. An example is shown below.
...