One Star

How to manage xslt files properly as external resources - repository c

Hello,
We're preparing the usage of tXSLT-component and we're wondering how xslt files can be included into the Talend-project as manageable resources.
Manageable means in our understanding to keep these external resources under repository control and as a deployable part of the project.
It's a crucial requirment for us to be able to manage all resources used in our flows and jobs in the same way.
Can you explain to us the general recommend strategy to manage this kind of external resources?
Hope my explanation is clear enough.
Many thanks for your support!
Michael
3 REPLIES
One Star

Re: How to manage xslt files properly as external resources - repository c

Hi Michael,
For storing any changable information, it is recommended to store them in some properties file externally so that the job does not have to be chaned later and all those informations can be read from external file, like in case of database their IP, port, user id and passwords are subject to change. Similerly for file uploading we should generally keep the filenames in different location. In case tXSLT all file paths can be stored externally.
--
Regards,
Vinod
One Star

Re: How to manage xslt files properly as external resources - repository c

He does not want to store the path but the xsl file itself.
Community Manager

Re: How to manage xslt files properly as external resources - repository c

Hi
Generally, we migrate manually these external resource required by the job to other machine and set the file path with context variable. If you want to keep these files under repository, add them as documents under Repository-->Document. You need to save this file as local when opening the project on another machine. see my screenshot.
----------------------------------------------------------
Talend | Data Agility for Modern Business