Jump to: navigation, search

EclipseLink/Building/Automate

Automating SVN

  • Install TortoiseSVN.
TortoiseSVN-1.4.8.12137-win32-svn-1.4.6.msi
  • Install putty and configure the eclipse session.

The above steps are the same as required for non-automated user access - see General prerequisites for building & running EclipseLink tests

Note: steps 3 and 4 are extra and required to run svn automated via command-line.

  • Install command-line SVN
svn-1.4.6-setup.exe
  • Add the following env variable
SVN_SSH=c:\\Program Files\\TortoiseSVN\\bin\\TortoisePlink.exe -l your_username -pw your_password

Note: Environment variable needs double slashes.

  • Test your setup by opening a cmd window on your trunk view and typing the following
svn blame about.html

You should see a bunch of html tags prefixed by the owner name.

svn update

Performs a full update