You are not logged in.
Announcement
Unanswered posts
|
Pages: 1
Hi,
I've been studying the usage of the command line interface to export jobs from outside of studio and administrative console. This all works pretty well.
However, I am facing another problem right now. To be able to confirm with our internal procedures, I'm required to deliver source files instead of compiled classes in a zip.
Is there any way I can use the command line interface to "just" generate the java source files that can later be compiled to be the job?
I hope anyone can help me with this.
Best regards,
Arno
Last edited by avdbrink (2011-11-23 11:51:44)
Offline
Hi Arno
No, the source Java file is included in the job script with other files, such as the required lib. So, you can use the 'exportJob' command to export the job script, but there is no a command used to only generate the source Java file.
Best regards
Shong
Offline
Hi Shong,
Thanks for your reply. Although it wasn't the answer I was hoping for ![]()
Do you happen to know if there is an in depth manual of the command line interface? The only thing I have found were some tutorial-like samples, but no reference of possible command line parameters for example.
Best regards,
Arno
Offline
Hi
No yet, but I think there should be one in future to introduce each command with demo.
Best regards
Shong
Offline
Thanks for your reply. Although it wasn't the answer I was hoping for
Do you happen to know if there is an in depth manual of the command line interface? The only thing I have found were some tutorial-like samples, but no reference of possible command line parameters for example.
____________________________________
uggs sale uk bailey button uggs ugg bailey button 5803
Offline

This is from an older version but it should still work...
+--------------------------------------------------------------------------------------------------+
|Talend Commandline Plugin : |
| * arguments can be surrounded by (") or (') characters |
| * the semi-colon ( ; ) character can be used to separate commands from each other |
| * special characters ( space \ " ' ; ) can be escaped using the character (\) |
+--------------------------------------------------------------------------------------------------+
|Unexpected exit while processing |
|stopServer|help|helpFilter|showVersion|listCommand|listExecutionServer|listJob|listProject|initLoc|
|al|initRemote|logoffProject|logonProject|createProject|executeAllJob|exportAllJob|executeJob|execu|
|teJobOnServer|exportJob|getCommandStatus|importItems|exportItems|deleteItems|changeVersion|changeS|
|tatus|importDatabaseMetadata|importDelimitedMetadata |
+--------------------------------------------------------------------------------------------------+
|Usage: |
| [stopServer -f help helpFilter showVersion listCommand -a listExecutionServerlistJob |
|listProject initLocal initRemote <adminUrl> logoffProject logonProject -pn <technical name>|-ul |
|<login>|-up <password>|-gt createProject -pn <technical name>|-pd <description>|-pl <language |
|(java/perl)>|-pa <author login> executeAllJob -i <path>|-jc <context name>|-jcp <key=value1> |
|[<key=value2> ...]|-jrdd <path>|-jt <time (in sec)>|-jactc exportAllJob -dd <path>|-jc <context |
|name>|-jactc executeJob <jobName> -i <path>|-jv <version>|-jc <context name>|-jcp <key=value1> |
|[<key=value2> ...]|-jrdd <path>|-jt <time (in sec)>|-jactc executeJobOnServer <jobName> -jv |
|<version>|-jc <context name>|-jcp <key=value1> [<key=value2> ...]|-jactc|-es <name> exportJob |
|<jobName> -dd <path>|-jv <version>|-jc <context name>|-af <filename>|-jactc getCommandStatus |
|<commandId> importItems <source (dir|.zip)> -if <filterExpr>|-o exportItems <destination |
|(dir|.zip)> -if <filterExpr> deleteItems -if <filterExpr> changeVersion <newVersion> -if |
|<filterExpr> changeStatus <newStatusCode> -if <filterExpr> importDatabaseMetadata <filePath> |
|importDelimitedMetadata <filePath>] |
+--------------------------------------------------------------------------------------------------+
| stopServer stops server |
| -f (--force) don't wait for queued commands |
| help shows help |
| helpFilter shows filter help |
| showVersion shows product version |
| listCommand lists commands |
| -a (--all) lists all commands |
| listExecutionServer lists [virtual] execution servers |
| listJob lists jobs |
| listProject lists available projects |
| initLocal init local repository |
| initRemote adminUrl init remote repository |
| logoffProject logs off |
| logonProject logs on a project |
| -pn (--project-name) technical name project name |
| -ul (--user-login) login user login |
| -up (--user-password) password user password |
| -gt (--generate-templates) generate templates |
| createProject creates a project |
| -pn (--project-name) technical name project name |
| -pd (--project-description) description project description |
| -pl (--project-language) language (java/perl) project language |
| -pa (--project-author) author login project author |
| executeAllJob executes all |
| -i (--interpreter) path perl/java interpreter path |
| -jc (--job-context) context name chooses a job context |
| -jcp (--job-context-param) key=value [key=value ...] provides a job context param |
| -jrdd (--job-result-destination-dir) path job execution result destination dir |
| -jt (--job-timeout) time (in sec) timeout of execution |
| -jactc (--job-apply-context-to-children) apply context to children |
| exportAllJob exports all |
| -dd (--destination-directory) path destination directory |
| -jc (--job-context) context name chooses a job context |
| -jactc (--job-apply-context-to-children) apply context to children |
| executeJob jobName executes |
| -i (--interpreter) path perl/java interpreter path |
| -jv (--job-version) version chooses a job version |
| -jc (--job-context) context name chooses a job context |
| -jcp (--job-context-param) key=value [key=value ...] provides a job context param |
| -jrdd (--job-result-destination-dir) path job execution result destination dir |
| -jt (--job-timeout) time (in sec) timeout of execution |
| -jactc (--job-apply-context-to-children) apply context to children |
| executeJobOnServer jobName executes on server |
| -jv (--job-version) version chooses a job version |
| -jc (--job-context) context name chooses a job context |
| -jcp (--job-context-param) key=value [key=value ...] provides a job context param |
| -jactc (--job-apply-context-to-children) apply context to children |
| -es (--execution-server) name execution [virtual] server name |
| exportJob jobName exports |
| -dd (--destination-directory) path destination directory |
| -jv (--job-version) version chooses a job version |
| -jc (--job-context) context name chooses a job context |
| -af (--archive-filename) filename archive filename (without .zip) |
| -jactc (--job-apply-context-to-children) apply context to children |
| getCommandStatus commandId gets command status |
| importItems source (dir|.zip) imports items |
| -if (--item-filter) filterExpr item filter expression |
| -o (--overwrite) overwrite existing items |
| exportItems destination (dir|.zip) exports items |
| -if (--item-filter) filterExpr item filter expression |
| deleteItems delete items |
| -if (--item-filter) filterExpr item filter expression |
| changeVersion newVersion changes items version |
| -if (--item-filter) filterExpr item filter expression |
| changeStatus newStatusCode changes items status |
| -if (--item-filter) filterExpr item filter expression |
| importDatabaseMetadata filePath imports database metadata |
| importDelimitedMetadata filePath imports delimitedmetadata |
+--------------------------------------------------------------------------------------------------+
| Copyright (C) 2006-2008 Talend - www.talend.com |
+--------------------------------------------------------------------------------------------------+
Last edited by nickd_nwea (2011-12-15 18:07:38)
Offline
Hi,
Thanks for this hint, I was aware of this function list. Unfortunately it doesn't provide an in depth guide on how to use these options.
It has been quite a puzzle for me to understand how to use this all.
But, thanks again!
Arno
Offline
Pages: 1