Hi,
I would like to run an external jar from a tSystem component (java -jar test.jar)
I tried to create a routine and add the jar as dependency (Add routine libraries). But when I publish the job, the jar will be moved into a folder under /.../TalendJobServersFiles/cache/lib/ and I don't know the path to be able to run the job.
Is there a posibility to have test.jar file in the job deployment folder (under /.../TalendJobServersFiles/repository/)?
Should I add the dependency in other way?
Thank you
Hi fata_n_rosu, Have you checked TalendHelpCenter:tLibraryLoad to load external jars? Using tLibraryload component to load the jar file at the begininig of job. for example: tLibraryLoad | tJava(on tJava, use the external API)
When I publish the job to a remote job server the jar is copied into into a folder under /.../TalendJobServersFiles/cache/lib. And the folder name is autogenerated. Which is the best way to use this jar into a tSystem component?