{"id":22296177,"url":"https://github.com/kakwa/talend-codegen","last_synced_at":"2025-07-29T01:32:29.136Z","repository":{"id":11150221,"uuid":"13519063","full_name":"kakwa/talend-codegen","owner":"kakwa","description":"Command line code generation (job export) plugin for talend","archived":false,"fork":false,"pushed_at":"2016-01-28T10:48:53.000Z","size":46302,"stargazers_count":5,"open_issues_count":0,"forks_count":36,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-05T05:51:11.243Z","etag":null,"topics":["crap","java","talend"],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kakwa.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-10-12T09:00:53.000Z","updated_at":"2023-08-18T13:06:57.000Z","dependencies_parsed_at":"2022-08-28T15:22:19.482Z","dependency_job_id":null,"html_url":"https://github.com/kakwa/talend-codegen","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/kakwa/talend-codegen","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kakwa%2Ftalend-codegen","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kakwa%2Ftalend-codegen/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kakwa%2Ftalend-codegen/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kakwa%2Ftalend-codegen/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kakwa","download_url":"https://codeload.github.com/kakwa/talend-codegen/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kakwa%2Ftalend-codegen/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267616577,"owners_count":24116154,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-28T02:00:09.689Z","response_time":68,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["crap","java","talend"],"created_at":"2024-12-03T17:44:28.518Z","updated_at":"2025-07-29T01:32:24.128Z","avatar_url":"https://github.com/kakwa.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"talend-codegen\n==============\n\nCommand line code generation (job build/export) plugin for talend\n\nCompiling \u0026 Configuring\n-----------------------\n\nBuild:\n\n```bash\n#to build the latest version available\n\u003e make\n\n#ls in the out directory\n\u003els jar/talend-codegen_5.6.0.jar\n\n#build an older version\n\u003emake build_jar_5.4.1\n\n#build directly with ant:\n\u003e cat Makefile\nbuild_jar_5.6.0:\n\tant build -Dtalend_version=5.6.0 -Dtalend_revision=20141024_1545\nclean_5.6.0:\n\tant clean -Dtalend_version=5.6.0 -Dtalend_revision=20141024_1545\n\n#select your version\n\u003e ant build -Dtalend_version=5.5.1 -Dtalend_revision=r118616\n```\n\nAnd copy `jar/talend-codegen\u003cversion\u003e.jar` to the plugins directory of Talend.\n\nUsage with talend-codegen helper\n--------------------------------\n\nThis project is shipped with an helper script available in **./bin/talend-codegen**.\n\nThis script must be modify to reflect your Talend installation (TALEND_DIR and TALEND_BIN at the beginning of the script)\n\nGeneration:\n```bash\n# create out directory\n$ mkdir -p './out'\n\n# With all '-need' options enabled \n$ talend-codegen -p './MyProjectDir/' -o './out/' -j './MyJobName' -a\n\n# With custom options\n$ talend-codegen -p './MyProjectDir/' -o './out/' -j 'MyJobName' -O '-needLauncher=true -needContext=true'\n```\n\nhelp:\n```\n# help\n$ talend-codegen -h\nusage: talend-codegen -p \u003cproject dir\u003e -o \u003cout dir\u003e -j \u003cjob name\u003e \\\n                    [-a] [-O \u003ccustom options\u003e] [-T \u003ctalend dir\u003e] [-c \u003ccomp dir\u003e]\n\nBuild Talend project from command line\n\nexamples:\n * talend-codegen -p ./MyProjectDir/ -o out/ -j MyJobName -a\n * talend-codegen -p ./MyProjectDir/ -o out/ -j MyJobName -O '-needLauncher=true -needDependencies=true'\n\narguments:\n  -p \u003cproject dir\u003e: directory containing the talend project\n  -j \u003cjob id\u003e: job to export\n  -o \u003cout dir\u003e: output directory\n\noptional arguments:\n  -a:                  enable all -need* options\n  -O \u003ccustom options\u003e: custom options (cannot be used with -a)\n  -T \u003ctalend dir\u003e:     talend install directory (default: /home/pcarpent/TOS_DI-r95165-V5.2.1)\n  -c \u003ccomp dir\u003e:       location of any custom components used in the job\n\ncodegen options (for -O):\n * -version - version of job to be exported\n * -needLauncher - include launcher script (true/false)\n * -needSystemRoutine - include system outines (true/false)\n * -needUserRoutine - and so on..\n * -needTalendLibraries\n * -needJobItem\n * -needSourceCode\n * -needDependencies\n * -needJobScript\n * -needContext\n * -applyToChildren\n```\n\nUsage invoking TOS directly\n---------------------------\n\nInvoke talend with the following mandatory command line arguments:\n * -projectDir - the project directory where the project can be found\n * -jobName - name of the job to be exported\n * -targetDir - the directory where the exported job will be placed\n\nEclipse application arguments\n * -application au.org.emii.talend.codegen.Generator - run the code generation plugin \n * -nosplash stops the display of the gui splash window\n * --launcher.suppressErrors stops errors being displayed in message boxes - output to stderr instead\n * -data specifies the talend workspace used for building the project - created automatically if it doesn't exist (recommended to ensure a clean build)\n * --clean_component_cache tells TOS to reload external components and rebuild the cache\n \nSome optional command line arguments you can have:\n * -version - version of job to be exported\n * -componentDir - location of any custom components used in the job\n * -needLauncher - include launcher script (true/false)\n * -needSystemRoutine - include system outines (true/false)\n * -needUserRoutine - and so on..\n * -needTalendLibraries\n * -needJobItem\n * -needSourceCode\n * -needDependencies\n * -needJobScript\n * -needContext\n * -applyToChildren\n\nExample:\n```bash\nexport JOBNAME=MyJob\nexport WORKSPACE=/home/projectname/workspace\nexport PROJECTDIR=/home/projectname/workspace/MYPROJECT\nexport TARGETDIR=/home/projectname/workspace/.talend-build\nexport COMPONENTDIR=/home/projectname/custom_components\n\ncp $PROJECTDIR/libs/* /home/TOS_DI-r118616-V5.5.1/lib/java/\n\n/home/TOS_DI-20141024_1545-V5.6.0/TOS_DI-linux-gtk-x86_64 \\\n    -nosplash --launcher.suppressErrors -data $WORKSPACE \\\n    -application au.org.emii.talend.codegen.Generator \\\n    -jobName $JOBNAME -projectDir $PROJECTDIR \\\n    -targetDir $TARGETDIR -componentDir $COMPONENTDIR\n``` \n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkakwa%2Ftalend-codegen","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkakwa%2Ftalend-codegen","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkakwa%2Ftalend-codegen/lists"}