Joined: 24 Oct 2008
|Posted: Fri Jan 16, 2015 1:27 pm Post subject: HOWTO get rdf- and map files from SVN
|Although rdf- and map files are found in the file area, the latest versions are found (or at least should be found) in the subversion ("svn") repository at Sourceforge. SVN is a powerful system that can do a lot of nice things for software developers (see the free online book). This guide is written for those who do not really want to read books of documentation, but just getting the files on their local disc.
1. Using the browser (all systems)
Open https://sourceforge.net/p/controlremote/code/HEAD/tree/trunk/remotes/rdfs/ in the browser. (Analogous for .../maps.) This shows all the rdf files. Unfortunately, there is no easy way to download all of them (at least that I am aware of). However, the individual files can be downloaded. Doubleclicking one of the file names opens it in the browser, where it may be saved. Using Firefox, the "download this field" field trunkated the file name, since they contain spaces. However, instead of opening, pressing the right mouse button on the file name, and selecting "Save link as" allows for saving the file with correct file name. Using Internet Explorer is pretty much the other way around: There is no "Save link as", however, "Download this file" works.
2. Using SVN from the command line (all systems).
If the svn command line program is installed, open a command line window (called terminal, dos-box, etc). cd to the directory that is to receive the rdf and maps file. Of course, this must be writable for the current user. Make sure Internet is enabled. Type the command
|svn checkout svn://svn.code.sf.net/p/controlremote/code/trunk/remotes/rdfs |
This will now create a subdirectory of the current directory, called "rdfs" and put all the present rdf files therein. Analogously, the command
sucks the map files.
|svn checkout svn://svn.code.sf.net/p/controlremote/code/trunk/remotes/maps |
For those who do not like opening command line windows, there is a bat file in the file section, containing these two commands. Just put it in the directory to contain the rdfs and maps directories, and double click. It is even possible to run that file on Linux (make it executable first!).
3. Using Tortoise (Windows only)
Tortoise is a popular open-source SVN client for windows, and can be downloaded from https://sourceforge.net/projects/tortoisesvn/. When installing, make sure that the option "command line client tools" is selected.
After installing, in an explorer window, press the right mouse button and select "TortoiseSVN -> Repo-browser". In the popup, type (or rather, cut and paste) svn://svn.code.sf.net/p/controlremote/code/trunk/remotes into the URL field. Afer a little while, there should be a window containing two folders, called rdfs and maps. Press the right mouse button on one of those, select "Checkout" and select an appropriate "Checkout directory" in the next popup. Do not change the other selectsion. This checks out the files to the directory selected. Repeat with the other directory (if desired).