a built job doesn't generate files : Directory empty (?!)

Seven Stars

a built job doesn't generate files : Directory empty (?!)

Hello

 

I want build a job with all files (.bat, .sh, etc).

It works except in the directory, there's nothing. 

 

I use Talend 7.0 and jre1.8.0_172.

 

I don't understand because, last week, i used Talend 6.5 and jre1.8.0_172. I built the job and it works very well, with all files (.bat, .sh, etc).

So....Why???

 

(PS : I tried import jobs from Talend 7 to Talend 6.5 for built the job but it don't work because version is too recent for Talend 6.5).

 

Thanks for your big help.


Accepted Solutions
Seven Stars

Re: a built job doesn't generate files : Directory empty (?!)

@manodwhb

 

Well i find why it doesn't work. 

 

Talend 7.0 can't built the job if i clik on the directory which have many jobs. It generate a compilation error.

IF i clic on a single job, it works well.

 

Talend 6.5 can built all jobs which are in one or more folders once.

 

It is the difference betwen 6.5 and 7.0.


All Replies
Seven Stars

Re: a built job doesn't generate files : Directory empty (?!)

No ideas????

Seven Stars

Re: a built job doesn't generate files : Directory empty (?!)

@rhall_2_0

@manodwhb

 

A little help? Thanks in advance...

Thirteen Stars

Re: a built job doesn't generate files : Directory empty (?!)

@Beauchamp_J,can you check any jars are missing in Talend 7.0?

Manohar B
Seven Stars

Re: a built job doesn't generate files : Directory empty (?!)

@manodwhb

 

Installed JREs : 

jre1.8._172 : C:\Program Files\Java\jre1.8.0_172

 

Talend : interpretor Java : C:\Program Files\Java\jre1.8.0_172\bin\java.exe

 

(I had Talend 6.5 and it works very well so when i use Talend 7, i did the same configuration for Talend 7).

Thirteen Stars

Re: a built job doesn't generate files : Directory empty (?!)

@Beauchamp_J,check below link.

 

https://help.talend.com/reader/Nn44eWKPhg_cMG4E7wqMFw/X6G4Y4EyJ_1xs6_tOaKC0g

 

How to build Jobs
Note

Before you can build Jobs, make sure you have installed a full JDK rather than a JRE only. If your Talend Studio fails to initialize automatically with a JDK, define the JDK to use by selecting Window > Preferences > Java > Installed JREs.

The Build Job feature allows you to deploy and execute a Job on any server, independent of Talend Studio.

By executing build scripts generated from the templates defined in Project Settings, the Build Job feature adds all of the files required to execute the Job to an archive, including the .bat and .sh along with any context-parameter files or other related files.

 
Manohar B
Seven Stars

Re: a built job doesn't generate files : Directory empty (?!)

@manodwhb

Yes, i read this page yesterday.

But when i do that : 

jdk.PNG

Target is not a JDK root. System library was not found.

 

So, i can't use jdk 10.0.

 

 

 

( Actually, i have that :

jre.PNG    )

Thirteen Stars

Re: a built job doesn't generate files : Directory empty (?!)

@Beauchamp_J,check the below link,that to check the java version and to setup Java_Home

 

 

https://help.talend.com/reader/TCzKRnmOy7N82kok2_ix6A/QiBwsPB_OFS64lEACkDWEQ

Manohar B
Seven Stars

Re: a built job doesn't generate files : Directory empty (?!)

@manodwhb

 

I download jdk 1.8_172 and install that.

 jdk.PNG

 

I check and modify Java_Home : 

java_home.PNG

 

I built the job and it alwalys stays empty.

jobzip.PNG

 

I mistake somehere?

Thirteen Stars

Re: a built job doesn't generate files : Directory empty (?!)

@Beauchamp_J,did you re-started Talend?

Manohar B
Seven Stars

Re: a built job doesn't generate files : Directory empty (?!)

@manodwhb

Yes. I run the job first and it works. So now i build the job (directory : Destop) and i have a big error compilation : 

 

erreur_compilation.png

Seven Stars

Re: a built job doesn't generate files : Directory empty (?!)

@manodwhb

 

Well i find why it doesn't work. 

 

Talend 7.0 can't built the job if i clik on the directory which have many jobs. It generate a compilation error.

IF i clic on a single job, it works well.

 

Talend 6.5 can built all jobs which are in one or more folders once.

 

It is the difference betwen 6.5 and 7.0.