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.
Install SourceAnywhere Server
You can select Connect to the built-in database if you don't have Microsoft SQL Server installed.
Install a SVN Client
We tested TortoiseSVN-1.7.2 and it worked. But 1.8 is not supported at the moment.
Install SVN Bridge and SourceAnywhere SDK
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.
Update the scconfig.ini
Update the scconfig.ini file as follows:
Once deployed and configured, please run SvnBridge.exe to start the service.
In your working folder, please right-click and select SVN Checkout.
In the popup dialog box, enter the URL you??e configured in scconfig.ini. In our case, the URL is http://192.168.4.235:808 (see step #IV). Don't forget to enter the checkout directory.
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:
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.