eclipe + GoogleCode 管理代码
来源:互联网 发布:三星oculus 软件下载 编辑:程序博客网 时间:2024/04/30 18:27
gCode 用着有多好,相比大家都是知道的(不知道的去到度娘家里找谷哥去问个明白!),现在想要把代码永久的保存,以后可以看着自己年轻时候的代码,也是一种怀念哈!!!
如何获得一个GoogleCode帐号?好吧,这个你可以问度娘的!
我是从这个文章学的,怎么把Google的项目签到本地的。
注意:有些Google的目录是在GFW面前是访问不了的。我只是偶然能够访问,侥幸!
下面的这篇文章说的很详细,我就不再赘述了,
原文地址:http://blog.msbbc.co.uk/2007/06/using-googles-free-svn-repository-with.html
Using google's free SVN repository with Eclipse
Ok - here are some very quick notes on getting a google svn hosting account set up with eclipse; as google is offering us all such an amazing resource, I have a feeling I'll be doing this again some time whilst working on other projects...
If you already have a gmail account, make sure you're logged in (that way, your repository and your account will be linked).
Start here:
http://code.google.com/hosting/
Go to the 'Create a new Project' link and create your project...
Install eclipse if you haven't already (current recent version is 3.5):
http://www.eclipse.org/downloads/
Now you need to install the subclipse plugin from within eclipse..
Here are some step-by-step instructions:
http://subclipse.tigris.org/install.html
Once that's done you should be able to open your repository as a new project within eclipse.
Within the package explorer (the panel on the left if you're in the java developer perspective), right click to get the context menu and go to 'New' and 'Other...'
expand the SVN folder and select 'Checkout Projects from SVN' and select Next
Select the Create a new repository location and select Next
The URL will be:
https://[YOUR_PROJECT_NAME].googlecode.com/svn
If you don't use https:// you'll check out the repository as read only
Select (highlight) the folder to check out as an eclipse project (e.g. trunk) and select Next.
Select the check out as a project configured using the New Project Wizard and select 'Finish'
For this exercise, I'm checking mine out as a java project, so I'm selecting Java Project and Next on the wizard box.
Give the Project a name (e.g. myProject), select Finish and OK
Let it check out your project...
You should see something like myProject [trunk] in the package explorer.
You can now right click on the folder and go to New > Folder and create a new folder
When you're ready, right click on the folder you've created, go to the Team context menu and select 'Add to Version Control'; you'll probably need to do this for any new files you subsequently add...
From then, commit will add new changes and update will refresh a stale repository.
One other note: to check out the project, I used my gmail username. The svn password isn't the same as your gmail password though.
I found the password for the code repository (when logged in) here - so hopefully this will help:
http://code.google.com/hosting/settings
NB: I've seen situations where subclipse (or subversion) would keep asking for a password; I managed to stop it from doing this by going into the Eclipse > Window > Preferences, expanding the Team folder, selecting SVN and ensuring that the SVN interface was selection was set to SVNKit (Pure Java).
If you already have a gmail account, make sure you're logged in (that way, your repository and your account will be linked).
Start here:
http://code.google.com/hosting/
Go to the 'Create a new Project' link and create your project...
Install eclipse if you haven't already (current recent version is 3.5):
http://www.eclipse.org/downloads/
Now you need to install the subclipse plugin from within eclipse..
Here are some step-by-step instructions:
http://subclipse.tigris.org/install.html
Once that's done you should be able to open your repository as a new project within eclipse.
Within the package explorer (the panel on the left if you're in the java developer perspective), right click to get the context menu and go to 'New' and 'Other...'
expand the SVN folder and select 'Checkout Projects from SVN' and select Next
Select the Create a new repository location and select Next
The URL will be:
https://[YOUR_PROJECT_NAME].googlecode.com/svn
If you don't use https:// you'll check out the repository as read only
Select (highlight) the folder to check out as an eclipse project (e.g. trunk) and select Next.
Select the check out as a project configured using the New Project Wizard and select 'Finish'
For this exercise, I'm checking mine out as a java project, so I'm selecting Java Project and Next on the wizard box.
Give the Project a name (e.g. myProject), select Finish and OK
Let it check out your project...
You should see something like myProject [trunk] in the package explorer.
You can now right click on the folder and go to New > Folder and create a new folder
When you're ready, right click on the folder you've created, go to the Team context menu and select 'Add to Version Control'; you'll probably need to do this for any new files you subsequently add...
From then, commit will add new changes and update will refresh a stale repository.
One other note: to check out the project, I used my gmail username. The svn password isn't the same as your gmail password though.
I found the password for the code repository (when logged in) here - so hopefully this will help:
http://code.google.com/hosting/settings
NB: I've seen situations where subclipse (or subversion) would keep asking for a password; I managed to stop it from doing this by going into the Eclipse > Window > Preferences, expanding the Team folder, selecting SVN and ensuring that the SVN interface was selection was set to SVNKit (Pure Java).
- eclipe + GoogleCode 管理代码
- 使用Git+GoogleCode管理代码
- 使用GoogleCode管理你的代码
- 使用GoogleCode管理你的代码
- 使用GoogleCode管理你的代码 .
- Eclipe开发环境下的代码管理SVN
- 使用Git 上传 文件到GoogleCode(其它代码管理平台也类似)
- 代码已上传至googlecode
- 如何在ubunut下管理googlecode?
- 如何在ubunut下管理googlecode?
- 使用googlecode进行项目管理(Linux)
- 如何在ubunut下管理googlecode?
- git工具用法 && git管理googlecode
- 【debug】googlecode 使用代理svn下载代码
- 在WIN7下使用TortoiseSVN管理GoogleCode源代码的方法
- 用MyEclipse和googlecode的svn控制自己的代码
- 将现有的SVN代码库转移到googleCode
- eclipe 快捷键
- 如何查看Class文件编译的JDK版本
- ListView的异步加载图片
- MFC如何使用自己画的光标
- 使用Latex编辑你的论文 傻瓜版
- C/C++ 读文件方式类比
- eclipe + GoogleCode 管理代码
- Windows 7下:应用程序无法正常启动(0xc0150002)
- Xmanager3连接RedHat5
- 【第六章】 AOP 之 6.1 AOP基础 ——跟我学spring3
- 【第六章】 AOP 之 6.2 AOP的HelloWorld ——跟我学spring3
- Cocos2d中CCSpriteBatchNode与纹理贴图集(Texture Atlas)的作用
- 遍历Map集合的三种方法
- Struts2中的struts.multipart.saveDir的配置
- Android Log分析