User Community Service Desk Downloads
If you can't find the product or version you're looking for, visit support.ataccama.com/downloads

SVN

This topic provides information about installing the SVN plugin for Eclipse and working with SVN repositories from the IDE.

For detailed usage of SVN, see Help > Help Contents > Subversive User Guide (available after installation) or read the online SVN documentation.

Install the SVN plugin and connector

  1. Start ONE Desktop.

  2. Select Help > Install New Software.

  3. In the Work with field, select one of preconfigured URLs to the Eclipse software repository (that is, http://download.eclipse.org/releases/<eclipseVersion>) and type svn in the search field. Wait for Eclipse to fetch results.

  4. In the results pane, select Collaboration > Subversive SVN Team Provider and then Next.

    The SVN Team Provider and Connector can also be installed from a downloaded package. See Install from a package.
    Install SVN plugin and connector
  5. On the review screen, select Next.

  6. In Review Licenses, accept the terms of the license agreement and select Finish.

  7. After the installation is complete, select Yes when prompted to restart the IDE.

  8. After the IDE restarts, select Window > Preferences in the main menu.

  9. Go to Team > SVN.

  10. Switch to the SVN Connector tab and select Get Connectors.

    Get SVN Connectors
  11. Choose SVN Kit 1.8.7 and select Finish.

    Select connector version
  12. Select Next and keep both items selected.

  13. On the review screen, select Next.

  14. In Review Licenses, accept the terms of the license agreement and select Finish.

  15. Select OK in case a warning appears.

  16. After the installation is complete, select Yes when prompted to restart the IDE.

Install from a package

It is also possible to install both plugins by manually downloading them and installing from a local folder.

  1. Download the Team Perspective package: www.eclipse.org/downloads/download.php?file=/technology/subversive/2.0/builds/Subversive-2.0.4.I20150123-1700.zip.

  2. Download the SVN Connector package: community.polarion.com/projects/subversive/download/eclipse/4.0/builds/Subversive-connectors-4.1.3.I20150214-1700.zip.

  3. Select Help > Install New Software.

  4. Next to the Work with field, select Add.

  5. Select Archive and provide the path to the package with the Subversive SVN Team Provider plugin.

  6. From the available items, select Subversive SVN Team Provider Plugin > Subversive SVN Team Provider and continue with steps 4-6 from the previous procedure.

  7. Repeat steps 3-6 of the current procedure to install the Subversive SVN Connector. In step 6, select Subversive SVN Connectors > SVNKit 1.8.7 Implementation (Optional).

Share a project using SVN

To share a project, you need to copy it to a remote location.

  1. Right-click the project, select Team > Share Project.

    Share project
  2. Choose SVN and select Next.

  3. Choose Create a new repository location and select Next.

  4. In Share Project Wizard, fill in the location URL, choose the label displayed in the Explorer (location or custom), and enter the username and password for authentication. Select Finish.

    Configuring a new repository location
  5. After you share the project with default settings, the Commit window appears. Enter a commit comment, choose the files to be shared, and select OK.

    First commit
  6. The project is now shared and committed. It contains the repository icon, version number (12465), and location.

    A new shared project

Import a project using SVN

To import an existing project from a remote location:

  1. Open the SVN Repository Exploring Perspective. If it is not added as one of your perspectives, select the Open Perspective icon and then Other and choose SVN Repository Exploring from the list.

    A corresponding icon appears in the Perspective Switching Panel, and the view is changed to SVN Repositories.

    Add the SVN repository exploring perspective
  2. To add a new repository, select the New Repository Location icon in the Navigation Panel.

    Add a new repository location
  3. Fill in the location URL, choose the label displayed in the Explorer (location or custom), and enter the username and password for authentication. Select Finish.

    Configure a new repository location
  4. The repository is now visible in the SVN Repositories perspective and needs to be checked out, that is, the contents of the remote repository need to be copied to your local machine.

    To do that, right-click the repository and select Check Out. After this, the files are copied to your local repository. How long this takes depends on the number of files checked out, their size, and the connection speed.+ image::svn-check-out.png[Check out files,400]

Update and commit

The most convenient and secure way of sharing changes you have made to a project locally (committing) and downloading the changes made by other users (updating) is through Synchronize perspective.

Team synchronizing perspective

To add the Team Synchronizing perspective, select the Open Perspective icon and then Other and choose Team Synchronizing from the list. A corresponding icon appears in the Perspective Switching Panel, and the view is changed to Synchronize.

Add the Synchronize perspective

Synchronize view

The Synchronize view can show local and remote changes on all added repositories. This is determined by the selected viewing mode:

  • Incoming mode (Incoming mode icon) - Shows only incoming changes.

  • Outgoing mode (Outgoing mode icon) - Shows only outgoing changes.

  • Incoming and outgoing mode (Incoming and outgoing mode icon) - Shows both incoming and outgoing changes, including conflicts.

  • Conflict mode (Conflict mode icon) - Shows only conflicts.

For more details, see Help > Help Contents > Subversive User Guide.

Synchronize perspective overview

Commit changes

To commit changes to one or several files in SVN:

  1. Select the files (using Ctrl+Shift), right-click, and select Commit.

    SVN commit action
  2. Enter a commit comment and select the files to commit.

    Commit dialog
  3. Select OK.

Update changes

Updating changes is similar to committing: select the files, right-click, and select Update. This completes the process.

If you are working with a model project, we recommend reloading its metadata after the update. To do this, switch to the Model Explorer view, right-click the updated project, and select Reload Metadata.

Troubleshooting

SSL handshake error when connecting to SVN without SSL certificates

If you are not using SSL certificates when trying to connect to SVN but the connection fails with a handshake alert error, you can configure the connection so that any SSL certificate errors are ignored.

To do this, add the following JVM parameter -Djsse.enableSNIExtension=false to the one-desktop.ini file.

Was this page useful?