Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Note: You may notice some temporary visual or styling issues in the Community. Our vendor is actively investigating.
cancel
Showing results for 
Search instead for 
Did you mean: 
est412
Contributor II
Contributor II

What means MODULE_GROUP in component's xml?

Hello!
Please, could you explain me how MODULE_GROUP property is used by Studio during compiling and building?
And where can I find more info on using IMPORT directive in custom cimponents?
Thanks!

Labels (2)
5 Replies
Anonymous
Not applicable

Hi,
What's the custom component you are using? Could you please give us more description about your job requirement?
Have you already checked the KB article about: TalendHelpCenter:https://help.talend.com/search/all?query=How+to+create+a+custom+component
Best regards
Sabrina
est412
Contributor II
Contributor II
Author

Hello!
I've been developing custom components, and have found that since version 6.0, file tRESTClient_java.xml (for example) uses this construct: "<IMPORT MODULE_GROUP="cxf-core" REQUIRED="true" />". 
So, I would like to khow how this directive is interpreted by Studio to use it in my components! 😃
est412
Contributor II
Contributor II
Author

Hi! 
Are there any ideas on the subject?  0683p000009MACn.png

For example I've discovered the next styles of setting dependencies in components description xml:

Old-style (?)

<IMPORT NAME="dom4j"
MODULE="dom4j-1.6.1.jar"
UrlPath="platform:/plugin/org.talend.libraries.dom4j-jaxen/lib/dom4j-1.6.1.jar"
BundleID="org.apache.servicemix.bundles.dom4j"/>

<IMPORT NAME="cxf-rt-core"
MODULE="cxf-rt-core-2.7.12.jar"
UrlPath="platform:/plugin/org.talend.libraries.esb/lib/cxf-rt-core-2.7.12.jar"
BundleID=""/>

Since 6.0.0:

<IMPORT NAME="hawtdb" 
MODULE="camel-hawtdb-alldep-2.15.4.jar" 
MVN="mvn 0683p000009MA5A.pngrg.talend.libraries/camel-hawtdb-alldep-2.15.4/6.0.0" 
UrlPath="platform:/plugin/org.talend.libraries.camel.alldeps/lib/camel-hawtdb-alldep-2.15.4.jar"/>

<IMPORT MODULE="commons-codec" 
MVN="mvn:commons-codec/commons-codec/1.10"/> 

<IMPORT MODULE_GROUP="camel-groovy"/>

What are the difference between them? What style should I use as a component developer? Are there any additional styles?
Anonymous
Not applicable

Hi,
We are making an investigation on your issue and then come back to you asap!

Best regards
Sabrina
est412
Contributor II
Contributor II
Author

Thank you!
We are looking forward!  0683p000009MACn.png