开发者

How to use Subclipse in Eclipse Helios (Android)

开发者 https://www.devze.com 2023-03-22 15:17 出处:网络
I am a Android Developer and I want to establish the Subverson Now I have configure my eclipse with the plugin Subclipse properly and SVN is also properly configured by checking in perspective .Now

I am a Android Developer and I want to establish the Subverson

Now I have configure my eclipse with the plugin Subclipse properly and SVN is also properly configured by checking in perspective .Now I am not getting any idea how to use it ,how to create svn server, the local repository to svn and how can I share a project in LAN so my team can work on same project.I have surf lot on net but I am not getting开发者_如何学Python any proper way ....


Subversion requires that there be a central repository/server on which to store all your data. So, you should decide whether you want to host this in-house, or whether you wish to outsource the repository hosting:

In-house Repository

An SVN server does not require a lot of resources, thus does not require the fastest hardware available, just make sure you have a reasonable amount of disk space available - depending on the types of items you are storing (multimedia files, Jars, images, etc). Without going into the details on installing and configuring the server, just head to Apache to download a suitable binary, and follow their installation instructions. While you can get away with creating just a single user in the server, I would recommend creating one for each team member as this makes it easier to see who last checked-in a file.

Outsourced Repository

There are several organisations that are able to host your project(s), and the choices are determined by whether your project is open or closed source.

Open source projects have several FREE options, such as Google Code or the old favourite SourceForge.

For Commercial closed-source projects, if you have the budget you could opt for a paid service, such as JIRA Studio from Atlassian, who offer SVN hosting, plus their suite of tools - however this is not free. There are probably many other such commercial offerings, however I've not used them personally, so cannot comment on them.

Using Subversion

With most of the setup information out of the way, you'll need to know how to use subversion itself.

Basically, once you have linked your project to SVN, your day-to-day use of SVN will probably consist of the following steps:

  1. Edit Source code
  2. Update from HEAD (to incorporate other changes)
  3. Resolve any conflicts that occurred from other users updating the same line of source code as yourself
  4. Commit your changes to the repository
  5. Repeat

When it comes to releasing your software product, it is common to use the Tagging functionality of SVN, which tags the current revision of each item in your repo with a given name (such as "MyProduct-1.0.0"), allowing you to continue development on the HEAD branch, but still recreate this version at any point in the future.

You will probably find this ebook to be of particular help when it comes to using SVN.

HTH


Subversion uses a client-server model unlike tools like Git that consist of clients. It appears that you are trying to use subversion without a server. I would recommend installing subversion and then following a tutorial such as this one to set up a repository for your team to use.

0

精彩评论

暂无评论...
验证码 换一张
取 消