Jump to: navigation, search

Difference between revisions of "EclipseLink/Building/Automate"

(Automating SVN)
(Automating SVN)
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.
+
''Note: steps 3 and 4 are extra and required to run svn automated via command-line.''
 
* Install command-line SVN
 
* Install 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''

Revision as of 10:01, 1 April 2008

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 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