CINXE.COM

Apache Commons – Source Repositories

<!DOCTYPE html> <!-- | Generated by Apache Maven Doxia at 19 November 2024 | Rendered using Apache Maven Fluido Skin 1.3.0 --> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta name="author" content="The Apache Commons Documentation Team" /> <meta name="Date-Revision-yyyymmdd" content="20241119" /> <meta http-equiv="Content-Language" content="en" /> <title>Apache Commons &#x2013; Source Repositories</title> <link rel="stylesheet" href="./css/bootstrap.min.css" type="text/css" /> <link rel="stylesheet" href="./css/site.css" type="text/css" /> <link rel="stylesheet" href="./css/print.css" media="print" /> <script type="text/javascript" src="./js/jquery.min.js"></script> <script type="text/javascript" src="./js/bootstrap.min.js"></script> <script type="text/javascript" src="./js/prettify.min.js"></script> <script type="text/javascript" src="./js/site.js"></script> </head> <body class="composite"> <a href="./" id="bannerLeft" title="Apache Commons logo"> <img class="logo-left" src="images/commons-logo.png" alt="Apache Commons logo"/> </a> <div class="clear"></div> <div class="navbar"> <div class="navbar-inner"> <div class="container-fluid"> <a class="brand" href="https://commons.apache.org/">Apache Commons &trade;</a> <ul class="nav"> <li id="publishDate">Last Published: 19 November 2024</li> <li class="divider">|</li> <li id="projectVersion">Version: unspecified</li> </ul> <div class="pull-right"> <ul class="nav"> <li> <a href="components.html" title="Components"> Components</a> </li> <li> <a href="sandbox.html" title="Sandbox"> Sandbox</a> </li> <li> <a href="dormant.html" title="Dormant"> Dormant</a> </li> <li> <a href="https://www.apachecon.com/" class="externalLink" title="ApacheCon"> ApacheCon</a> </li> <li> <a href="https://www.apache.org" class="externalLink" title="Apache"> Apache</a> </li> </ul> </div> </div> </div> </div> <div class="container-fluid"> <table class="layout-table"> <tr> <td class="sidebar"> <div class="well sidebar-nav"> <ul class="nav nav-list"> <li class="nav-header">Commons</li> <li class="none"> <a href="index.html" title="Home"> Home</a> </li> <li class="none"> <a href="https://www.apache.org/licenses/" class="externalLink" title="License"> License</a> </li> <li class="none"> <a href="mail-lists.html" title="Mailing Lists"> Mailing Lists</a> </li> <li class="none"> <a href="team.html" title="PMC"> PMC</a> </li> <li class="collapsed"> <a href="components.html" title="Components"> Components</a> </li> <li class="collapsed"> <a href="sandbox.html" title="Sandbox"> Sandbox</a> </li> <li class="collapsed"> <a href="dormant.html" title="Dormant"> Dormant</a> </li> </ul> <ul class="nav nav-list"> <li class="nav-header">Releases</li> <li class="none"> <a href="downloads/index.html" title="Releases"> Releases</a> </li> </ul> <ul class="nav nav-list"> <li class="nav-header">Source Repositories</li> <li class="none active"> <a href="scminfo.html" title="General Information"> General Information</a> </li> <li class="none"> <a href="https://svn.apache.org/viewvc/commons/sandbox/" class="externalLink" title="Sandbox"> Sandbox</a> </li> <li class="none"> <a href="https://svn.apache.org/viewvc/commons/dormant/" class="externalLink" title="Dormant"> Dormant</a> </li> </ul> <ul class="nav nav-list"> <li class="nav-header">General Information</li> <li class="none"> <a href="security.html" title="Security"> Security</a> </li> <li class="none"> <a href="volunteering.html" title="Volunteering"> Volunteering</a> </li> <li class="none"> <a href="patches.html" title="Contributing Patches"> Contributing Patches</a> </li> <li class="none"> <a href="building.html" title="Building Components"> Building Components</a> </li> <li class="none"> <a href="commons-parent" title="Commons Parent POM"> Commons Parent POM</a> </li> <li class="none"> <a href="build-plugin/index.html" title="Commons Build Plugin"> Commons Build Plugin</a> </li> <li class="none"> <a href="release-plugin/index.html" title="Commons Release Plugin"> Commons Release Plugin</a> </li> <li class="none"> <a href="site-publish.html" title="Site Publication"> Site Publication</a> </li> <li class="none"> <a href="releases/index.html" title="Releasing Components"> Releasing Components</a> </li> <li class="none"> <a href="https://cwiki.apache.org/confluence/display/COMMONS/FrontPage" class="externalLink" title="Wiki"> Wiki</a> </li> </ul> <ul class="nav nav-list"> <li class="nav-header">ASF</li> <li class="none"> <a href="https://www.apache.org/foundation/how-it-works.html" class="externalLink" title="How the ASF works"> How the ASF works</a> </li> <li class="none"> <a href="https://www.apache.org/foundation/getinvolved.html" class="externalLink" title="Get Involved"> Get Involved</a> </li> <li class="none"> <a href="https://www.apache.org/dev/" class="externalLink" title="Developer Resources"> Developer Resources</a> </li> <li class="none"> <a href="https://www.apache.org/foundation/policies/conduct.html" class="externalLink" title="Code of Conduct"> Code of Conduct</a> </li> <li class="none"> <a href="https://privacy.apache.org/policies/privacy-policy-public.html" class="externalLink" title="Privacy"> Privacy</a> </li> <li class="none"> <a href="https://www.apache.org/foundation/sponsorship.html" class="externalLink" title="Sponsorship"> Sponsorship</a> </li> <li class="none"> <a href="https://www.apache.org/foundation/thanks.html" class="externalLink" title="Thanks"> Thanks</a> </li> </ul> </div> <div id="poweredBy"> <a href="https://www.apache.org/events/current-event.html" title="ApacheCon" class="builtBy"> <img class="builtBy" alt="ApacheCon" src="https://www.apache.org/events/current-event-125x125.png" /> </a> <a href="https://maven.apache.org/" title="Maven" class="builtBy"> <img class="builtBy" alt="Maven" src="https://maven.apache.org/images/logos/maven-feather.png" /> </a> </div> </td> <td class="content"> <section> <h2><a name="About"></a>About</h2> <p> This section talks about two version control systems: Git and Subversion. For the most part, all <i>current</i> Apache Commons Components use Git. Some older inactive components are still in Subversion. </p> </section> <section> <h2><a name="Download_the_Source"></a>Download the Source</h2> <p> Most users of the source code probably don't need to have day to day access to the source code as it changes. For these users we provide easy-to-unpack source code downloads. See the &quot;Releases&quot; link on the Commons page. </p> </section> <section> <h2><a name="Access_the_Version_Control_System_.28quick_info.29"></a>Access the Version Control System (quick info)</h2> <p> Enter the following URL into a web browser to browse the latest source code, or pass that same URL to a git client application to check the code out to your local machine, after replacing {component-name} with the appropriate value, like lang, io, or text. </p> <div> <pre> https://gitbox.apache.org/repos/asf/commons-{component-name}.git </pre></div> <p> Alternatively, enter the following URL into a web browser to browse the latest source code including history and commit information. </p> <div> <pre> https://gitbox.apache.org/repos/asf/commons-{component-name} </pre></div> </section> <section> <h2><a name="Access_the_Version_Control_System_.28details.29"></a>Access the Version Control System (details)</h2> <p> You can get the URL for each component's git repository from that component's site. </p> <p> Some parts of Commons are still in Subversion, namely, the &quot;sandbox&quot;. The URLs for direct access to the sandbox section of the Subversion repository are: </p> <ul> <li> <a class="externalLink" href="http://svn.apache.org/repos/asf/commons"> http://svn.apache.org/repos/asf/commons </a> for non-committers, and </li> <li> <a class="externalLink" href="https://svn.apache.org/repos/asf/commons"> https://svn.apache.org/repos/asf/commons </a> for committers. </li> </ul> <p> The &quot;proper&quot; subdirectory leads to the old code for official commons components, before conversion to git. The &quot;sandbox&quot; subdirectory leads to the code for experimental commons components. </p> <p> Subdirectories &quot;trunks-proper&quot; and &quot;trunks-sandbox&quot; are special directories that should be ignored by most users; they have Subversion &quot;external attributes&quot; associated with them so that when checking out those directories using a subversion client application, the directory created actually contains the &quot;trunk&quot; directory of every commons or sandbox project. This is useful for special purposes such as building the commons website. Most users can ignore these directories and access the trunk of a project via the &quot;proper&quot; or &quot;sandbox&quot; directory. </p> <p> You can directly browse the <i>pre-git conversion</i> version of ASF the code in Subversion by entering one of the above URLs into a standard web browser. Once you have found a directory of interest, you can pass the same URL to a subversion client in order to check out the files locally. </p> <p> As an alternative, you can browse the repository (including access to file history) via one of the links below. Once you have found a file or directory of interest, replace the url prefix &quot;http://svn.apache.org/viewvc&quot; with the appropriate subversion root url (see above). </p> <ul> <li><a class="externalLink" href="http://svn.apache.org/viewvc/commons/sandbox">browse sandbox components via viewer</a></li> <li><a class="externalLink" href="http://svn.apache.org/viewvc/commons/dormant">browse dormant components via viewer</a></li> </ul> <p><b>Important!</b> When checking out a directory in subversion, ensure that you do not check out a directory that has &quot;tags&quot; and &quot;branches&quot; subdirectories, as this will result in getting a complete copy of the code for every branch and tag ever made. If you want the latest code, you generally want the directory <b>{component-name}/trunk</b>, though you should check the project directory structure first via one of the methods listed above, as different projects may use different internal directory structures. For example, some projects which support multiple versions of Java may use <b>{component-name}/branches/{branch-name}</b> as well as {component-name}/trunk. </p> <p> <b>Important!</b> At the current time, selecting by date in subversion within the ASF repository isn't reliable. The reason is that when converting a date to a revision number, subversion assumes that revision N has an earlier date than revision N+M, and that it can therefore perform a binary search on revision numbers to locate one with the required date. However CVS imports of data that retain the original date information from CVS break this assumption. And unfortunately because revisions are repository-wide information, this affects date-based searches even in directories unrelated to the ones that CVS stuff was imported into. So while dates are reported correctly in &quot;svn log&quot; output, only revision numbers should be used with the -r option. See issue #752 in the subversion issue tracker at tigris.org. </p> <p> For more information on connecting to the ASF Subversion repository, see the <a class="externalLink" href="http://www.apache.org/dev/version-control.html">ASF version control page</a>. </p> </section> <section> <h2><a name="About_Git"></a>About Git</h2> <p> Git is a free and open source distributed version control system designed to handle everything from small to very large projects with speed and efficiency. More information about Git can be found at <a class="externalLink" href="https://git-scm.com/">the Git site</a>. </p> </section> <section> <h2><a name="About_Subversion"></a>About Subversion</h2> <p> Subversion is an open-source version control system designed to be &quot;a better CVS&quot;. More information about subversion can be found at <a class="externalLink" href="https://subversion.apache.org/">the Apache Subversion site</a>. </p> </section> </td> </tr> </table> </div> <div class="footer"> <p>Copyright &copy; 2024 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All Rights Reserved.</p> <?xml version="1.0" encoding="UTF-8"?> <div class="center">Apache Commons, Apache, the Apache feather logo, and the Apache Commons project logos are trademarks of The Apache Software Foundation. All other marks mentioned may be trademarks or registered trademarks of their respective owners.</div> </div> </body> </html>

Pages: 1 2 3 4 5 6 7 8 9 10