Handling Relative Paths
In the JSON configuration file, all the fields that have values for the paths to directories or files on disk, support relative paths.
These fields include: outputDir
, baseDir
, exportPath
, and file
. All the relative paths are defined relative to the directory in which the JSON configuration file is located.
staticResources":[{
"id": 1,
"file" : "staticres\\static1.res"
}, {
"id": 2,
"file" : "staticres\\static2.res"
}]
If the JSON configuration file is in the following location (in Unix/Linux OS replace \ with / and a proper Unix/Linux OS path):
C:\Users\Test
Then the Converter finds the data for the static resources in the following locations (in Unix/Linux OS replace \ with / and a proper Unix/Linux OS path):
C:\Users\Test\staticres\static1.res
C:\Users\Test\staticres\static2.res
This applies for any input or output relative path directory. In case of a list of paths, like the exportPath
field, the preceding statements apply for each path in the list.