Eclipse / Aptana File Sync Solutions

Posted by Brad on Stack Overflow See other posts from Stack Overflow or by Brad
Published on 2010-04-07T20:50:43Z Indexed on 2010/04/07 20:53 UTC
Read the original article Hit count: 432

Our development team uses Eclipse + Aptana to do their web development work. Currently, most of them are mapping their Eclipse projects directly to the web server. I'd rather them create a local project and use that to sync to the web server project directory they are working on.

The issue is that there aren't any good solutions which is just appalling given the popularity of the two.

The FileSync plugin for Eclipse is only one-way. Meaning if another developer makes a change to the file on the server, another dev isn't even notified and could overwrite the change.

The File Transfer option in Aptana 2.0 doesn't support any sort of Sync, just manually uploading/downloading files.

The Sync option in Aptana 1.5.1 doesn't allow you to merge files when they are different. You can only update one or the other. It does however allow you to view a diff (but only if you right click and select) and in that diff you can't make any changes.

I did find a way to allow files to be uploaded to their Sync repositories in Aptana using Eclipse Monkey. However it doesn't work if a user saves multiple files at once, 'Save All', again it doesn't work. And additionally, there is no notification if a user opens a local file that has an updated copy on the server. I tried to add one using Eclipse Monkey but I couldn't find any sort of listener in the Eclipse API to do it and any Eclipse Monkey documentation is far and few between.

My only solution at this point is just to let them continue to map directly to the server or ask them to do a manual download before they do any work (but again what if someone uploads a change right after they do that).

Anyone have any ideas?

© Stack Overflow or respective owner

Related posts about eclipse

Related posts about aptana