Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
See why IDC MarketScape names Qlik a 2025 Leader! Read more
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Include ini file without hardcoding full path

I'm new to Talend and trying to figure out if there is a way to include ini file in the job without hardcoding full path of the file? I found if I just put the file name on "tFileInputProperties" component, then it works if the file exists under the following path: C:\Talend\TOS_DI-Win32-20190620_1446-V7.2.1\workspace\MyProjectName\poms\jobs\process\myJobDesign_0.1\src\main\ext-resources

 

Please see the attached image file.

 

This folder gets refreshed as soon as you restart your Talend window. So I lose my ini file and need to add it again.

Is there some configuration setting where I can add it as part of the job design in a way that it is included with the project if I want to export as jar and deploy to a server or export job and open it on another computer?

Labels (2)
1 Reply
fdenis
Master
Master

you need to use context. define your path on context. once you have build your job you can change context file before running it.
good luck