• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Question on Synching Files but on Different Eclipse Workspaces

 
Greenhorn
Posts: 6
Eclipse IDE Ruby Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
Marshal
Posts: 79153
377
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 Ruby Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Marshal
Posts: 79153
377
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
author & internet detective
Posts: 41860
908
Eclipse IDE VI Editor Java
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 Ruby Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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..
 
Sheriff
Posts: 7125
184
Eclipse IDE Postgres Database VI Editor Chrome Java Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Good heavens! What have you done! Here, try to fix it with this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic