Reputation: 443
I am creating the components for the Talend similar to Jira and Azure.
I got success in creating and installing the component into the TOS(Talend Studio), able edit the configuration of the installed components. But while trying to run the job, Talend asks for the dependency which is jar generated during the POM packaging
org.talend.components.trial-0.16.0.jar
I am using the bundle file
org.talend.components.trial-0.16.0-bundle.jar
to install the components.
If I provide the
org.talend.components.trial-0.16.0.jar
file, then job runs successfully, and if I don't provide the dependency then, TOS job gives the error
org.talend not found
Is there any solution by which I don't need to install the Jar file. because all classes of the jar is already supplied in the bundle jar.
Upvotes: 0
Views: 576
Reputation: 4224
Talend must be having a classpath mentioned somewhere. Most of the time it's in a batch file or manifest file of its main jar file. The name of the file under classpath is not having *bundle.jar in it and hence the problem.
Solution would be,
Change the classpath attribute to have a name of file containing *bundle.jar.
Or
If you have a control of creating this *bundle.jar file, you can rename it to remove bundle in it. Ex- If this bundle.jar file is generated as apart of maven project, you can add finalName tag in pom.xml to rename the jar file.
Upvotes: 0