Change Context Folder when Building & deploying a job

Highlighted
Five Stars

Change Context Folder when Building & deploying a job

Hello 
I have a job that I need to deploy on a windows computer. When I build the job everything is fine, but when I copy it to the server I receive the error message "Folder Structure is too long". This is because the context files for my job are in a set of sub-folders that are overall too long. 
The context folder structure is as follows: [ProjectName]/[Job Name]/[Contexts]
I saw in the Java Code of my job that the context path seem to be hard coded -____- Is there a way to change the folder where the context is stored? The job name cannot be changed, as we need to have jobs following a very precise naming convention for self-documentation. 
I'm working on Talend 3.5.
Thank you 
Shine
Highlighted
Moderator

Re: Change Context Folder when Building & deploying a job

Hi,

Talend 3.5? Have you tried your issue on Talend released version 5.5.1 to see if it repro? Could you please show us your context setting screenshots?

Best regards
Sabrina
--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.
Highlighted
Five Stars

Re: Change Context Folder when Building & deploying a job

Hi Sabrina 
thank you for your feedback. 
I tried with 5.5.1, the behaviour is the same. 
Please find below the context settings for my test job. 
The test job is in a project called "test", and its name is "contexttree", version 0.1. When exporting the job, the context file is stored in folder tree ".\test\contexttree_0_1\contexts" . I would need the context file to be stored in, let's say, directory ".\test\context". Can I do this?
Thank you 

2019 GARTNER MAGIC QUADRANT FOR DATA INTEGRATION TOOL

Talend named a Leader.

Get your copy

OPEN STUDIO FOR DATA INTEGRATION

Kickstart your first data integration and ETL projects.

Download now

6 Ways to Start Utilizing Machine Learning with Amazon We Services and Talend

Look at6 ways to start utilizing Machine Learning with Amazon We Services and Talend

Blog

Downloads and Trials

Test drive Talend's enterprise products.

Downloads