bsblabs / talend-job-exporter

Talend plugin allowing to use Talend TOS DI in command line to export jobs
Apache License 2.0
6 stars 15 forks source link

talend-job-exporter

Talend plugin allowing to use Talend TOS DI in command line to export jobs.

How to use it

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

How to build

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

Install the plugin

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.