X
10568

Subversion/SVN connector configuration fails for the IDL 8.2 Workbench on Mac and Linux

TOPIC:

When attempting to configure the Subversive plugin functionality that comes with the IDL 8.2 Workbench on Mac OS X or Linux (select the menu item Window > Source Control Tools > Subversion), the installation/configuration of the SVN Connectors will fail to finish properly.

Upon restart the IDL 8.2 Workbench, the Install Connectors dialog appears again, as if SVN connector installation had not occurred at all.  However if you attempt to install the connectors again, you encounter an error indicating that they have already been installed.

If you then cancel out of the Install Connectors dialog, attempts to connect to a SVN repository from IDL will fail.  Additionally if you open the IDL Workbench Preferences dialog and select the preference section Team > SVN and then on the right select the tab labeled "SVN Connector", notice there are no connector options listed in the pull down selection field titled "SVN Connector".

WORKAROUND TO CONFIGURE SVNKIT CONNECTORS:

The following section of this Help Article describes a work around that has been reported to successfully enable use of the SVNKit connectors with IDL 8.2 for some users on Linux and Mac.

 NOTES

a.) This workaround approach does not work with the configuration of the "Native JavaHL" SVN connectors.

b.) This workaround involves modifying the "bundles.info" file located in the main IDL 8.2 installation directory, which may require root/sudo or admin privileges.

c.) Additionally, this modification defines an absolute path to one specific user's local Workbench configuration directory. As a consequence this workaround may not be suitable for a shared IDL 8.2 installation).

d.) The example lines for the "bundles.info" files used in this help article are only intended as examples to illustrate the steps needed to work around the problem. When using these instructions, be sure to copy the relevant lines from your own local copy of the "bundles.info" file, as mentioned in the steps below.

1.) If not already installed, install the desired version of the SVNKit Connector in the usual way (select the Workbench menu item: Window > Source Control Tools > Subversion). Choose the connectors that you would like to use, for example the latest version of the Java kit, and then follow the prompts to proceed with the installation.

After the SVNKit connector installation has finished, but before closing the Connector installation dialog -- rather than *restarting* the IDL Workbench, click on the Apply Changes button, close the installation dialog, and then exit out of the IDL 8.2 Workbench session. Also be sure to exit out of any other IDL 8.2 sessions that you may be running.

2.) Or if you have restarted IDL after completing the default installation process for the SVNKit Connectors, and are prompted to reinstall the SVN Connectors,  be sure to cancel out of that dialog and then exit out of the IDL 8.2 Workbench session.

3.) Next, go to the following location under your home directory:

    [home-directory]/.idl/idlworkbench-config-idl8.2.0/org.eclipse.equinox.simpleconfigurator/

For example, on Mac OS X:

    /Users/joeuser/.idl/idlworkbench-config-idl8.2.0/org.eclipse.equinox.simpleconfigurator/

Or Linux:

    /home/joeuser/.idl/idlworkbench-config-idl8.2.0/org.eclipse.equinox.simpleconfigurator/

And then open the following (local) file in a text editor:

    bundles.info

4.) From near the bottom of the (local) "bundles.info" file, copy the lines that begin with:

    org.polarion.eclipse.team.svn.connector

for example (2 very long lines):

org.polarion.eclipse.team.svn.connector,2.2.1.I20091009-1900,../../../../Users/joeuser/.idl/plugins/org.polarion.eclipse.team.svn.connector_2.2.1.I20091009-1900.jar,4,false
org.polarion.eclipse.team.svn.connector.svnkit16,2.2.1.I20091009-1900,../../../../Users/joeuser/.idl/plugins/org.polarion.eclipse.team.svn.connector.svnkit16_2.2.1.I20091009-1900.jar,4,false

There may be additional or different lines to copy, depending upon which versions of the SVNKit Connectors you chose to install.

5.) [Note: The following step may require root/sudo or admin privileges.] After copying the lines from step (4), open in a plain UNIX-format text editor a second, different (system) "bundles.info" file, which is located in the main IDL 8.2 installation:

    [install-directory]/idl82/idlde/configuration.[platform]/org.eclipse.equinox.simpleconfigurator/bundles.info

For example, the default location for this file on (64-bit) Mac OS X is:

    /Applications/exelis/idl82/idlde/configuration.darwin.x86_64/org.eclipse.equinox.simpleconfigurator/bundles.info

For (64-bit) Linux:

    /usr/local/exelis/idl82/idlde/configuration.linux.x86_64/org.eclipse.equinox.simpleconfigurator/bundles.info

After opening the second (system) "bundles.info" file, paste the copied lines from the (local) bundles.info file from step (3), into the same relative location of the second (system) "bundles.info" file.

Before saving your changes to the second file, modify the paths in the new lines to reflect *absolute* paths by deleting the following characters:

    ../../../..

For example, the two (very long) lines copied from step (4), and then modified, would look like this in the second (system) "bundles.info" file:

org.polarion.eclipse.team.svn.connector,2.2.1.I20091009-1900,/Users/joeuser/.idl/plugins/org.polarion.eclipse.team.svn.connector_2.2.1.I20091009-1900.jar,4,false
org.polarion.eclipse.team.svn.connector.svnkit16,2.2.1.I20091009-1900,/Users/joeuser/.idl/plugins/org.polarion.eclipse.team.svn.connector.svnkit16_2.2.1.I20091009-1900.jar,4,false

5.) After saving the changes the second (system) "bundles.info" file, restart the IDL 8.2 Workbench. At this point, the SVN plugin should be ready to use.