Accessing the Repository with TimeStorm 3.2.x

LinuxLink uses version-control software powered by Subversion (SVN). The Subclipse plug-in allows you to check files into and out of the LinuxLink SVN server. Updates to files on the LinuxLink SVN server can then be made from TimeStorm.

Generally, the best way to obtain the correct plug-in is through the TimeStorm interface. However, you can also obtain the plug-in at http://subclipse.tigris.org/update_1.0.x.

To download the plug-in using the TimeStorm interface:

  1. Choose Help > Software Updates > Find and Install. Select Search for new features to install from the screen that appears.
  2. If the Tigris site does not appear in the list of sites, choose New Remote Site to add it. Enter a name, and the http://subclipse.tigris.org/update_1.0.x URL, then click OK.
  3. Select the subclipse.tigris.org update site and click Next (or Finish if the Next button is grayed out). The updater searches for any features you do not have installed. Click on the most recent version of Subclipse.


  4. Choose Next, accept the terms of the license agreement, then choose Next to continue. The updater displays the location of any TimeStorm installations that it can find. You can change the plug-in install location, or continue with the selected one.
  5. Choose Finish to continue. The plug-in files are installed in the TimeStorm directory.

    Note

    If a window appears warning you that Eclipse has not signed this plug-in, you can safely dismiss the window and continue with the installation.

  6. Restart TimeStorm to properly apply the changes.

Switching the Plug-in to JavaSVN (Pure Java) Mode

To avoid certificate authority conflicts, change the plug-in to use the Pure Java option:
  1. From the main TimeStorm menu, choose Window > Preferences.
  2. Select Team > SVN from the tree on the left of the Preferences dialog.
  3. In the SVN Interface area, select JavaSVN (Pure Java).



  4. Click OK to apply the changes, then restart TimeStorm.
  5. Discard any previous repository locations and re-create them:
    1. Choose Window > Open Perspective > Other and select SVN Repository Exploring
    2. If the SVN Repository view does not appear, choose Window > Show View > SVN Repository.
    3. Right-click on the locations and select Discard location.
    4. Right-click in the SVN Repository view and select New > Repository Location.
    5. Enter the URL for the repository in the URL field:
      https://src.timesys.com/svn/<team_name>

      You can only access the workspace for teams to which you belong. Each registered team has a private work area located in https://src.timesys.com/svn/ with the team name added.

Turn Off Deep Outgoing State

TimeSys recommends that you turn off Compute deep outgoing state for folders to speed up Subclipse operation.

  1. From the main TimeStorm menu, choose Window > Preferences.
  2. Select Team > SVN > Label Decorations from the tree on the left of the Preferences dialog.
  3. Click on the General tab, and deselect Compute deep outgoing state for folders.
  4. Click OK to apply the changes and exit.

Checking Repository Access

You must have access to a repository on LinuxLink. Generally, if you have access to a LinuxLink account, you will also have access to a repository.

To check access, log into your LinuxLink account, and then select the Repository button. If you do not have an account, you can request one from TimeSys at https://linuxlink.timesys.com/support.

Sharing Projects Using SVN

Use the Share Project option to add a project to SVN. Subsequent users of the same project should check out the project.

To add (share) the project:

  1. From the Navigator view, right-click on the project and choose Team > Share Project.
  2. Select the SVN plug-in from the dialog that appears, then choose Next.
  3. Enter the URL for the repository in the URL field:
    https://src.timesys.com/svn/<team_name>

    You can only access the workspace for teams to which you belong. Each registered team has a private work area located in https://src.timesys.com/svn/ with the team name added.

  4. Either accept the default path for the project on the server, or enter your own.
  5. Choose Finish. You will be asked for your LinuxLink user name and password. Accept any certificates that SVN presents. The Commit dialog appears, allowing you to add comments and select resources.

    Note that if you do not select the resources now, you can add them to version control later, using the Team > Add to Version Control option in the Navigator view.

     


  6. Select the resources you want to check in, and choose OK. After the files are checked in, the file icon is changed to indicate its status.

To check out a project:

  1. Choose Window > Open Perspective > Other and select SVN Repository Exploring.
  2. If you have checked files into SVN, the destination repository will appear in the list. If the repository you want to access is not listed, add the location:
    1. Right-click in the SVN Repository Exploring view, and select New > Repository Location.
    2. Enter the URL for the repository in the URL field:
      https://src.timesys.com/svn/<team_name>

      You can only access the workspace for teams to which you belong. Each registered team has a private work area located in https://src.timesys.com/svn/ with the team name added.

  3. Once the repository is listed, you can browse to the directory you want to access.
  4. Right click and choose Checkout. If you have not selected the top-level directory for checkout, you have two options:
  • Check out as a project configured using the New Project wizard. This will start the New Project wizard and add the files to the new project.
  • Check out as a project in the workspace. This will copy the files to a workspace that you can select in the next step.

Notes on Using Subclipse with TimeStorm

  • The plug-in cannot check in any files that are “derived”; that is, generated during a build. Only TimeStorm C/C++ and LKM projects mark their generated files as derived. To check in the Makefiles for these projects:
    1. Right-click on the file and select Properties.
    2. On the Info panel, deselect Derived.

    This must be done each time you want to check in the files.

  • When TimeStorm generates directories of files, it deletes the directory, re-creates it, and then generates files into the new, empty directory. All TimeStorm C/C++, LKM, System Configuration, and CDT Managed Make projects work in this manner.

    If the directory is under source control, the files will be marked as “deleted” after being regenerated. You must commit the “delete” changes, then re-add the directory and files.