特殊:Badtitle/NS100:EclipseSubversion:修订间差异
小无编辑摘要 |
小无编辑摘要 |
||
(未显示同一用户的2个中间版本) | |||
第4行: | 第4行: | ||
Subclipse is an Eclipse plugin that provides project integration with Subversion repositories. Using Subclipse you can checkout, browse, and share code from any Subversion repository. | Subclipse is an Eclipse plugin that provides project integration with Subversion repositories. Using Subclipse you can checkout, browse, and share code from any Subversion repository. | ||
See : SubVersion | See : SubVersion | ||
See : | See : [http://subclipse.tigris.org Official Subclipse Home Page] | ||
See : [[EclipseIDE]] | See : [[UbuntuHelp:EclipseIDE|EclipseIDE]] | ||
The | The [http://wiki.ubuntu.org.cn/EclipseSubversion Chinese translation] of thie article. | ||
== Subversion support == | == Subversion support == | ||
First of all, install the <code><nowiki>subversion</nowiki></code> package (see [[UbuntuHelp:InstallingSoftware|InstallingSoftware]]) | First of all, install the <code><nowiki>subversion</nowiki></code> package (see [[UbuntuHelp:InstallingSoftware|InstallingSoftware]]) | ||
== Installing Subclipse == | == Installing Subclipse == | ||
The svn/javahl version in jaunty is 1.5 so you need to install subclipse 1.4, for more info see http://subclipse.tigris.org/wiki/JavaHL | |||
To install Subclipse: | To install Subclipse: | ||
* Open Eclipse, go into the menus : Help -> Software Updates -> Find and Install... | * Open Eclipse, go into the menus : Help -> Software Updates -> Find and Install... |
2009年11月17日 (二) 18:58的最新版本
文章出处: |
{{#if: | {{{2}}} | https://help.ubuntu.com/community/EclipseSubversion }} |
点击翻译: |
English {{#ifexist: {{#if: UbuntuHelp:EclipseSubversion | UbuntuHelp:EclipseSubversion | {{#if: | :}}EclipseSubversion}}/af | • {{#if: UbuntuHelp:EclipseSubversion|Afrikaans| [[::EclipseSubversion/af|Afrikaans]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EclipseSubversion | UbuntuHelp:EclipseSubversion | {{#if: | :}}EclipseSubversion}}/ar | • {{#if: UbuntuHelp:EclipseSubversion|العربية| [[::EclipseSubversion/ar|العربية]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EclipseSubversion | UbuntuHelp:EclipseSubversion | {{#if: | :}}EclipseSubversion}}/az | • {{#if: UbuntuHelp:EclipseSubversion|azərbaycanca| [[::EclipseSubversion/az|azərbaycanca]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EclipseSubversion | UbuntuHelp:EclipseSubversion | {{#if: | :}}EclipseSubversion}}/bcc | • {{#if: UbuntuHelp:EclipseSubversion|جهلسری بلوچی| [[::EclipseSubversion/bcc|جهلسری بلوچی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EclipseSubversion | UbuntuHelp:EclipseSubversion | {{#if: | :}}EclipseSubversion}}/bg | • {{#if: UbuntuHelp:EclipseSubversion|български| [[::EclipseSubversion/bg|български]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EclipseSubversion | UbuntuHelp:EclipseSubversion | {{#if: | :}}EclipseSubversion}}/br | • {{#if: UbuntuHelp:EclipseSubversion|brezhoneg| [[::EclipseSubversion/br|brezhoneg]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EclipseSubversion | UbuntuHelp:EclipseSubversion | {{#if: | :}}EclipseSubversion}}/ca | • {{#if: UbuntuHelp:EclipseSubversion|català| [[::EclipseSubversion/ca|català]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EclipseSubversion | UbuntuHelp:EclipseSubversion | {{#if: | :}}EclipseSubversion}}/cs | • {{#if: UbuntuHelp:EclipseSubversion|čeština| [[::EclipseSubversion/cs|čeština]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EclipseSubversion | UbuntuHelp:EclipseSubversion | {{#if: | :}}EclipseSubversion}}/de | • {{#if: UbuntuHelp:EclipseSubversion|Deutsch| [[::EclipseSubversion/de|Deutsch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EclipseSubversion | UbuntuHelp:EclipseSubversion | {{#if: | :}}EclipseSubversion}}/el | • {{#if: UbuntuHelp:EclipseSubversion|Ελληνικά| [[::EclipseSubversion/el|Ελληνικά]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EclipseSubversion | UbuntuHelp:EclipseSubversion | {{#if: | :}}EclipseSubversion}}/es | • {{#if: UbuntuHelp:EclipseSubversion|español| [[::EclipseSubversion/es|español]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EclipseSubversion | UbuntuHelp:EclipseSubversion | {{#if: | :}}EclipseSubversion}}/fa | • {{#if: UbuntuHelp:EclipseSubversion|فارسی| [[::EclipseSubversion/fa|فارسی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EclipseSubversion | UbuntuHelp:EclipseSubversion | {{#if: | :}}EclipseSubversion}}/fi | • {{#if: UbuntuHelp:EclipseSubversion|suomi| [[::EclipseSubversion/fi|suomi]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EclipseSubversion | UbuntuHelp:EclipseSubversion | {{#if: | :}}EclipseSubversion}}/fr | • {{#if: UbuntuHelp:EclipseSubversion|français| [[::EclipseSubversion/fr|français]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EclipseSubversion | UbuntuHelp:EclipseSubversion | {{#if: | :}}EclipseSubversion}}/gu | • {{#if: UbuntuHelp:EclipseSubversion|ગુજરાતી| [[::EclipseSubversion/gu|ગુજરાતી]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EclipseSubversion | UbuntuHelp:EclipseSubversion | {{#if: | :}}EclipseSubversion}}/he | • {{#if: UbuntuHelp:EclipseSubversion|עברית| [[::EclipseSubversion/he|עברית]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EclipseSubversion | UbuntuHelp:EclipseSubversion | {{#if: | :}}EclipseSubversion}}/hu | • {{#if: UbuntuHelp:EclipseSubversion|magyar| [[::EclipseSubversion/hu|magyar]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EclipseSubversion | UbuntuHelp:EclipseSubversion | {{#if: | :}}EclipseSubversion}}/id | • {{#if: UbuntuHelp:EclipseSubversion|Bahasa Indonesia| [[::EclipseSubversion/id|Bahasa Indonesia]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EclipseSubversion | UbuntuHelp:EclipseSubversion | {{#if: | :}}EclipseSubversion}}/it | • {{#if: UbuntuHelp:EclipseSubversion|italiano| [[::EclipseSubversion/it|italiano]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EclipseSubversion | UbuntuHelp:EclipseSubversion | {{#if: | :}}EclipseSubversion}}/ja | • {{#if: UbuntuHelp:EclipseSubversion|日本語| [[::EclipseSubversion/ja|日本語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EclipseSubversion | UbuntuHelp:EclipseSubversion | {{#if: | :}}EclipseSubversion}}/ko | • {{#if: UbuntuHelp:EclipseSubversion|한국어| [[::EclipseSubversion/ko|한국어]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EclipseSubversion | UbuntuHelp:EclipseSubversion | {{#if: | :}}EclipseSubversion}}/ksh | • {{#if: UbuntuHelp:EclipseSubversion|Ripoarisch| [[::EclipseSubversion/ksh|Ripoarisch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EclipseSubversion | UbuntuHelp:EclipseSubversion | {{#if: | :}}EclipseSubversion}}/mr | • {{#if: UbuntuHelp:EclipseSubversion|मराठी| [[::EclipseSubversion/mr|मराठी]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EclipseSubversion | UbuntuHelp:EclipseSubversion | {{#if: | :}}EclipseSubversion}}/ms | • {{#if: UbuntuHelp:EclipseSubversion|Bahasa Melayu| [[::EclipseSubversion/ms|Bahasa Melayu]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EclipseSubversion | UbuntuHelp:EclipseSubversion | {{#if: | :}}EclipseSubversion}}/nl | • {{#if: UbuntuHelp:EclipseSubversion|Nederlands| [[::EclipseSubversion/nl|Nederlands]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EclipseSubversion | UbuntuHelp:EclipseSubversion | {{#if: | :}}EclipseSubversion}}/no | • {{#if: UbuntuHelp:EclipseSubversion|norsk| [[::EclipseSubversion/no|norsk]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EclipseSubversion | UbuntuHelp:EclipseSubversion | {{#if: | :}}EclipseSubversion}}/oc | • {{#if: UbuntuHelp:EclipseSubversion|occitan| [[::EclipseSubversion/oc|occitan]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EclipseSubversion | UbuntuHelp:EclipseSubversion | {{#if: | :}}EclipseSubversion}}/pl | • {{#if: UbuntuHelp:EclipseSubversion|polski| [[::EclipseSubversion/pl|polski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EclipseSubversion | UbuntuHelp:EclipseSubversion | {{#if: | :}}EclipseSubversion}}/pt | • {{#if: UbuntuHelp:EclipseSubversion|português| [[::EclipseSubversion/pt|português]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EclipseSubversion | UbuntuHelp:EclipseSubversion | {{#if: | :}}EclipseSubversion}}/ro | • {{#if: UbuntuHelp:EclipseSubversion|română| [[::EclipseSubversion/ro|română]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EclipseSubversion | UbuntuHelp:EclipseSubversion | {{#if: | :}}EclipseSubversion}}/ru | • {{#if: UbuntuHelp:EclipseSubversion|русский| [[::EclipseSubversion/ru|русский]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EclipseSubversion | UbuntuHelp:EclipseSubversion | {{#if: | :}}EclipseSubversion}}/si | • {{#if: UbuntuHelp:EclipseSubversion|සිංහල| [[::EclipseSubversion/si|සිංහල]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EclipseSubversion | UbuntuHelp:EclipseSubversion | {{#if: | :}}EclipseSubversion}}/sq | • {{#if: UbuntuHelp:EclipseSubversion|shqip| [[::EclipseSubversion/sq|shqip]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EclipseSubversion | UbuntuHelp:EclipseSubversion | {{#if: | :}}EclipseSubversion}}/sr | • {{#if: UbuntuHelp:EclipseSubversion|српски / srpski| [[::EclipseSubversion/sr|српски / srpski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EclipseSubversion | UbuntuHelp:EclipseSubversion | {{#if: | :}}EclipseSubversion}}/sv | • {{#if: UbuntuHelp:EclipseSubversion|svenska| [[::EclipseSubversion/sv|svenska]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EclipseSubversion | UbuntuHelp:EclipseSubversion | {{#if: | :}}EclipseSubversion}}/th | • {{#if: UbuntuHelp:EclipseSubversion|ไทย| [[::EclipseSubversion/th|ไทย]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EclipseSubversion | UbuntuHelp:EclipseSubversion | {{#if: | :}}EclipseSubversion}}/tr | • {{#if: UbuntuHelp:EclipseSubversion|Türkçe| [[::EclipseSubversion/tr|Türkçe]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EclipseSubversion | UbuntuHelp:EclipseSubversion | {{#if: | :}}EclipseSubversion}}/vi | • {{#if: UbuntuHelp:EclipseSubversion|Tiếng Việt| [[::EclipseSubversion/vi|Tiếng Việt]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EclipseSubversion | UbuntuHelp:EclipseSubversion | {{#if: | :}}EclipseSubversion}}/yue | • {{#if: UbuntuHelp:EclipseSubversion|粵語| [[::EclipseSubversion/yue|粵語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EclipseSubversion | UbuntuHelp:EclipseSubversion | {{#if: | :}}EclipseSubversion}}/zh | • {{#if: UbuntuHelp:EclipseSubversion|中文| [[::EclipseSubversion/zh|中文]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EclipseSubversion | UbuntuHelp:EclipseSubversion | {{#if: | :}}EclipseSubversion}}/zh-hans | • {{#if: UbuntuHelp:EclipseSubversion|中文(简体)| [[::EclipseSubversion/zh-hans|中文(简体)]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EclipseSubversion | UbuntuHelp:EclipseSubversion | {{#if: | :}}EclipseSubversion}}/zh-hant | • {{#if: UbuntuHelp:EclipseSubversion|中文(繁體)| [[::EclipseSubversion/zh-hant|中文(繁體)]]}}|}} |
{{#ifeq:UbuntuHelp:EclipseSubversion|:EclipseSubversion|请不要直接编辑翻译本页,本页将定期与来源同步。}} |
{{#ifexist: :EclipseSubversion/zh | | {{#ifexist: EclipseSubversion/zh | | {{#ifeq: {{#titleparts:EclipseSubversion|1|-1|}} | zh | | }} }} }} {{#ifeq: {{#titleparts:EclipseSubversion|1|-1|}} | zh | | }}
Introduction
Subclipse is an Eclipse plugin that provides project integration with Subversion repositories. Using Subclipse you can checkout, browse, and share code from any Subversion repository. See : SubVersion See : Official Subclipse Home Page See : EclipseIDE The Chinese translation of thie article.
Subversion support
First of all, install the subversion
package (see InstallingSoftware)
Installing Subclipse
The svn/javahl version in jaunty is 1.5 so you need to install subclipse 1.4, for more info see http://subclipse.tigris.org/wiki/JavaHL To install Subclipse:
- Open Eclipse, go into the menus : Help -> Software Updates -> Find and Install...
- Search for new features to install
- Add a new Remote Site with URL:
http://subclipse.tigris.org/update
- Next, next, next selecting subclipse and accepting the license. Then click the "install all" button when ready.
- Note: You do not need to select the other "integration" packages unless you have Mylyn or Mylar and plan on integrating with them. In fact, the integration packages can break things unless you have the packages they're intended to integrate with.
- Restart Eclipse
Configuring a Subversion Repository
To configure Subclipse to connect to a repository open the SVN Repository Exploring perspective:
- Click on Window -> Open Perspective -> Other
- Highlight SVN Repository Exploring -> click Ok
You should now have the SVN Repository view open in the right hand column. Now we can add our Subversion repository url:
- Right click in the SVN Repository column -> New -> Repository Location
- Enter the url of your repository -> click Ok
Using Subclipse
Once you've configured your repository you can check out code into a new Eclipse project. You can also create new project from Subversion repositories by:
- Clicking on File -> New -> Project
- Expand the SVN folder -> Checkout Projects from SVN
You can upload your code into a Subversion repository by:
- Right click the project -> Team -> Share Project
- Highlight SVN -> Next
- Select a Repository you've already configured and click Next, or choose create a new repository location and click Next.
- Choose the folder you want to upload to and click Finish.
Once you've shared your project or checked one out you can access most common svn functions by right clicking the project and selecting an item from the Team menu. Note: Old content about javahl to this page: SubversionAndJavahl. I believe the content is rather old, so if you use javahl please feel free to update the page. Note: this guide has been tested on Ubuntu 7.06 (Feisty Fawn) and Ubuntu 7.10 (Gutsy Gibbon)