RTC plugin component Developments
See Env setup
Create a new Plug-in Development->Plug-in Project
Fill out the second dialog as follows, and select Next.
Fill out the second dialog as follows, and select Finish.
Open MANIFEST.MF or Plugin.xml file for your project
From the Overview tab select This plug-in is a singleton. Save this file.
From the Dependencies tab, select the Add… button. Add the following four plug-ins to the list. After adding, save the file
com.ibm.team.process.common
com.ibm.team.process.service
com.ibm.team.workitem.common
com.ibm.team.repository.common
these are the few dependencies, for others functionality you may have to add others dependencies.
Like for
SCM you have to add
* scm.common and * scm.service
repository.common and repository.service
Search for available .service and .common and add it
GO to Extensions Tab
search for component
extension point="com.ibm.team.repository.common.components" and add
Enter component id and Name, then Save
It will auto generate Plugin.xml
<?xml version="1.0" encoding="UTF-8" ?>
<?eclipse version="3.2"?>
<plugin>
<extension point="com.ibm.team.repository.common.components">
<component id="com.test.ext.extensions" name="RTC Extensions" />
</extension>
</plugin>
Create two interface inside src
public interface IChangeDefinitions {
public static String EXTENSION_ID = "com.rtcext.extensions.service.OnChange";
}
public interface IComponentDefinitions {
public static String COMPONENT_ID = "com.test.ext.extensions";
}
and save it.
Your component is created.
Remember component ID
Download Template
More Info From IBM
Other Example
Create Plug-in
Open IDE(Eclipse)Create a new Plug-in Development->Plug-in Project
Fill out the second dialog as follows, and select Next.
Fill out the second dialog as follows, and select Finish.
Open MANIFEST.MF or Plugin.xml file for your project
From the Overview tab select This plug-in is a singleton. Save this file.
From the Dependencies tab, select the Add… button. Add the following four plug-ins to the list. After adding, save the file
com.ibm.team.process.common
com.ibm.team.process.service
com.ibm.team.workitem.common
com.ibm.team.repository.common
these are the few dependencies, for others functionality you may have to add others dependencies.
Like for
SCM you have to add
* scm.common and * scm.service
repository.common and repository.service
Search for available .service and .common and add it
Adding Extensions
Open MANIFEST.MF or Plugin.xml file for your projectGO to Extensions Tab
search for component
extension point="com.ibm.team.repository.common.components" and add
Enter component id and Name, then Save
It will auto generate Plugin.xml
<?xml version="1.0" encoding="UTF-8" ?>
<?eclipse version="3.2"?>
<plugin>
<extension point="com.ibm.team.repository.common.components">
<component id="com.test.ext.extensions" name="RTC Extensions" />
</extension>
</plugin>
Create two interface inside src
public interface IChangeDefinitions {
public static String EXTENSION_ID = "com.rtcext.extensions.service.OnChange";
}
public interface IComponentDefinitions {
public static String COMPONENT_ID = "com.test.ext.extensions";
}
and save it.
Your component is created.
Remember component ID
Download Template
More Info From IBM
Other Example
Comments
Post a Comment