• Post Reply Bookmark Topic Watch Topic
  • New Topic

Question on Synching Files but on Different Eclipse Workspaces  RSS feed

 
Luminair Revhial
Greenhorn
Posts: 6
Eclipse IDE Java Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, I read about it here: https://dzone.com/articles/eclipse-workspace-tips
I'm a student at the moment and I just found out my school uses an older version of Eclipse (Kepler).
With the practice codes and lessons we had at school saved in my Dropbox and synched on a PC at home
(I was hoping vice-versa for no manual upload/downloading),
should I also switch to Kepler instead or will naming a different workspace from the project folders work?

tldr; how to work on the same files, synchronized on two different PCs with different Eclipse version?
 
Campbell Ritchie
Sheriff
Posts: 55351
157
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to the Ranch

You will find colleges have certain dates for updating software; they often keep the same version of software for the whole academic year so as not to introduce any potential confusion caused by version differences. The features in the different versions of Eclipse might be different, but the Java® code will be exactly the same. As long as the JREs you are using in the the two places are mutually compatible, you shouldn't expect any problems from  synching code between college and home. If however you use Java7 (‍) at college and Java8 () at home, then the compiled code from home might not be compatible with the college's JREs.

Moving discussion to our IDEs forum.
 
Luminair Revhial
Greenhorn
Posts: 6
Eclipse IDE Java Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for the reply! I just had a few problems with "build path" and JRE stuff
*hopefully I did set it the same as the one at school's*
but my projects from Dropbox are working now, all's good woop!
 
Campbell Ritchie
Sheriff
Posts: 55351
157
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Luminair Revhial wrote:Thanks for the reply!
That's a pleasure
. . . hopefully I did set it the same as the one at school's . . .
I am not sure there is a need to have the same build path even. As long as you have the same major version (Java7/Java8) you will probably not have any problems.
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 37181
515
Eclipse IDE Java VI Editor
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sharing projects is fine. Note that sharing an entire workspace across different versions of Eclipse can cause problems due to different project metadata. Especially when you use advanced features.
 
Luminair Revhial
Greenhorn
Posts: 6
Eclipse IDE Java Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Jeanne Boyarsky wrote:Sharing projects is fine. Note that sharing an entire workspace across different versions of Eclipse can cause problems due to different project metadata. Especially when you use advanced features.


Thanks for the note! I'm not sure how I'm going about really besides that I find it nice to have home+school files synched..
Setup at the moment is I made a folder named "Luminair" as a workspace different from the dropbox folder,
projects imported with the "copy files to workspace" unchecked (gonna find out in 4 days if the files I added and edited will work at school~)

But would you suggest I downgrade my Eclipse at home (Neon) to the school's (Kepler)?
*I barely understand how the versions differ and might affect my studies and hopefully career too in hopefully a few years haha..
 
Knute Snortum
Sheriff
Posts: 3974
98
Chrome Eclipse IDE Java Postgres Database VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
With the practice codes and lessons we had at school saved in my Dropbox and synched on a PC at home 

It really depends on how you are syncing the files and what files.  Are you syncing the entire workspace?  Then you definitely need to downgrade your home Eclipse.  Are you just saving the .java files and then copying them to your workspace at home?  Then you should be safe with the newer IDE version.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!