<html><head><META http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>CVS FAQ</title><link href="default.css" rel="stylesheet"><link href="/images/favicon.ico" rel="SHORTCUT ICON"></head><body marginwidth="0" marginheight="0" leftmargin="0" bottommargin="0" topmargin="0" vlink="#6763a9" link="#6763a9" bgcolor="#ffffff"><a name="top"></a><table height="400" width="712" cellspacing="0" cellpadding="0" border="0"><tr><td bgcolor="#7270c2" align="left" valign="top" width="20"><img border="0" height="1" width="1" src="images/dotTrans.gif"></td><td bgcolor="#7270c2" align="left" valign="top" width="95"><img border="0" height="1" width="1" src="images/dotTrans.gif"></td><td align="left" valign="top" width="7"><img height="1" width="1" border="0" src="images/dotTrans.gif"></td><td align="left" valign="top" width="40"><img border="0" height="6" width="40" src="images/dotTrans.gif"></td><td bgcolor="#5A5CB8" align="left" valign="top" width="430"><img border="0" height="6" width="430" src="images/top_2.gif"></td><td bgcolor="#E24717" align="left" valign="top" width="120"><img src="images/top_3.gif" width="120" height="6" border="0"></td></tr><tr><td align="left" valign="top" bgcolor="#7270c2" width="20"><img height="1" width="1" border="0" src="images/dotTrans.gif"></td><td align="left" valign="top" bgcolor="#7270c2" width="95"><img height="1" width="1" border="0" src="images/dotTrans.gif"></td><td align="left" valign="top" bgcolor="#ffffff" width="7"></td><td align="left" valign="top" width="40"><img border="0" height="1" width="1" src="images/dotTrans.gif"></td><td align="left" valign="middle" width="430"><a href="faq.html"><span class="menuTopOff">[ f a q ]</span></a> <a href="http://wiki.codehaus.org/openejb"><span class="menuTopOff">[ w i k i ]</span></a> <a href="http://archive.openejb.codehaus.org/user/"><span class="menuTopOff">[ l i s t s ]</span></a> <a href="http://cvs.openejb.org/"><span class="menuTopOff">[ c v s ]</span></a> <a href="http://jira.codehaus.org/secure/BrowseProject.jspa?id=10401"><span class="menuTopOff">[ b u g s ]</span></a> <br><img border="0" height="2" width="1" src="images/dotTrans.gif"></td><td align="left" valign="top" height="20" width="120"> </td></tr><tr><td align="left" valign="top" bgcolor="#7270c2" width="20"><img border="0" height="3" width="20" src="images/dotTrans.gif"></td><td align="left" valign="top" bgcolor="#7270c2" width="95"><img border="0" height="3" width="105" src="images/line_sm.gif"></td><td align="left" valign="top" bgcolor="#a9a5de" width="7"><img border="0" height="3" width="7" src="images/line_sm.gif"></td><td align="left" valign="top" width="40"><img border="0" height="3" width="40" src="images/line_light.gif"></td><td align="left" valign="top" width="430"><img border="0" height="3" width="430" src="images/line_light.gif"></td><td align="left" valign="top" width="120"><img height="1" width="1" border="0" src="images/dotTrans.gif"></td></tr><tr><td align="left" valign="top" bgcolor="#7270c2"><img border="0" height="10" width="20" src="images/dotTrans.gif"></td><td align="left" valign="top" bgcolor="#7270c2" width="95"><img border="0" height="2" width="1" src="images/dotTrans.gif"><br><table cellspacing="0" cellpadding="0" border="0"><tr><td align="left" valign="top"><span class="subMenuOn">Main</span></td></tr><tr><td align="left" valign="top"><a href="index.html"><span class="subMenuOff"> | |
Welcome!</span></a></td></tr><tr><td align="left" valign="top"><a href="download.html"><span class="subMenuOff"> | |
Download</span></a></td></tr><tr><td align="left" valign="top"><a href="lists.html"><span class="subMenuOff"> | |
Mailing Lists</span></a></td></tr><tr><td align="left" valign="top"><a href="cvs.html"><span class="subMenuOff"> | |
Source Code</span></a></td></tr><tr><td align="left" valign="top"><a href="contributors.html"><span class="subMenuOff"> | |
The Team</span></a></td></tr><tr><td align="left" valign="top"><a href="status.html"><span class="subMenuOff"> | |
Status</span></a></td></tr></table><table cellspacing="0" cellpadding="0" border="0"><tr><td align="left" valign="top"><span class="subMenuOn">Users</span></td></tr><tr><td align="left" valign="top"><a href="quickstart.html"><span class="subMenuOff"> | |
Quickstart</span></a></td></tr><tr><td align="left" valign="top"><a href="hello-world.html"><span class="subMenuOff"> | |
Hello World!</span></a></td></tr><tr><td align="left" valign="top"><a href="cmp_entity_postgresql.html"><span class="subMenuOff"> | |
CMP Example</span></a></td></tr><tr><td align="left" valign="top"><a href="cmp_guide.html"><span class="subMenuOff"> | |
CMP Guide</span></a></td></tr><tr><td align="left" valign="top"><a href="deploy.html"><span class="subMenuOff"> | |
Deploy</span></a></td></tr><tr><td align="left" valign="top"><a href="start-command.html"><span class="subMenuOff"> | |
Startup</span></a></td></tr><tr><td align="left" valign="top"><a href="validate.html"><span class="subMenuOff"> | |
Validation</span></a></td></tr><tr><td align="left" valign="top"><a href="config_containers.html"><span class="subMenuOff"> | |
Configuration</span></a></td></tr><tr><td align="left" valign="top"><a href="properties.html"><span class="subMenuOff"> | |
Properties</span></a></td></tr></table><table cellspacing="0" cellpadding="0" border="0"><tr><td align="left" valign="top"><span class="subMenuOn">Servers</span></td></tr><tr><td align="left" valign="top"><a href="embedded.html"><span class="subMenuOff"> | |
Local Server</span></a></td></tr><tr><td align="left" valign="top"><a href="remote-server.html"><span class="subMenuOff"> | |
Remote Server</span></a></td></tr><tr><td align="left" valign="top"><a href="tomcat.html"><span class="subMenuOff"> | |
Tomcat</span></a></td></tr><tr><td align="left" valign="top"><a href="geronimo.html"><span class="subMenuOff"> | |
Geronimo</span></a></td></tr></table><table cellspacing="0" cellpadding="0" border="0"><tr><td align="left" valign="top"><span class="subMenuOn">Integrators</span></td></tr><tr><td align="left" valign="top"><a href="whyopenejb.html"><span class="subMenuOff"> | |
Why OpenEJB</span></a></td></tr><tr><td align="left" valign="top"><a href="containersystem.html"><span class="subMenuOff"> | |
Overview</span></a></td></tr><tr><td align="left" valign="top"><a href="design_openejb.html"><span class="subMenuOff"> | |
Design</span></a></td></tr><tr><td align="left" valign="top"><a href="OpenEJB_presentaion.ppt"><span class="subMenuOff"> | |
Presentation</span></a></td></tr></table><img border="0" height="15" width="1" src="images/dotTrans.gif"><br><img border="0" height="3" width="105" src="images/line_sm.gif"><br><A href="http://codehaus.org"><IMG alt="The Codehaus" border="0" height="17" width="88" src="http://www.openejb.org/codehaus-smaller.png"></A></td><td align="left" valign="top" bgcolor="#a9a5de" width="7"> </td><td align="left" valign="top" width="40"> </td><td valign="top" width="430" rowspan="4"><table width="430" cellspacing="0" cellpadding="0" border="0" rows="2" cols="1"><tr><td align="left" valign="top"><br><img width="200" vspace="0" src="./images/logo_ejb2.gif" hspace="0" height="55" border="0"><br><img src="images/dotTrans.gif" hspace="0" height="7" border="0"><br><span class="pageTitle">CVS FAQ</span><br><img src="images/dotTrans.gif" hspace="0" height="1" border="0"></td></tr></table><p></p><p></p><br><span class="toc"><a href="#whatiscvs">What is CVS?</a><br></span><span class="toc"><a href="#whereiscvs">Where can I get CVS?</a><br></span><span class="toc"><a href="#installingcvs">How do I install CVS?</a><br></span><span class="toc"><img border="0" height="1" width="15" src="images/dotTrans.gif"><a href="#path">Set the PATH variable</a><br></span><span class="toc"><img border="0" height="1" width="15" src="images/dotTrans.gif"><a href="#cvsroot">Set the CVSROOT variable</a><br></span><span class="toc"><img border="0" height="1" width="15" src="images/dotTrans.gif"><a href="#home">Set the HOME variable</a><br></span><br><a name="whatiscvs"><h2>What is CVS?</h2></a> | |
<p><span class="bodyBlack"> | |
The Concurrent Versions System (CVS) provides network-transparent source | |
control for groups of developers. CVS has four basic functions: | |
</span></p> | |
<table cellspacing="2" cellpadding="2" border="0"><tr><td height="5" colspan="2"></td></tr><span class="bodyGrey"> | |
<LI>Maintains a history of all changes made to each directory tree it manages</LI> | |
<LI>Provides hooks to support process control and change control</LI> | |
<LI>Provides reliable access to its directory trees from remote hosts using Internet protocols</LI> | |
<LI>Supports parallel development allowing more than one developer to work on the same sources at the same time</LI> | |
</span></table> | |
<p><span class="bodyBlack"> | |
All the OpenEJB source code, documentation, and other files are in a CVS | |
repository on a server at Codehaus. To access the repository and | |
download the source code and other files, you need a cvs client. | |
</span></p> | |
<a name="whereiscvs"><h2>Where can I get CVS?</h2></a> | |
<p><span class="bodyBlack"> | |
If you are on a Linux machine, you most likely already have cvs. To | |
find out if cvs is intalled, type the following command at a prompt: | |
<br><br> | |
<span class="command">which cvs</span> | |
</span></p> | |
<p><span class="bodyBlack"> | |
If you are one a Windows machine, you will need to download the CVS command-line | |
client <a href="http://ftp.cvshome.org/win32/cvs1-11-1p1.zip">for Windows</a>. | |
</span></p> | |
<p><span class="bodyBlack"> | |
The CVS command line client is available on many operating systems. | |
Choose the CVS client that's right for your OS at the official | |
<a href="http://www.cvshome.org/downloads.html">CVS download</a> | |
page. | |
</span></p> | |
<a name="installingcvs"><h2>How do I install CVS?</h2></a> | |
<p><span class="bodyBlack"> | |
There is no "Install Shield" for cvs. You just put the cvs executable in | |
any directory and then include that directory in your PATH system | |
variable. Then you can execute cvs commands from anywhere in your | |
command shell. | |
</span></p> | |
<a name="path"><h3>Set the PATH variable</h3></a> | |
<p><span class="bodyBlack"> | |
To set the PATH variable on a Windows machine, execute the following command | |
in a command prompt.<br><br> | |
<span class="command">set PATH=%PATH%;C:\the\path\where\cvs\is</span> | |
</span></p> | |
<a name="cvsroot"><h3>Set the CVSROOT variable</h3></a> | |
<p><span class="bodyBlack"> | |
To execute cvs commands against a CVS repository, you must | |
tell cvs where the repository is by setting its location in a CVSROOT | |
evironment variable, or by specifying it in your command with the cvs -d option. | |
</span></p> | |
<p><span class="bodyBlack"> | |
To set the CVSROOT variable on a Windows machine so that it points toward | |
the OpenEJB cvs at Codehaus, execute the following command in a command | |
prompt.<br><br> | |
<span class="command">set CVSROOT=:pserver:anon@cvs.openejb.codehaus.org:/scm/openejb</span> | |
</span></p> | |
<a name="home"><h3>Set the HOME variable</h3></a> | |
<p><span class="bodyBlack"> | |
The first time you access a particular CVS repository, you must first login | |
to the server hosting the repository. You can do this with the 'cvs login' | |
command, but before doing this you need to set another environment variable. | |
CVS needs to know where to put your login information, for this you must set | |
the HOME environment variable on your OS or in your shell.<br><br> | |
If you are on a Linux/Unix machine, this will already be set, but if you are | |
on a Windows machine, you will most likely need to do this manually. | |
</span></p> | |
<p><span class="bodyBlack"> | |
To set the HOME variable on a Windows machine, execute the following command | |
in a command prompt.<br><br> | |
<span class="command">set HOME=C:\any\directory\works</span> | |
</span></p> | |
</td><td align="left" valign="top" height="5" width="120"> | |
| |
</td></tr><tr height="5"><td align="left" valign="top" bgcolor="#7270c2" height="5" width="20"> </td><td valign="top" bgcolor="#7270c2" height="5" width="95"> </td><td align="left" valign="top" bgcolor="#a9a5de" height="5" width="7"> </td><td align="left" valign="top" height="5" width="40"> </td><td align="left" valign="top" height="5" width="120"> </td></tr><tr><td align="left" valign="top" bgcolor="#7270c2" height="5" width="20"> </td><td align="left" valign="top" bgcolor="#7270c2" width="95"> </td><td align="left" valign="top" bgcolor="#a9a5de" width="7"><img border="0" height="25" width="1" src="images/dotTrans.gif"></td><td align="left" valign="top" width="40"><img border="0" height="25" width="1" src="images/dotTrans.gif"></td><td align="left" valign="top" width="120"> </td></tr><tr height="5"><td align="left" valign="bottom" bgcolor="#7270c2" height="100%" rowspan="2" width="20"><img border="0" height="125" width="20" src="images/stripes1.gif"></td><td align="left" valign="bottom" bgcolor="#7270c2" height="100%" rowspan="2" width="95"><img border="0" height="125" width="105" src="images/stripe105.gif"></td><td align="left" valign="top" bgcolor="#a9a5de" height="100%" rowspan="2" width="7"> </td><td align="left" valign="top" height="100%" width="40"> </td><td align="left" valign="top" height="100%" width="120"> </td></tr><tr height="5"><td align="left" valign="top" height="25" width="40"> </td><td align="left" valign="bottom" height="25" width="430"><br><br><img height="3" width="430" border="0" src="images/line_light.gif"><br><p></p><span class="bodyGrey"><small><notice> | |
OpenEJB is a trademark of the OpenEJB Group. | |
Java, EJB, JDBC, JNDI, JTA, Sun, Sun Microsystems are trademarks or registered | |
trademarks of Sun Microsystems, Inc. in the United States and in other | |
countries. XML, XML Schema, XSLT and related standards are trademarks or registered | |
trademarks of MIT, INRIA, Keio or others, and a product of the World Wide Web | |
Consortium. All other product names mentioned herein are trademarks of their respective | |
owners. | |
</notice><br> <br></small></span><p></p> | |
| |
</td><td align="left" valign="top" height="25" width="120"> </td></tr></table></body></html> |