Change Context Folder when Building & deploying a job

Highlighted
Four 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
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.
Four 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 GARNER 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

What’s New for Talend Summer ’19

Watch the recorded webinar!

Watch Now

Have you checked out Talend’s 2019 Summer release yet?

Find out about Talend's 2019 Summer release

Blog

Talend Summer 2019 – What’s New?

Talend continues to revolutionize how businesses leverage speed and manage scale

Watch 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