Difference between revisions of "EclipseLink/Building/Automate"

From Eclipsepedia

Jump to: navigation, search
(New page: == Automating SVN == # Install TortoiseSVN. TortoiseSVN-1.4.8.12137-win32-svn-1.4.6.msi # Install putty and configure the eclipse session. **Note: steps 3 and 4 are extra and required to r...)
 
m (Automating SVN)
 
(4 intermediate revisions by one user not shown)
Line 1: Line 1:
 
== Automating SVN ==
 
== Automating SVN ==
# Install TortoiseSVN.
+
* Install TortoiseSVN.
TortoiseSVN-1.4.8.12137-win32-svn-1.4.6.msi
+
<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]
**svn-1.4.6-setup.exe
+
<pre>svn-1.4.6-setup.exe</pre>
# Add the following env variable
+
* Add the following env variable
**SVN_SSH=c:\\Program Files\\TortoiseSVN\\bin\\TortoisePlink.exe -l your_username -pw your_password
+
<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
**svn blame about.html
+
<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.''
**svn update  
+
<pre>svn update</pre>
***perform a full update
+
''Performs a full update''

Latest revision as of 21:57, 2 December 2010

[edit] 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