It's all about the answers!

Ask a question

LinkType Extension not active in eclipse client


Philipp H (53113) | asked Aug 11 '16, 2:37 a.m.
edited Aug 11 '16, 2:38 a.m.
 Hi everyone,
I made a simple LinkType Extension and installed it to my server and it's working great (I can select the new LinkTypes in the Web-UI with no problems)
Then I installed the extension to my eclipse client, and it's there in installed softwares and it's in my plugin registry, but it doesn't work. I suspect because it never activates, because when I switch my plugin registry to only show active plugins, it disappears.
So my question is:

How do I get my custom LinkType extension to activate?

Thanks

3 answers



permanent link
Steven Hovater (706) | answered Aug 11 '16, 8:43 a.m.
 Well, in runtime workbench, I see that I can create the links from a workitem. I do not, however, see the plugin in the registry when filtering on active.

Comments
Philipp H commented Aug 11 '16, 8:51 a.m.

 Hm, maybe I'll reinstall my client. Thanks for your help


permanent link
Steven Hovater (706) | answered Aug 11 '16, 6:31 a.m.
 Your client-side plugin has something like this?

<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.4"?>
<plugin>

  <extension
         point="com.ibm.team.repository.common.linkTypes">
      <linkType      
            constrained="false"
            id="com.hnc.team.link.reviewedby"
            internal="false">
         <target>
            <endpoint
                  displayName="Reviews"
                  icon="icons/reviews.gif"
                  id="com.hnc.team.link.reviews"
                  multiplicity="0..n">
               <itemReferenceType
                     itemTypeName="WorkItem"
                     packageURI="com.ibm.team.workitem">
               </itemReferenceType>
            </endpoint>
         </target>
         <source>
            <endpoint
                  displayName="Reviewed By"
                  icon="icons/reviewProvider.gif"
                  id="com.hnc.team.link.reviewedby"
                  multiplicity="0..n">
               <itemReferenceType
                     itemTypeName="WorkItem"
                     packageURI="com.ibm.team.workitem">
               </itemReferenceType>
            </endpoint>
         </source>
      </linkType>
   </extension>

</plugin>

Comments
Philipp H commented Aug 11 '16, 6:36 a.m.

Steven Hovater commented Aug 11 '16, 8:19 a.m.

 For what it's worth Philipp, your plugin.xml works fine here. I see all linktypes on my client.


Philipp H commented Aug 11 '16, 8:33 a.m.

 Huh weird. Is it active in your plugin-registry?

(right-click -> only show active plugins)


permanent link
Philipp H (53113) | answered Aug 12 '16, 2:20 a.m.
 Reinstalling the RTC Client did the job.

Your answer


Register or to post your answer.