Results 1 to 16 of 16
Thread: Programming with multiple people
- 10-15-2011, 09:48 PM #1
Member
- Join Date
- Oct 2010
- Posts
- 41
- Rep Power
- 0
Programming with multiple people
Hello, I've been programming for a little while and my friends are just starting to learn. We want to be able to work together on projects but I don't know what the best way to do this is. I kind of have an idea how to do it in bluej with dropbox but I want to work in eclipse. Is there any way that we can work on the same files at the same time? (dropbox doesn't like this very much) or do we have to work separately and share the files? (if so, how would we share what we've worked on in eclipse?/What is the best way to delegate who works on what and how to put it together?)
-
Re: Programming with multiple people
You want to use a software versioning system such as Apache Subversion (SVN). Shoot this is an amazingly useful tool even if only one person is working on the project. I've used Assembla for my SVN server and then use both Eclipse (Subclipse plug in), and TortoiseSVN to connect with the server. A programmer would check out the code from the "head" or server, make their changes, and then commit their changes back to the head. You would be notified immediately of any conflicts.
- 10-15-2011, 10:02 PM #3
Senior Member
- Join Date
- Jul 2011
- Location
- Melbourne, Victoria, Australia
- Posts
- 155
- Rep Power
- 2
Re: Programming with multiple people
I've used and still use Dropbox to store my projects. Dropbox is a simple cloud storage site which stores your stuff securely. When you install it, you get a folder called dropbox on your Desktop which holds all your files stored on the cloud. What i do is have my project folder inside here and then point my eclipse workspace to it. This works well as every computer that you have eclipse on you just have to have dropbox installed and it does the rest for you. It updates as soon as you make a change and i have even had two computers working on the same file at once, eclipse just asks you to refresh for a change.
Check it out:
https://www.dropbox.com/
Oh, and you can get a 2Gb free plan for nothing.
-
Re: Programming with multiple people
I strongly strongly disagree with this -- I can't say how strongly enough.
I have to ask jammas: are you really using Dropbox as a versioning control system for a large project that is supported by multiple coders?
I can't advise you strongly enough to not use Dropbox and to use an versioning control system such as SVN or GIT. They're free, easy to use, and built for this purpose. If you use something Like Dropbox, you will run into version clash issues very soon, and it will doom your project especially if it is anything more than the most simple of projects.
For more and even stronger opinions on this, Google Dropbox vs SVN vs GIT and read what professionals have to say.Last edited by Fubarable; 10-15-2011 at 10:15 PM.
- 10-15-2011, 10:22 PM #5
Senior Member
- Join Date
- Jul 2011
- Location
- Melbourne, Victoria, Australia
- Posts
- 155
- Rep Power
- 2
Re: Programming with multiple people
Hmm i see you just proved me wrong on many ways....
Okay, but dropbox does work well if its one person working on multiple computers, and what do you mean by version clash issues?
I tried SugarSync which renamed files and made life hard, but dropbox didn't.
-
Re: Programming with multiple people
What happens if multiple people are working on the same code at the same time from different locations, and then one uploads a change to a file, and then another uploads changes to the same file over-writing the changes just made by the first person? Dropbox has no facility for reconciling this while versioning control was built just to handle this as well as many other code-specific issues. I suggest that you go to wikipedia and check out its entries on Apache Subversion and Git to see what they can do.
- 10-16-2011, 10:25 PM #7
Member
- Join Date
- Oct 2010
- Posts
- 41
- Rep Power
- 0
Re: Programming with multiple people
So should I download one of the windows binary packages or the source code? A lot of the info on this site is technical terms that I'm not entirely familiar with.
- 10-16-2011, 11:12 PM #8
Senior Member
- Join Date
- Jul 2011
- Location
- Melbourne, Victoria, Australia
- Posts
- 155
- Rep Power
- 2
Re: Programming with multiple people
Download the source code if your planning on making changes or compiling it yourself or the binaries if you just want to use it and get it up fast.
- 10-17-2011, 10:00 PM #9
Member
- Join Date
- Oct 2010
- Posts
- 41
- Rep Power
- 0
Re: Programming with multiple people
Alright so I downloaded the binaries and looked through the instructions on how to set it up and the instructions to set up the repository say "The examples used in this appendix assume that you have svn, the Subversion command-line client, and svnadmin,
the administrative tool, ready to go on a Unix-like operating system. (This tutorial also works at the Windows command-line prompt, assuming you make some obvious tweaks.)"
Like I said before, I'm not that experienced with all this and have no Idea how do do any command line stuff. Is it necessary to set this up with the command line or is there a more user-friendly way to go about it. Can someone walk me through what im supposed to be doing here?
- 10-17-2011, 10:55 PM #10
Senior Member
- Join Date
- Jul 2011
- Location
- Melbourne, Victoria, Australia
- Posts
- 155
- Rep Power
- 2
Re: Programming with multiple people
Assuming you're using Apache Subversion.
Read this: Subversion for Windows with Apache server HOWTO
- 10-17-2011, 11:51 PM #11
Member
- Join Date
- Oct 2010
- Posts
- 41
- Rep Power
- 0
Re: Programming with multiple people
okay, I'm following along with that article. I got to 3.2 but I cant seem to find the mod_authz_svn.so and mod_dav_svn.so in the subversion file on my computer. (I downloaded sliksvn so the actual file is sliksvn not subversion)
Last edited by dyelax; 10-18-2011 at 12:09 AM.
- 10-18-2011, 04:03 AM #12
Member
- Join Date
- Oct 2010
- Posts
- 41
- Rep Power
- 0
Re: Programming with multiple people
Okay, disregard that last post. I have set up a subversion client with Collabnet and it seems to be working. I still have two questions.
1: When I checkout a file to the subversion server I am using, I get a message saying it worked and the branches, tags and trunk files in the repository all say they have 1 revision but when I click on them I cant see or get to the files that i checked out. Maybe I'm thinking this works a different way than it actually does as I have no experience with this.
2. If I'm going to work on projects with other people, do I have to pay for a hosting package such as this: Personal Plans so they can also reach the server with the repositories?
- 10-19-2011, 01:02 AM #13
Senior Member
- Join Date
- Jul 2011
- Location
- Melbourne, Victoria, Australia
- Posts
- 155
- Rep Power
- 2
Re: Programming with multiple people
Sourceforge is free to host your project on, why not use that?
- 10-19-2011, 03:08 AM #14
Member
- Join Date
- Oct 2010
- Posts
- 41
- Rep Power
- 0
Re: Programming with multiple people
I also just found this: ECF/DocShare Plugin - Eclipsepedia which seems like an easier solution. Would that work for what im trying to do?
-
Re: Programming with multiple people
Why not just use Subclipse with Eclipse? I've used this with the free Assembla SVN hosting to great benefit. I've also used TortoiseSVN with Assembla and love it too.
- 10-19-2011, 05:49 AM #16
Member
- Join Date
- Oct 2010
- Posts
- 41
- Rep Power
- 0
Similar Threads
-
For People That's New to Java!
By Alerhau in forum Java SoftwareReplies: 6Last Post: 06-25-2011, 09:26 PM -
How do other people run my program
By silverglade in forum New To JavaReplies: 4Last Post: 04-25-2011, 11:38 AM -
For the people who love Calculus
By tim in forum Forum LobbyReplies: 9Last Post: 12-01-2009, 12:53 PM -
People class and Printlns
By natep67 in forum New To JavaReplies: 3Last Post: 05-02-2009, 04:29 AM -
Wats up, Java people
By littlebrat in forum IntroductionsReplies: 0Last Post: 02-12-2009, 05:48 PM


2Likes
LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks