• Index
  •  » Talend Open Studio for Data Integration » Usage, Operation
  •  » [resolved] Export job script: empty default.properties context file

#1 2009-09-07 12:38:10

onabil
New member
Registered: 2009-09-07
Posts: 7

[resolved] Export job script: empty default.properties context file

Hello everybody,
I'm a newbie in Talend and ETL world. My problem is when I export a job Script (Java) the default.properties file doesn't contain may contexts variables.
Is it correct that the file default.properties file is empty? Have I to fill in this file manually?
Thanks in advance,

Offline

#2 2009-09-08 08:27:36

shong
Talend team
Registered: 2007-08-29
Posts: 10289
Website

Re: [resolved] Export job script: empty default.properties context file

Hello friend
Which version of TOS do you use? Which OS?
It is not normal if you define some context var in the job.
the default.properties file should contains some content like:
#
#Tue Sep 08 14:25:01 CST 2009
name=shong                                       //name is a context var and shong is the value.

Best regards

         shong


Email:shong@talend.com
Choose Talend, Enjoy Talend!
New & Event: Talend Help Center
Talend-->the leader of open source data management and application integration solutions!

Offline

#3 2009-09-08 10:07:48

onabil
New member
Registered: 2009-09-07
Posts: 7

Re: [resolved] Export job script: empty default.properties context file

Hello Shong,
I'm using TOS 3.1.3 on Windows Xp.
The generated default.properties file contains only the two lines:

Code:

#
#Mon Sep 07 12:22:57 CEST 2009

In the repository view I have three context groups which have been created from three database connections.
To create each context I:
1- right clicked the db connection (Repository View->Metadata->Db Connections->myDbConnection)
2- selected "modificare connessione" which means edit/modify connection.
3- clicked the 'avanti' button which means next.
4- clicked "esportare come contesto" which means export as context.
5- clicked "fine" which means end.
6- clicked "yes" in the "Do you want to propagate the modifications to all jobs..." dialog.
Kind regards,

Offline

#4 2009-09-08 10:20:28

shong
Talend team
Registered: 2007-08-29
Posts: 10289
Website

Re: [resolved] Export job script: empty default.properties context file

Hello
I think you dit'd import the context vars from repository in the job. Can you open the context tab of the job and see if there are some context vars?
Please see my screeshots.

Best regards

         shong


Uploaded Images


Email:shong@talend.com
Choose Talend, Enjoy Talend!
New & Event: Talend Help Center
Talend-->the leader of open source data management and application integration solutions!

Offline

#5 2009-09-08 10:37:31

onabil
New member
Registered: 2009-09-07
Posts: 7

Re: [resolved] Export job script: empty default.properties context file

Hello Shong,
you are right, after importing the context vars from repository in the job the export job scripts has exported also all variables in the default.properties file.
Many many thanks,

Offline

  • Index
  •  » Talend Open Studio for Data Integration » Usage, Operation
  •  » [resolved] Export job script: empty default.properties context file

Board footer

Powered by FluxBB