Five Stars

Issue with Edit Routine Library in Custom Code Routine

Hi,

 

I am facing an issue while loading an XML file in Custom Code Routine:

Issue: XML file is not getting loaded to Job Server Cache Lib folder in Remote Run

 

 

Description:

I have loaded an "XML file" and some "JAR files" to Code Routine and running the job in local and job server both

 

Local Run: 

All the jar files and XML file gets copied to local lib directory (I.e. C:\Talend\workspace\.Java\lib)

 

Remote Run:

All the Jar files are getting copied to Job Server Cache Lib directory:

Only XML file is not getting copied to Job Server Cache Lib directory:

 

/**********/talend/jobserver/agent/TalendJobServersFiles/cache/lib

 

Question:

Is there a way my xml file can be copied to Job Server Cache Lib directory

 

See attached screen shots for more details.

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
Community Manager

Re: Issue with Edit Routine Library in Custom Code Routine

Hello
Like iburtally said in your another topic, it is impossible to bind the file with the job script in DI product, you need to put the file in a folder and pass it as a parameter to your custom routine.

Regards
Shong

----------------------------------------------------------
Talend | Data Agility for Modern Business
1 REPLY
Community Manager

Re: Issue with Edit Routine Library in Custom Code Routine

Hello
Like iburtally said in your another topic, it is impossible to bind the file with the job script in DI product, you need to put the file in a folder and pass it as a parameter to your custom routine.

Regards
Shong

----------------------------------------------------------
Talend | Data Agility for Modern Business