This week's giveaway is in the Testing forum.
We're giving away four copies of TDD for a Shopping Website LiveProject and have Steven Solomon on-line!
See this thread for details.
Win a copy of TDD for a Shopping Website LiveProject this week in the Testing forum!
  • 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
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
Bartenders:
  • Piet Souris
  • Himai Minh

Eclipse Import/Export

 
Ranch Hand
Posts: 44
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello,

I have a project in Eclipse that I've just checked back into subversion (svn). I have another developer on my team that wishes to check it out into his Eclipse installation, but when he does so, none of the settings from my workspace/project are transfered to his Eclipse instance.

I know that if I want to export the preferences, all I have to do is go to File->Export->Preferences and save that file as an *.epf file.

Importing and Exporting the Preferences covers the location of the JDK, but that isn't what I'm concerned with.

I wish to export/import the following:

a.) The project settings
(which directories contain source code, included jars etc...)

b.) The content of the [I]run external tools...->Ant Build[I] items in the tree.

c.) The layout of the workspace (not too important...)


Thank you,

Andrew J. Leer
 
author & internet detective
Posts: 41073
848
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Andrew,

a) This information is stored in the .project and .classpath files within the project itself. It should be stored in SVN by default since it is under the project. If it is not, check that you are not excluding "dot" files from version control. Also note that if the .classpath file refers to classpath variables, you need to import the epf file to get those.

b) You can create a shared launch configuration and store this in SVN. To do so, take a look at the common tab in the "external tools..." options. There is a radio button to make a shared configuration rather than local (the default.) I typically create a shared configuration and store it under my project so it is easily included in version control.

c) I don't know of a way to do this.
 
Andrew Leer
Ranch Hand
Posts: 44
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Jeanne,

Thank you for your reply! :-D

Oh and Merry Christmas!

I've been look for the answer to those two for a while!
 
Yup, yup, yup. Tiny ad:
free, earth-friendly heat - a kickstarter for putting coin in your pocket while saving the earth
https://coderanch.com/t/751654/free-earth-friendly-heat-kickstarter
reply
    Bookmark Topic Watch Topic
  • New Topic