• 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

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: 41860
908
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!
reply
    Bookmark Topic Watch Topic
  • New Topic