Setting up Eclipse with dropbox

10,220

Solution 1

I used to have the same "problem" but there is a simple solution.Create a folder in DropBox as your project path, While in school, you can just import it directly from the folder, and work on it.When ever you save, it get saved in the DropBox folder.But remember, while importing, do not select the copy project into workspace option.Also remember to close eclipse on one computer before opening the project in another.

Solution 2

Another way to make this easy for you , with the use of rapidsvn see the information on above link.enter link description here

Solution 3

http://www.cs.utexas.edu/~scottm/cs307/handouts/Eclipse%20Help/EclipseIntroduction.html#workspace shows how you can set the workspace to a different location. You would just select a folder in Dropbox instead of on a usb stick like the guide shows. When syncing with Dropbox, beware of syncing conflicts if you are trying to use Eclipse on both computers at the same time or Dropbox hasn't yet finished synced all the changes.

Solution 4

It shouldn't matter that there's source code in some directory that happens to be tied to Dropbox, so upload that particular folder to Dropbox.

However. There is much pain ahead of you if you elect to go that route.

Cloud-based file hosting services aren't the same as a revision system, which can be used to not only keep track of all of your source code files, but also give you history into what you've changed.

The best part about this is - there's a plethora of them to choose from, including but not limited to GitHub and Bitbucket. Further, they all can be pushed to, and subsequently, pulled from, just about anywhere.

Share:
10,220
Dmomo
Author by

Dmomo

Updated on June 04, 2022

Comments

  • Dmomo
    Dmomo almost 2 years

    I know some one has asked similar question, but the answer is not what i am looking for.

    Here is my situation: I have two computers, one is window 7, the other one is Macbook air.

    When I am in school, I use the air to write code and I want write my code at home on window 7.

    any genius come up with a solution that I don't have to import the project every time taking

    advantage of dropbox? providing detailed solution is the best. just wanna make it clear, I

    am using Eclipse just for Java.

  • Dmomo
    Dmomo over 10 years
    Can you provide more detailed steps ?
  • Dmomo
    Dmomo over 10 years
    Can you provide more detailed steps ? the link you provided is not quit what i am looking for
  • Ojonugwa Jude Ochalifu
    Ojonugwa Jude Ochalifu over 10 years
    Create a folder in DropBox say ...\Dropbox\project on your computer at home then when ever you need to use the project in school, just import it from the ...\Dropbox\project folder( make sure not to select the "copy project into workspace option when importing else what ever changes you make in the imported version will not be persisted in Dropbox) When you are done working with it on either computer, make sure to close eclipse before opening in another.If you follow these steps, when even you open eclipse on either computer, it just loads the project from ...\Dropbox\project
  • Dmomo
    Dmomo over 10 years
    Thank you for the option, However, it seems like a more complicated solution. I am watching some video to set up SVN. If you have some good guide, please provide. (I am only using it for Java)
  • Dmomo
    Dmomo over 10 years
    so we need to manually import a project as an exiting project after we switch computer?
  • Dmomo
    Dmomo over 10 years
    after watching some videos, i have a idea of it. but SVN is something for big project or or a team, If No body knows how to do it just using dropbox, I will try SVN.
  • Atul Singh Rajpoot
    Atul Singh Rajpoot over 10 years
    i think it's better solution, but as u told it is somewhat big
  • Ojonugwa Jude Ochalifu
    Ojonugwa Jude Ochalifu over 10 years
    Exactly.In the Dropbox folder, the files are the same.
  • ryvantage
    ryvantage over 5 years
    You lost me at "remember to close eclipse" lol