The CommandLine offers the same basic functionalities as Talend Studio and it is used to generate and export the Jobs developed with Talend Studio onto the Job servers, or export Services, Routes and data service Jobs onto Runtime servers. To launch the CommandLine on Linux, you have to run the commandline.sh file. To launch the CommandLine on Windows, you have to run the commandline.bat file.
The commandline file contains three different parts:
the name of the Talend Studio executable corresponding to your OS, for example:
operating options, for example:
nosplash, no interface is displayed.
application org.talend.commandline.CommandLine, the application is launched in commandline mode.
consoleLog, the logs are displayed in the console.
data commandline-workspace, specify the path and name of the commandline workspace.
the operating mode, for example:
startServer -p 8002
If you want to modify the default settings, you can edit the file, and set it according to your need.
If you want to run your CommandLine in background on Linux, you first need to disable the shell. To do so:
Edit the commandline.sh file.
Save your file.
Example of use of this command:
./Talend-Studio-linux-gtk-x86 --disableShellInput -nosplash -application org.talend.commandline.CommandLine -consoleLog -data commandline-workspace startServer -p 8002
Then you can execute your CommandLine in background. To do so, do the following:
Switch to the
Enter the command:
Once the commands have been executed, you can close the CommandLine window and it will not exit the service.
The CommandLine can be executed in four different modes, according to your need:
The most common mode used is the Server mode.