This week's book giveaway is in the Agile and Other Processes forum.
We're giving away four copies of Real-World Software Development: A Project-Driven Guide to Fundamentals in Java and have Dr. Raoul-Gabriel Urma & Richard Warburton on-line!
See this thread for details.
Win a flower (🌹) or copy of Real-World Software Development: A Project-Driven Guide to Fundamentals in Java (📚) this week in the Agile and Other Processes 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Bear Bibeault
  • Liutauras Vilda
  • Devaka Cooray
Sheriffs:
  • Knute Snortum
  • Junilu Lacar
  • Henry Wong
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
  • Tim Holloway
Bartenders:
  • salvin francis
  • Frits Walraven
  • Piet Souris

Eclipse Import/Export

 
pioneer
Posts: 44
  • Mark post as helpful
  • send pies
  • 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: 39864
798
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
  • 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
pioneer
Posts: 44
  • Mark post as helpful
  • send pies
  • 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!
 
Doody calls. I would really rather that it didn't. Comfort me wise and sterile tiny ad:
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!