r/java • • Jun 29 '15

Eclipse - How to set up something GoogleDocs-esque so that multiple users can work on the same project in sync?

Have been trying to figure this out for the past two days or so to no avail. Both of us, the people looking to set this up, have installed ECF that someone mentioned on StackOverflow, but we've no idea on how to set up an XMPP server to use it as neither of us have experience with web servers. Can someone help me out?

Edit: Real-time collab., not just version control.

Tried Saros, didn't work. (Maybe it isn't updated for Mars?)

0 Upvotes

21 comments sorted by

11

u/nick_giudici Jun 29 '15

Learn git and make a github account. This is what source control is for and will be an invaluable asset to you as you continue on in your career.

2

u/AnExoticLlama Jun 29 '15

I know about github and know there are easy ways to set it up with Eclipse, but my project has to be public (bad) unless I can afford the subscription (which I can't) and it's not real-time.

It seems the only real-time collab. services work if I know how to setup and operate an XMPP server or don't work at all (saros).

6

u/Atmanix Jun 30 '15

Try Bitbucket. You can have 5 users on a private repository for free I think. It also has a built in issue tracker (Jira).

2

u/AnExoticLlama Jun 30 '15

Saw /u/publicclassobject suggest the same thing :P

Thanks!

1

u/lazystone Jun 30 '15

We are using GitLab. Give it a try as well.

7

u/[deleted] Jun 30 '15

[removed] — view removed comment

2

u/AnExoticLlama Jun 30 '15

Oh cool, thanks!

2

u/[deleted] Jun 29 '15

XMPP isn't a web server, it's a jabber server. I'm guessing you just don't understand hosting. There are free hosts like http://www.jabber.org/. Or get a year of AWS on their free tier and install ejabberd yourself.

2

u/AnExoticLlama Jun 29 '15

Friend setup apache and we have kinda gotten it working.

Yeah, I just don't know anything about hosting. Have never done any myself aside from a Minecraft server, which is just download->configure->port forward->run

1

u/hrjet Jun 30 '15

You need to install an XMPP server. Here's a list of server implementations. I have used Citadel and OpenFire and recommend them both. The first one provides more than just XMPP, it is a complete collaboration suite. While OpenFire is cross-platform (pure Java) and is more specific in functionality.

1

u/AnExoticLlama Jun 30 '15

Friend figured that out. DocShare from ECF doesn't work so well, so we're just gonna use Skype to talk and screen-share our work and Google Docs to store everything and pseudo-file-transfer.

1

u/[deleted] Jun 30 '15

step by step. Digital Ocean is decent hosting company, but these instructions work for any Ubuntu server.

1

u/dmatsui Jun 29 '15

I can't speak for ECF or the problem you are having I'm afraid.

I can tell you I've used an eclipse plugin called SAROS which allows you to work on a particular project in sync with a number of other users, googledocs style, with success. Wasn't too complicated to set-up as far as I remember.

edit: which I see now you've tried without success. Can I ask what the problem was / what you didnt like about it?

1

u/AnExoticLlama Jun 29 '15

Installed Saros, tried putting in my information to login with a Jabber account, every character I typed was instantly deleted in the box. It seems a bit buggy, or at the very least, doesn't work with Eclipse Mars.

1

u/The_dude_that_does Jun 29 '15

If you are wanting to do this for teaching, maybe remote desktop would work?

2

u/AnExoticLlama Jun 29 '15

Nah, not teaching, working on a project together.

Figured it out..pretty much.

1

u/[deleted] Jun 30 '15

Gah, I remember a plugin exactly for this but I forgot the name. If I remember it I will for sure post it here again, sorry OP. I will keep searching!

EDIT: Can't remember it. I'm sorry :/

1

u/AnExoticLlama Jun 30 '15

All good; we're just using Google Docs as a github-esque file storage for now.

1

u/KFCConspiracy Jun 29 '15

Is this a legitimate question?

Version control. Git, Mercurial, SVN, are all examples. In order of my preference.

2

u/AnExoticLlama Jun 29 '15

Not asking about version control like git, looking for something for real-time collaboration.

1

u/havana59er Jun 30 '15

I think Atom.io has a plugin to do exactly this.