How to get custom ILinkType registered by ILinkTypeRegistry
We define some custom ILinkType IDs to use in our own RTC extensions:
<plugin>
<extension point="com.ibm.team.repository.common.linkTypes">
<linkType constrained="true" id="it.secservizi.rtc.common.linktype.parentbuild" internal="false">
// [...]
</linkType>
</extension>
</plugin>
We have a Plain Java Client packaged as JAR and we need to refer to these link types. If we add our plug-in to the classpath definied in the MANIFEST.MF file from JAR:
Class-Path: . lib/it.secservizi.rtc.common_4.0.7.jar
the ILinkType are not registered by the ILinkTypeRegistry instance at runtime.
Instead, we have to explicity add our plug-in to the Java classpath:
java -cp .;lib/it.secservizi.rtc.common_4.0.7.jar -jar it.secservizi.rtc.client_4.0.7.jar
to get our plug-in parsed by the ILinkTypeRegistry instance at runtime.
Any advice? We would be able to declare all the dependencies for our client in to the MANIFEST.MF file of the JAR.
Thanks in advance.