Importing the Jazz server source into Eclipse?
Hey guys,
I'm attempting to write some server-side contributions to our Jazz server. (Creating some follow-up actions for when a Work Item is saved, so I can kick off some tasks on a state change). In order to help I would like to import the Jazz source just to get a flavour of how existing follow-up actions are written. I've downloaded the source code zip from the Jazz site. When I extract the zip file, there is a plugins directory, but this seems to contain features containing plug-ins, and the source code is further zipped up. For example: There is a com.ibm.team.process.server.feature.source_0.7.0.M200810070300-797b0_lQCD2FcFwCaGJ3 directory containing a src sub-directory with 4 plugin folders underneath it. (The first one is com.ibm.team.process.common_0.7.0.M200812181901) Inside each one of these directories is a src.zip file containing the actual source. What I would like to do is import the Jazz server plug-ins into eclipse - including the source. This will allow me to easily browse the source code of the Jazz server plug-ins so I can familiarise myself with existing extension contributions such as followup actions etc. For the reasons mentioned above the jazz source download doesn't seem to easily allow this. I really don't want to have to then go through each plug-in and unzip each source zip to get the code into eclipse, but can't see an alternative. Have I missed something? (Very likely!) Has anyone imported the plug-ins for the Jazz Server source successfully, and if so how? Any help would be much appreciated. Thanks Dan PS - I downloaded the source for both JazzTeamServer-Source-0.7.0.zip and JazzTeamServer-Source-0.7.0.1M1.zip and both seem to have all the source code for the plug-ins under separate zips. |
5 answers
Take a look at
https://jazz.net/wiki/bin/view/Main/ComponentDevelopmentSetup I believe if you follow those setup steps, Ecilpse will automatically be able to find the source files in their zip files, and display it. John Jazz ClearQuest Connector Team Hey guys, |
Thanks John for the link. I had already tried following those instructions and it hadn't worked, but I deleted my RTC entire installation and re-followed from scratch and it seems to have worked this time, and the source can now be resolved.
It doesn't import the plug-ins as individual projects, but the plug-ins form part of the target platform and the source resolves for them. This is all I really need so is fine. Many thanks for your help, Dan |
I am trying to follow the steps from Component Development Setup as well. I am getting stuck at this point ....
"Target Platform Setup The default target platform does not include the Jazz server and JUnit plug-ins. To add these, open the Target Platform preferences page (Window > Preferences... > Plug-in Development > Target Platform) and use the drop-down list in the Pre-defined Targets section near the bottom of the dialog to select the target named Jazz JUnit Tests Source and Binaries. " I don't have that predefined Target option. Has anyone else ran into this? How can I fix it? |
I had this. After downloading all the source into the directory
specified I restarted RTC and that solved the problem and the predefined target appeared. Hope that helps jdoran wrote: I am trying to follow the steps from Component Development Setup as |
Thank you,
I also did a complete reinstall like you said. I think the part where I had originally messed up was that I did not extract the source zips directly in the specified directory but rather copied them in after. I was probably missing some of the links files. |
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.