CODESYS SVN usage Log in to Edit

Usage without the cforge tool

Prerequisites

  1. CODESYS IDE (eg. 3.5.16.10)
  2. Tortoise SVN (eg. 1.14)
  3. CODESYS SVN (eg. 4.2.6.0)
  4. Blank svn repository in forge

Usage

Upload CODESYS SVN files
  1. Create a project or library as you normally would in CODESYS IDE.
  2. Save the project (Tip: all CODESYS SVN commands work best after saving :))
  3. From the menu bar, select Project > SVN > Import Project to SVN...
  4. Copy and paste your project's svn url eg. https://forge.codesys.com/svn/tol,voice-assistant,code/
  5. Press the elipses (...) to bring up the repository explorer.
  6. Right click to Create Folder...
  7. Add the text /trunk to the root svn url and press OK to create your first commit.
  8. Repeat the Create Folder... process for the folders /branches and /tags.
  9. Select the new trunk folder and press OK.
  10. Now add the /name of your project or library to the root svn url/trunk, type a commit message and press OK.
  11. Save your project!
    ==> You now have your first commit of your project!
also upload a copy of the .project or .library file
  1. Run the TortoiseSVN Repository Browser
  2. Open your project's svn url.
  3. Right click the trunk and Add file...
  4. Choose the file, then type a log message

    ==> People can now access your .project or .library, and you can track your project changes with CODESYS SVN.