cvs-usage.html 3.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. <!--
  2. * ========================================================================
  3. *
  4. * Copyright 2004 Acegi Technology Pty Limited
  5. *
  6. * Licensed under the Apache License, Version 2.0 (the "License");
  7. * you may not use this file except in compliance with the License.
  8. * You may obtain a copy of the License at
  9. *
  10. * http://www.apache.org/licenses/LICENSE-2.0
  11. *
  12. * Unless required by applicable law or agreed to in writing, software
  13. * distributed under the License is distributed on an "AS IS" BASIS,
  14. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  15. * See the License for the specific language governing permissions and
  16. * limitations under the License.
  17. *
  18. * ========================================================================
  19. -->
  20. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  21. <html xmlns="http://www.w3.org/1999/xhtml">
  22. <head>
  23. <title>CVS usage</title>
  24. <h1>CVS instructions for all modules</h1>
  25. <p>This instructions are general, check the module documentation if you need concrete instructions. </p>
  26. <p><em>modulename</em> can be for example:</p>
  27. <ul>
  28. <li>acegisecurity <em>(this will check out all modules) </em></li>
  29. <li>acegisecurity/core/</li>
  30. <li>acegisecurity/adapters/cas</li>
  31. </ul>
  32. <h2>Web Access</h2>
  33. <p>
  34. <a href="http://cvs.sourceforge.net/viewcvs.py/acegisecurity">http://cvs.sourceforge.net/viewcvs.py/acegisecurity</a>
  35. </p><h2>Anonymous Access with Maven</h2>
  36. <p> This project's CVS repository can be checked out through anonymous (pserver) CVS with the following instruction on a single line. </p>
  37. <pre>maven scm:checkout-project
  38. -Dmaven.scm.method=cvs
  39. -Dmaven.scm.cvs.module=modulename
  40. -Dmaven.scm.cvs.root=:pserver:anonymous@cvs.sourceforge.net:/cvsroot/acegisecurity
  41. -Dmaven.scm.checkout.dir=acegisecurity</pre>
  42. <h2>Anonymous CVS Access</h2>
  43. <p>
  44. This project's CVS repository can be checked out through anonymous (pserver)
  45. CVS with the following instruction set.
  46. When prompted for a password for anonymous, simply press the Enter key.
  47. </p><p>
  48. cvs -d :pserver:anonymous@cvs.sourceforge.net:/cvsroot/acegisecurity login
  49. <br>
  50. cvs -z3 -d :pserver:anonymous@cvs.sourceforge.net:/cvsroot/acegisecurity co <em>modulename</em> </p>
  51. <p>
  52. Updates from within the module's directory do not need the -d parameter.
  53. </p><h2>Developer Access with Maven</h2>
  54. <p> Only project developers can access the CVS tree via this method. Substitute <b>username</b> with the proper value. </p>
  55. <pre>maven scm:checkout-project
  56. -Dmaven.scm.method=cvs
  57. -Dmaven.scm.cvs.module=modulename
  58. -Dmaven.scm.cvs.root=:ext:username@cvs.sourceforge.net:/cvsroot/acegisecurity
  59. -Dmaven.scm.checkout.dir=acegisecurity
  60. -Dmaven.scm.cvs.rsh=ssh</pre>
  61. <p> Remember to replace 'username' with your actual username on cvs.sourceforge.net.<br />
  62. Also change <code>ssh</code> in <code>maven.scm.cvs.rsh=ssh</code> to the name of your ssh executable. </p>
  63. <h2>Developer CVS Access via SSH</h2>
  64. <p>
  65. Only project developers can access the CVS tree via this method.
  66. SSH must be installed on your client machine. Substitute
  67. <b>username</b> with the proper value. Enter your site password when prompted.
  68. </p>
  69. <p>
  70. export CVS_RSH=ssh
  71. <br>
  72. cvs -z3 -d :ext:username@cvs.sourceforge.net:/cvsroot/acegisecurity co <em>modulename</em> </p>
  73. <p>
  74. Remember to replace 'username' with your actual username on cvs.sourceforge.net.
  75. </p><h2>CVS Access behind a firewall</h2>
  76. <p>
  77. For those developers who are stuck behind a corporate
  78. firewall, <a href="http://cvsgrab.sourceforge.net/">CVSGrab</a>
  79. can use the viewcvs web interface to checkout the source code.
  80. </p>
  81. </html>