cvs-usage.html 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  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.</p>
  53. </p><h2>Nightly Snapshots</h2>
  54. <p>If you'd prefer not to use CVS directly (eg you're stuck behind a corporate firewall), please see our <a href="downloads.html">downloads page</a> for nightly snapshots.</p>
  55. <h2>Developer Access with Maven</h2>
  56. <p> Only project developers can access the CVS tree via this method. Substitute <b>username</b> with the proper value. </p>
  57. <pre>maven scm:checkout-project
  58. -Dmaven.scm.method=cvs
  59. -Dmaven.scm.cvs.module=modulename
  60. -Dmaven.scm.cvs.root=:ext:username@cvs.sourceforge.net:/cvsroot/acegisecurity
  61. -Dmaven.scm.checkout.dir=acegisecurity
  62. -Dmaven.scm.cvs.rsh=ssh</pre>
  63. <p> Remember to replace 'username' with your actual username on cvs.sourceforge.net.<br />
  64. Also change <code>ssh</code> in <code>maven.scm.cvs.rsh=ssh</code> to the name of your ssh executable. </p>
  65. <h2>Developer CVS Access via SSH</h2>
  66. <p>
  67. Only project developers can access the CVS tree via this method.
  68. SSH must be installed on your client machine. Substitute
  69. <b>username</b> with the proper value. Enter your site password when prompted.
  70. </p>
  71. <p>
  72. export CVS_RSH=ssh
  73. <br>
  74. cvs -z3 -d :ext:username@cvs.sourceforge.net:/cvsroot/acegisecurity co <em>modulename</em> </p>
  75. <p>
  76. Remember to replace 'username' with your actual username on cvs.sourceforge.net.
  77. </p><h2>CVS Access behind a firewall</h2>
  78. <p>
  79. For those developers who are stuck behind a corporate
  80. firewall, <a href="http://cvsgrab.sourceforge.net/">CVSGrab</a>
  81. can use the viewcvs web interface to checkout the source code.
  82. </p>
  83. </html>