Configuring JBuilder to use StarTeam JavaBeans

While you can use any full featured Java development environment with StarTeam Extensions, the samples included were created with JBuilder Enterprise Edition. These samples may also be maintained with later releases of JBuilder.

To use the StarTeam JavaBeans in JBuilder you must configure your libraries and palette.

To use the JavaBeans:

  1. Configure the JBuilder libraries to include the starflow-extensions.jar, starteamxx.jar and guicomponents.jar files.
    1. Click Tools > Configure Libraries from JBuilder’s menu bar.
    2. Select the User Home folder from the Configure Libraries dialog box.
    3. Click New to create a StarTeam Extensions folder under the User Home folder that contains the starflow-extensions.jar and guicomponents.jar files. If you have a StarFlow folder under the User Home folder, you need to change it.
    4. Enter StarTeam Extensions in the Name field in the New Library Wizard dialog box.
    5. Click Add.
    6. On the Select One or More Directories dialog, select the starflowextensions.jar and guicomponents.jar files from the StarFlowExtensions\Projects folder at C:\config_name\StarFlow Extensions\Projects.
    7. Click OK until you return to the Configure Libraries dialog box.
    8. Click Add.
    9. Select the User Home folder from the Configure Libraries dialog box.
    10. Click New to create a StarTeam folder under the User Home folder that contains the starteamxx.jar file. If you have a StarGate folder under the User Home folder, you need to change it.
    11. Enter StarTeam in the Name field in the New Library Wizard dialog box.
    12. Click Add.
    13. On the Select One or More Directories dialog box, select the starteamxx.jar file (usually located at C:\Program Files\Micro Focus\ StarTeam SDK x.x\Lib\starteamxx.jar).
    14. Click OK until you return to the Configure Libraries dialog box.
    15. Select the User Home folder from the Configure Libraries dialog box.
    16. Click New to create a GUI SDK folder under the User Home folder that contains the starteam-gui.jar file.
    17. Enter GUI SDK in the Name field on the New Library Wizard dialog.
    18. Click Add.
    19. On the Select One or More Directories dialog, select the starteamgui.jar file from the StarFlowExtensions\Projects folder (for example, at C:\config_name\StarFlow Extensions\Projects).
    20. Click OK until you return to the Configure Libraries dialog box.
    User Home should now have subfolders named StarTeam Extensions, StarTeam, and GUI SDK.
  2. Add a new palette by choosing Tools > Configure Palette from JBuilder’s menu bar.
    1. Click Add in the Palette Properties dialog box.
    2. On the Add Page dialog box, enter StarTeam Extensions.
    3. Click OK.
    4. Select StarTeam Extensions.
    5. Click Move Up until StarTeam Extensions is at the top of the list in this tab.
    6. Click the Add Components tab.
    7. Click Select Library.
    8. From the Select a Different Library dialog box, select the StarTeam Extensions library.
    9. Click OK.
    10. From the Palette Page list, select the StarTeam Extensions palette page.
    11. Click Add From Selected Library at the bottom of the dialog. As the JavaBeans are added, they are listed in the Results dialog box.
    12. Click OK, and you are ready to use the StarTeam JavaBean components.
  3. In JBuilder, open a sample project to be modified for use with StarTeam.
  4. Double-click the .java file to be modified.
  5. Click the Design tab. The StarTeam Extensions JavaBeans should appear on the StarTeam Extensions page of the toolbar.