Details
Description
Now Tacokit component dependencies are included in classpath option of JVM.
However, Tacokit component dependencies are loaded dynamically by custom classloader during runtime and should not be present in classpath option.
Component dependencies are retrieved from IComponent.getModulesNeeded() method. The result is used for both: to compute classpath and package dependencies in Job assembly.
This should be splitted.
I suggest to add IComponent.getClasspath() method which will be used to compute classpath only.
(Alternatively, we may add separate interface with getClasspath() method)
Please, refer to my POC:
https://github.com/Talend/tdi-studio-se/compare/igonchar/TUP-21740_poc?expand=1
https://github.com/Talend/tcommon-studio-se/compare/igonchar/TUP-21740_poc?expand=1
Some details may be found in https://jira.talendforge.org/browse/TUP-21740
Attachments
Issue Links
- prerequisite of
-
TUP-21740 Change dependencies packaging in exported job from lib to .m2
-
- New
-