Jump to: navigation, search

Difference between revisions of "EclipseLink/Building/Automate"

(Automating SVN)
m (Automating SVN)
 
(3 intermediate revisions by the same user not shown)
Line 3: Line 3:
 
<pre>TortoiseSVN-1.4.8.12137-win32-svn-1.4.6.msi</pre>
 
<pre>TortoiseSVN-1.4.8.12137-win32-svn-1.4.6.msi</pre>
 
* Install putty and configure the eclipse session.
 
* Install putty and configure the eclipse session.
**Note: steps 3 and 4 are extra and required to run svn automated via command-line.
+
''The above steps are the same as required for non-automated user access - see [[EclipseLink/Development/Testing/Prereq| General prerequisites for building & running EclipseLink tests]]
* Install command-line SVN
+
* Install [http://subversion.apache.org/packages.html command-line SVN]
 
<pre>svn-1.4.6-setup.exe</pre>
 
<pre>svn-1.4.6-setup.exe</pre>
 
* Add the following env variable
 
* Add the following env variable
 
<pre>SVN_SSH=c:\\Program Files\\TortoiseSVN\\bin\\TortoisePlink.exe -l your_username -pw your_password</pre>
 
<pre>SVN_SSH=c:\\Program Files\\TortoiseSVN\\bin\\TortoisePlink.exe -l your_username -pw your_password</pre>
**Note: Environment variable needs double slashes.
+
''Note: Environment variable needs double slashes.''
 
* Test your setup by opening a cmd window on your trunk view and typing the following
 
* Test your setup by opening a cmd window on your trunk view and typing the following
 
<pre>svn blame about.html</pre>
 
<pre>svn blame about.html</pre>
**You should see a bunch of html tags prefixed by the owner name.
+
''You should see a bunch of html tags prefixed by the owner name.''
 
<pre>svn update</pre>
 
<pre>svn update</pre>
**perform a full update
+
''Performs a full update''

Latest revision as of 21:57, 2 December 2010

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

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