You can specify a path to a file as an absolute path or a relative path, or with folder shortcuts.
A folder shortcut is a named path to a file or folder.
The format of a folder shortcut reference is as follows
purity://folder_shortcut_name/remaining_path
where:
Example:
|
Name of the folder shortcut |
MyPath |
|
Value of the folder shortcut |
C:/DQC/Workspace_Purity_Eclipse |
|
Example of path using folder shortcut |
purity://MyPath/MyProject/config.xml |
|
Real path to the file |
C:/DQC/Workspace_Purity_Eclipse/MyProject/config.xml |
The definition of this folder shortcut in a run-time configuration file is:
<pathVariables>
<pathVariable name="MyPath" value="C:/DQC/Workspace_Purity_Eclipse" />
</pathVariables>This folder shortcut can be used, for example, in the input file name property for the Text File Reader:
<step id='input' className='cz.adastra.cif.tasks.io.text.read.TextFileReader'>
<properties>
<fileName>purity://MyPath/data/input.csv</fileName>
<encoding>windows-1250</encoding>
....
</properties>
</step>| iWay Software |