I'm using TIS with a Java project. Is there a variable I can use that represents the current path to the workspace folder. Also can I access the project name?
I want to store my data using relative paths so that I can move the job processing to different machines.
Thanks.
I'm not sure about the current path to the workspace folder
but if you go to a code box and press CTRL-SPACE you'll get a drop down of the available variables and functions
but, specifically, these are the global variables that show up that will describe your current project and/or job:
To get the location of your workspace, you can go to the main toolbar: Window -> Preferences
Then to Talend -> Designer, in the Preferences box
And the value is under "Component default filepath"
Hi, what should the context var return as value if you start you job outside of TOS? In this case you do not have a "workspace" or? Wouldn't it be better to store your data in a defined (changeable) path? Bye Volker