Intland's free requirements, development and test management hosting.
This server hosts 100.000+ users on the cloud!
Tags: 

Compiling

  • import the source code into an Eclipse project or a similar IDE
  • add the CB API jar (cb-api.jar) and jopt-simple-3.1.jar to the build path

Running

Arguments for CodeBeamerGanttExporter:

Option
------     
-g <GanttProject XML output file>                                              
-l <CB login>                                                                  
-p <CB password>
-t <Tracker ID>
--phase <Name of top level task>                                               
-u <CodeBeamer API URL>

Arguments for CodeBeamerGanttImporter:

Option
------     
-g <GanttProject XML output file>                                              
-l <CB login>                                                                  
-p <CB password>                                                               
-u <CodeBeamer API URL>

NOTE: The code will not run without modifications on an existing tracker. At least, the tracker needs a custom field (in the current code this is CustomField0) where the import stores the vertical position of a task in the Gantt chart. The same might be true for other fields for customized trackers.

Limitations:

  • only selected values are imported back into CodeBeamer:
    • StartDate
    • Estimated Hours
    • Vertical Gantt chart position
    • child/parent relationship
    • task dependencies
  • the code has only been tested for 1 level of parent/child breakdown
  • there are still some hardcoded config parameters in the code
    • CodeBeamerGanttExporter:107 : the filter for the milestone
    • ProjectTask.toGanttXML: the weblink parameter to our codebeamer site