Knowledge Base

The leading provider of version control solutions and TWAIN SDKs

Using SVN with SourceAnywhere

Dynamsoft SourceAnywhere provides multiple type of clients (e.g. Windows/Java GUI Client, VS Integration, Eclipse, Dreamweaver plugins, Command Line, SDKS) to meet the different needs of our clients. However, we get requests on how to use SourceAnywhere with enviroments like Windows Explorer, XCode/Dreamweaver on Mac from time to time. So we worked out an SVNBridge which enables you to use SVN (which comes with wider integration) locally and push to SourceAnywhere database.

The following diagram shows how SVNBridge of SourceAnywhere works.

In this article, we will go through the key points of using SVN with SourceAnywhere by the SVNBridge.

  1. Install SourceAnywhere Server

    Please download and run SourceAnywhere Server first if you don't have it. Step by step installation guide>>

    You can select Connect to the built-in database if you don't have Microsoft SQL Server installed.

  2. Install a SVN Client

    We tested TortoiseSVN-1.7.2 and it worked. But 1.8 is not supported at the moment.

  3. Install SVN Bridge and SourceAnywhere SDK

    Download SVNBridge and extract it to any location. It's recommended that you run the SVNBridge service on SourceAnywhere Server machine for better performance. Also, you will need to install SourceAnywhere COM SDK on the machine.

  4. Update the scconfig.ini

    Update the scconfig.ini file as follows:

    SCIP= (SourceAnywhere Server IP)
    SCPort=7777 (SourceAnywhere Server Port)
    Repository=Default (your SourceAnywhere repository)
    TempPath=C:\Temp\ (the temp path of svnbridge)
    SCBIP= (SVNBridge Server IP)
    SCBPort=808 (SVNBridge Server Port)
    NOTE: You can find the SourceAnywhere Server IP and Port info in SourceAnywhere Service Configurator at Server Info -> System Settings -> Server IP and ports section.

    Once deployed and configured, please run SvnBridge.exe to start the service.

  5. SVN Checkout

    In your working folder, please right-click and select SVN Checkout.

    In the popup dialog box, enter the URL you’ve configured in scconfig.ini. In our case, the URL is (see step #IV). Don't forget to enter the checkout directory.

  6. Enter SourceAnywhere credentials

    Please enter the username and password of your SourceAnywhere user. There is a built-in user Admin and the original password was given by you when installing SourceAnywhere Server.

    Followed by user name, is the repository name. There is a built-in repository Default when installing SourceAnywhere Server. So the format of credentails to be entered would be like this:

    Username: <repository name of SourceAnwyhere>\<SourceAnywhere username>
    Password: the password of the SourceAnywhere user

    You can go with default built-in user and repository if you like.

    Please check Save authentication to avoid further Authentication dialogs.

    After clicking OK to confirm the entry, you can see the files/folders are in the source control.

If you are familiar with SVN, you would know how to edit the files and interact with the database. The command SVN Commit will help you upload the modifications to SourceAnywhere. More version control operations can be found at TortoiseSVN.

The SVNBridge supports the following operations: Update, Commit, Add, Delete, Get/Release Lock, Repo-browser.

If you need any extra assistance or have any problems, please feel free to contact us.

Article Details

Last Updated
8th of October, 2013

Would you like to...

Print this page Print this page

Email this page Email this page

Post a comment Post a comment

Subscribe me

Add to favorites Add to favorites

Remove Highlighting Remove Highlighting

Edit this Article

Quick Edit

Export to PDF

User Opinions (4 votes)

75% thumbs up 25% thumbs down

How would you rate this answer?

Thank you for rating this answer.

Related Articles

No related articles were found.


No attachments were found.