It’s so exciting that SVNBridge is available for SourceAnywhere now. The project allows you to access SourceAnywhere database from TortoiseSVN (a Subversion client). Users will benefit from combining these two products to enjoy nice features from both SourceAnywhere and SVN.
- Enjoy the robust management provided by SourceAnywhere Server, such as enhanced security, user and database management.
- If you’ve used SVN, it’s not necessary for you to abandon SVN in order to get the above benefits. It’s flexible for you to choose TortoiseSVN or SourceAnywhere as a client.
- Wider IDE integration. Integration with XCode, Dreamweaver on Mac and more will be supported. (I will blog the integrations later.)
In this article, I’ll share with you how to integrate SVNBridge with SourceAnywhere.
How to Integrate
1. Please download and set up SourceAnywhere Server first if you don’t have it on your machine.
Also, you will need to install SourceAnywhere COM SDK on the SVNBridge server machine. (SourceAnywhere Server can be on a different machine)
2. Assume you’ve already installed a SVN Client, for instance TortoiseSVN. Download SVNBridge and unzip it to any location on your computer.
3. Update the scconfig.ini file.
SCIP=192.168.4.100 (SourceAnywhere Server IP)
SCPort=7777 (SourceAnywhere Server Port)
Repository=Default (your SourceAnywhere repository)
TempPath=C:\Temp\ (the temp path of svnbridge)
SCBIP= 192.168.4.235 (SVNBridge Server IP)
SCBPort=808 (SVNBridge Server Port)
Note: To check the IP of SourceAnywhere Server, you can open “SourceAnywhere Service Configurator” and navigate to “System Settings -> Server IP and ports section”.
For SCBIP, you can go to the machine holding the SVNBridge. And then use the command ipconfig to get the IP address.
4. Double click SvnBridge.exe to start the service.
How to Access SourceAnywhere from TortoiseSVN
Through Windows Explorer
1. Get the projects to your working folder. In the working folder, you can right-click and choose SVN Checkout.
2. In the popup dialog box, enter the URL you’ve configured through scconfig.ini (SCBIP). In our case, the URL is http://192.168.4.235:808 (please check step 3 in the How to Integrate section). Please also enter the checkout directory.
The following Authentication will prompt:
Username: <repository name of SourceAnwyhere>\<SourceAnywhere username>
Password: the password of the SourceAnywhere user
Note: check “Save authentication” to avoid further Authentication dialogs.
After clicking OK to confirm the entry, you can see the files/folders under version controll.
3. If you are familiar with SVN, you must know how to edit the files and interact with the database. After you update a file or project, right-click on the target. The command “SVN Commit” will help you upload the modifications to SourceAnywhere. Moreoperations can be found at TortoiseSVN: Update, Commit, Add, Get/Release Lock, Repo-browser
Access through Web Browser
If you’d like to view the project(s) through the browser, please enter the URL http:// 192.168.4.235:808/svn. 192.168.4.235 is the IP address of the computer where the SVNBridge locates.
Hope you like the combination of SourceAnywhere and SVN and its flexibility. To try out the SVNBridge by yourself, you can download the installation packages below: