Talend plugin allowing to use Talend TOS DI in command line to export jobs.
Talend TOS DI can be called with the following arguments:
Example exporting all "Extractions" jobs (for instance "Extractions/fromComponentBToC"):
C:\tools\talend\6.1.1\TOS_DI-win-x86_64.exe -nosplash -data C:\projects\trunk\com.bsb.myProject.transformation\src\main\talend -application com.bsb.tools.talend.export.JobExportApplication -targetFile C:\projects\trunk\com.bsb.myProject.transformation\target\Extractions.zip -projectName MY_PROJECT_TRANSFORMATION -jobsToExport "Extractions/[0-9a-zA-Z]*" -clean
Checkout this repository to a local directory.
Make sure you can execute mvn
on your command line.
The org.talend.repository_6.1.1.20151214_1327.jar
have to be installed in your local Maven
repository.
See install-file Maven command for more details about the install-file Maven command e.g.:
mvn install:install-file -Dfile=plugins\org.talend.repository_6.1.1.20151214_1327.jar -DgroupId=org.talend.studio -DartifactId=org.talend.repository -Dversion=6.1.1 -Dpackaging=jar
mvn clean install
command. Once built with the standard Maven command mvn clean install
, the jar file can be moved in the "plugins" directory of your Talend TOS DI installation.