| 4 | |
| 5 | ==== About Subversion ==== |
| 6 | From [http://http://en.wikipedia.org/wiki/Subversion_(software) Wikipedia]: |
| 7 | |
| 8 | '''Subversion''' ('''SVN''') is a [http://en.wikipedia.org/wiki/Revision_control version control] system initiated in 2000 by [http://en.wikipedia.org/wiki/CollabNet CollabNet] Inc. It is used to maintain current and historical versions of files such as [http://en.wikipedia.org/wiki/Source_code source code], web pages, and documentation. Its goal is to be a mostly-compatible successor to the widely used [http://en.wikipedia.org/wiki/Concurrent_Versions_System Concurrent Versions System] (CVS). |
| 9 | |
| 10 | Subversion is well-known in the open source community and is used on many open source projects, including [http://en.wikipedia.org/wiki/Apache_Software_Foundation Apache Software Foundation], [http://en.wikipedia.org/wiki/KDE KDE], [http://en.wikipedia.org/wiki/GNOME GNOME], [http://en.wikipedia.org/wiki/Free_Pascal Free Pascal], [http://en.wikipedia.org/wiki/FreeBSD FreeBSD], [http://en.wikipedia.org/wiki/GNU_Compiler_Collection GCC], [http://en.wikipedia.org/wiki/Python_(programming_language) Python], [http://en.wikipedia.org/wiki/Django_(web_framework) Django],[http://en.wikipedia.org/wiki/Ruby_(programming_language) Ruby], [http://en.wikipedia.org/wiki/Mono_(software) Mono], [http://en.wikipedia.org/wiki/SourceForge.net SourceForge.net], [http://en.wikipedia.org/wiki/ExtJS ExtJS] and [http://en.wikipedia.org/wiki/Tigris.org Tigris.org]. [http://en.wikipedia.org/wiki/Google_Code Google Code] also provides Subversion hosting for their open source projects. [http://en.wikipedia.org/wiki/BountySource BountySource] systems use it exclusively. [http://en.wikipedia.org/wiki/Codeplex Codeplex] offers access to both subversion as well as other types of clients. |
| 11 | |
| 12 | Subversion is also being adopted in the corporate world. In a 2007 report by [http://en.wikipedia.org/wiki/Forrester_Research Forrester Research], Subversion was recognized as the sole leader in the Standalone Software Configuration Management (SCM) category and a strong performer in the Software Configuration and Change Management (SCCM) category.^[http://en.wikipedia.org/wiki/Subversion_(software)#cite_note-0 "[1]"]^ |
| 13 | |
| 14 | Subversion is released under the [http://en.wikipedia.org/wiki/Apache_License Apache License], making it [http://en.wikipedia.org/wiki/Free_software free software]. |
| 15 | |
| 16 | ==== Subclipse for SourceryG++ ==== |
| 17 | Subclipse is an Eclipse Team Provider plug-in providing support for Subversion within the Eclipse IDE. The software is released under the Eclipse Public License (EPL) 1.0 open source license. Using Subclipse we can fully integrate a subversion client in SourceryG++. |
| 18 | |
| 19 | ===== Installing Subclipse ===== |
| 20 | 1. Start SourceryG++ and choose '''Help -> Software Updates -> Find and Install'''. |
| 21 | |
| 22 | [[Image(screenshot.1.jpeg)]] |
| 23 | |
| 24 | 2. Choose Search for new features to install and press '''Next >'''. |
| 25 | |
| 26 | [[Image(screenshot.3.jpeg)]] |
| 27 | |
| 28 | 3. Click '''New Remote Site...''', enter the data in the screenshot, and press '''OK'''. |
| 29 | |
| 30 | [[Image(screenshot.2.jpeg)]] |
| 31 | |
| 32 | 4. Press '''Finish'''. |
| 33 | |
| 34 | [[Image(screenshot.4.jpeg)]] |
| 35 | |
| 36 | 5. Eclipse will search for updates. |
| 37 | |
| 38 | [[Image(screenshot.5.jpeg)]] |
| 39 | |
| 40 | 6. Choose the selections shown in the screenshot and press '''Next >'''. |
| 41 | |
| 42 | [[Image(screenshot.7.jpeg)]] |
| 43 | |
| 44 | 7. Click '''I accept the terms in the license agreement''' and press '''Next >'''. |
| 45 | |
| 46 | [[Image(screenshot.6.jpeg)]] |
| 47 | |
| 48 | 8. Press '''Finish'''. |
| 49 | |
| 50 | [[Image(screenshot.8.jpeg)]] |
| 51 | |
| 52 | 9. Eclipse will download and install Subclipse. |
| 53 | |
| 54 | [[Image(screenshot.9.jpeg)]] |
| 55 | |
| 56 | 10. Choose '''Install All''' when the dialog appears. |
| 57 | |
| 58 | [[Image(screenshot.10.jpeg)]] |
| 59 | |
| 60 | 11. Choose '''Yes''' when the dialog appears. |
| 61 | |
| 62 | [[Image(screenshot.11.jpeg)]] |
| 63 | |
| 64 | 12. Eclipse will restart and Subclipse is now installed. |
| 65 | |
| 66 | ===== Importing Projects Using Subclipse ===== |
| 67 | 1. Right-click in the Project Explorer and choose '''New -> Other''' |
| 68 | |
| 69 | [[Image(co_screenshot.1.jpeg)]] |
| 70 | |
| 71 | 2. Choose '''Checkout Projects from SVN''' under the '''SVN''' folder and press '''Next >'''. |
| 72 | |
| 73 | [[Image(co_screenshot.2.jpeg)]] |
| 74 | |
| 75 | 3. Choose '''Create a new repository location''' and press '''Next >'''. |
| 76 | |
| 77 | [[Image(co_screenshot.3.jpeg)]] |
| 78 | |
| 79 | 4. Enter the SVN url in the '''Url:''' box. The screenshot shows a checkout of the lib825 project. |
| 80 | |
| 81 | [[Image(co_screenshot.4.jpeg)]] |
| 82 | |
| 83 | 5. Choose the '''trunk''' folder which is the folder that contains the latest source and press '''Finish'''. Alternatively, you could choose a sub-folder of '''tags''' which has previous release versions. |
| 84 | |
| 85 | [[Image(co_screenshot.5.jpeg)]] |
| 86 | |
| 87 | 6. The project will be checked out and imported into Eclipse. |
| 88 | |
| 89 | [[Image(co_screenshot.6.jpeg)]] |
| 90 | |
| 91 | [[Image(co_screenshot.7.jpeg)]] |
| 92 | |
| 93 | [[Image(co_screenshot.8.jpeg)]] |