通过SVN的Andr​​oid + Eclipse项目共享? [英] Android+Eclipse project sharing via SVN?

查看:130
本文介绍了通过SVN的Andr​​oid + Eclipse项目共享?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我很新的Eclipse(伽利略的Eclipse IDE for Java Developers的)和工作在我的第一个Android应用程序,但使用SVN许多其他类型的项目和发展。昨天晚上,我把我的第一个裂缝推新源到一个共享库(工作),然后在家里拉了回去。

I am very new to Eclipse (Galileo, Eclipse IDE for Java Developers) and working on my first Android app, but have used SVN on many other kinds of projects and development. Last night I took my first crack at pushing the new source into a shared repository (at work) and then pulling it back down at home.

根据的SO问题/答案,我已经忽略了文件夹,倒是一切。当我回到家,我希望这将是为指向日食新下载的源代码树一样简单。

Based on an SO question/answer, I had ignored the bin and gen folders, but added everything else. When I got home, I had hoped it would be as easy as pointing eclipse to the newly downloaded source tree.

我尝试设置工作区(请在日食开始)到precise文件夹中保存所有源代码。没有露面。这是因为如果我已经开始新的不顾一切的源文件坐在工作区文件夹。

I tried setting the workspace (requested when eclipse started) to the precise folder holding all source. Nothing showed up. It was as if I were starting fresh regardless of all the source and files sitting in the workspace folder.

然后我想,也许我需要打开一个项目文件,把事情滚动。打开的.project 文件产生在Eclipse的XML编辑器文件的内容。

Then I thought maybe I needed to open a "project" file to get things rolling. Opening the .project file yielded the contents of that file in the XML editor of eclipse.

我在想什么吗?在项目的元数据不存储在源代码树中?我一定要建立项目的元数据了每一台机器,获取源的工作副本吗?这是不是错了我家的Eclipse安装?有人可以给我的概述如何(成功)这样做呢?

What am I missing here? Is the project metadata not stored in the source tree? Do I have to build project metadata up on every machine that gets a working copy of the source? Is this something wrong with my home Eclipse install? Can someone give me an overview of how they (successfully) do this?

推荐答案

您应该能够做到像你尝试。请确保您有伴随着Android SDK安装的Andr​​oid开发工具(Android的Eclipse插件),并确保你设置ADT打开项目之前。

You should be able to do it like you tried. Make sure you have the Android Development Tools (android eclipse plugin) installed along with the android SDK and make sure you set up ADT before you open the project.

不检查的bin目录对我来说很有意义,但我做检查的根文件夹中,没有任何问题。

Not checking in the bin directory makes sense to me, but I do check in the gen folder and don't have any problems.

下面是我做的,打开从SVN项目如果源已经是在机器上:

Here is what I do to open a project from SVN if the source is already on the machine:

  1. 开启蚀
  2. 单击在文件 - >导入
  3. 选择常规 - >现有项目到工作区

或者,你也可以这样做:

Or you can also do this:

  1. 打开Eclipse
  2. 文件 - >导入
  3. 选择SVN - >从SVN结帐项目
  4. 按照步骤从SVN获得

这篇关于通过SVN的Andr​​oid + Eclipse项目共享?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆