This section shows you how to install Talend CommandLine by upgrading either a brand new or an existing Talend Studio.
For more information about installing Talend CommandLine for continuous integration, see Installing Talend CommandLine in a standalone step.
For more information about using Talend CommandLine, see Talend CommandLine.
Procedure
- If you want to install Talend CommandLine by upgrading a brand new Talend Studio, copy the Talend-Studio-YYYYMMDD_HHmm-VA.B.C.zip archive file onto the machine where you want to install Talend CommandLine and unzip it under a folder the name of which does not contain any space character.
-
Rename the Talend Studio folder for more clarity, CmdLine in
this example.
Warning: Renaming the folder into CommandLine is causing problems, so it is recommended to rename it differently.
- Open the command prompt and change the working directory to the CmdLine folder.
-
Run the
commandline_upgrade.bat
file to upgrade Talend Studio to Talend CommandLine. Use the following parameters if needed.Parameter Description -Dlicense.path
Specify the path to the license of your Talend product if it is not in the CmdLine folder. -DtalendDebug
Set its value to true if you want to show log details when upgrading Talend Studio to Talend CommandLine. -Dtalend.studio.p2.base
Specify the URL of the repository for Talend Studio feature packages. If the URL is not specified in the command, you can choose to specify it with one of the following values in a pop-up window after running the command.
- Type 1 to use the URL of Talend official website and then type y if you want to upgrade Talend CommandLine to the latest version.
- Type 2 to enter your own repository URL.
- Type 3 to use the URL configured in Talend Studio.Tip: If you have installed any patch for Talend Studio, it is recommended to choose this value.
For more information, see Configuring update repositories.
-Dtalend.studio.p2.update
Specify the URL of the repository for Talend updates. If the URL is not specified in the command, you can choose to specify it with one of the following values in a pop-up window after running the command.
- Type 1 to use the URL of Talend official website and then type y if you want to upgrade Talend CommandLine to the latest version.
- Type 2 to enter your own repository URL.
- Type 3 to use the URL configured in Talend Studio.Tip: If you have installed any patch for Talend Studio, it is recommended to choose this value.
For more information, see Configuring update repositories.
When done, a commandline.bat file which lets you launch Talend CommandLine is generated.
-
Run the commandline.bat file.
You can stop Talend CommandLine execution by pressing Ctrl+C.