You are not logged in.
Announcement
Unanswered posts
|
Pages: 1
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
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
Offline
Hello Shong,
I'm using TOS 3.1.3 on Windows Xp.
The generated default.properties file contains only the two lines:
# #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
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
Offline
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
Pages: 1