Skip to Content
Here is a link to Show me your .slnk and I will show you mine (1of2).  Until SAP, or more specifically SDN, provides a method for developers to share slinkees we are left to our own devices to determine the best way to fill this gap.    In case you didn’t read the first blog in this two part series, a slinkee is the alias to a .slnk file, the file type used to import and export objects from an SAP system via image  Here is what you can do!   Go to Google Code and click on the project hosting web link below:image Create a google code PROJECT and click on the “Create a new project” link like the one below: image You have to fill out the form, here is a sample: image Once you complete the form and click the button, the following page will be displayed: image You now have a code.google project and soon you can load slinkee and nugget files up to your repository.  First you need to get a subversion tool.  Subversion you say?  What is that!!!!  According to Version Control with Subversion by Collins-Sussman, Fitzpatrick and Pilato  “Subversion is a free/open-source version control system. That is, Subversion manages files and directories over time. A tree of files is placed into a central repository. The repository is much like an ordinary file server, except that it remembers every change ever made to your files and directories. This allows you to recover older versions of your data, or examine the history of how your data changed. In this regard, many people think of a version control system as a sort of “time machine”.  Subversion can access its repository across networks, which allows it to be used by people on different computers. At some level, the ability for various people to modify and manage the same set of data from their respective locations fosters collaboration. Progress can occur more quickly without a single conduit through which all modifications must occur. And because the work is versioned, you need not fear that quality is the trade-off for losing that conduit—if some incorrect change is made to the data, just undo that change.  Some version control systems are also software configuration management (SCM) systems. These systems are specifically tailored to manage trees of source code, and have many features that are specific to software development—such as natively understanding programming languages, or supplying tools for building software. Subversion, however, is not one of these systems. It is a general system that can be used to manage any collection of files. For you, those files might be source code—for others, anything from grocery shopping lists to digital video mixdowns and beyond.”   Now that you understand what subversion is and the power it yields…lets go get it!  TortoiseSVN Scroll about halfway down the page and you will see this link: image Once downloaded, execute the msi file and follow the prompts. image Click “Next”. image Accept the license agreement and click “Next”. image Choose a location, the default should be fine and click “Next”. image Click Install and off the installer will go.  Almost done…..now click finish.    A change log .txt file will display…review it if you wish.  I just closed it.    You will be prompted to restart your machine, please comply.  As I am doing this with you… I must restart as well, see you in a few minutes! OK I am back.  Did it work?  How can I tell?  First things first…don’t get ahead of yourself.  Lets finish the set-up.  Right-click anywhere on the desktop to get this context menu: image Once in settings, you have to set the proxy server settings if this is applicable.  All other settings are user preferences. image Now create a folder on your local machine you would like to store your source code files.  In this tutorial, I will just create one on my desktop.   I have created a .txt file that has the text Hello world in it. Put your file, in that folder. NOTE: I am using my code group to hold .nugg and .slnk files, but you can put any file type in your repository.  Right click on the folder you wish to hold your files: You will see this context menu:image A pop-up window will appear, put the URL of your repository in the appropriate text box.image If you don’t know the URL, you can find it here on your code .google page: image  Once you press ok, you will be prompted for a userID and password.  If you havn’t yet, have the code.google page generate the password for you by clicking the SVN Password link, follow the arrow in the above graphic.   Your userid is your google userID,omit the @gmail.com.  You will receive a confirmation dialog that the checkout is successful and your new folder will have new hidden folder named .svn   Now you can right click on the file you would like to deposit in the repository and you should see a context menu like this: image  Your file should look like this: image Now you need to set the properties of the file to a non-binary file type. To do this, right click on the file you just added and go to the file properties: image From here highlight the type and click Remove.   image As an added benefit, because the file type is non-binary, if another developer fixes a bug in your code, they will be able to submit a patch.  Good times!  Now that the file is added to your upload cue and you have set the properties…it is time to commit the file to the repository. Another right click on the file and you will see this context menu: image After commit your file will now have a success Icon like this one: image This icon means the file on your local machine and the subversion repository are in sinc.    Now you can post your solutions on SDN and give a link to your file in your answers.    Good luck and happy slinkee shareing!!!!!
To report this post you need to login first.

4 Comments

You must be Logged on to comment or reply to a post.

  1. John Patterson
    Hi Ryan,
    Don’t know whether its because I have XP Pro, but when I installed TortoiseSVN I didn’t have the ‘Add’ entry in my context menu as you do.

    I finally managed to sync with a new google code repository. I had to do an initial ‘Checkout..’ from the repository to a new folder on my C: drive, then I was able to ‘SVN Add..’ and then ‘SVN Commit..’, which put the files up there.

    Cheers
    JSP

    (0) 
    1. Ryan Quackenboss
      John,

      Thanks for the feedback.  It is quite possible I missed a step.  Admittedly, I built this blog after already installing Tortoise once.  So to get the screen shots, I had to uninstall and re-install the tool.  On the second install, the folder I was using was already checked out, so I didn’t have to perform that step, but do remember having to do that the first time.  I will update the blog with the required steps. 

      I really appreciate you bringing this point up, and congratulations on installing the tool despite my incomplete instructions.

      I look forward to your first slinkee post.

      Quack

      (0) 
  2. Peter Inotai
    Hi Ryan,

    I found this weblog really useful in this weekend when I uploaded some slnk files to my weblog.
    I did it without any documentation, and I got stuck in the upload step. After looking around in SDN and finding your blog it was easy.
    Thanks!

    Best regards,
    Peter

    (0) 
    1. Ryan Quackenboss
      Thanks for the comment, I am glad you found this helpful!  I tried to make the steps as easy as possible to follow.  If I left out a step, or something in my tutorial is inaccurate, please let me know. 

      Thanks again,

      Quack

      (0) 

Leave a Reply