File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes IDEs, Version Control and other tools and the fly likes Eclipse Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Eclipse" Watch "Eclipse" New topic


Rachel Kozlowski
Ranch Hand

Joined: Jan 14, 2009
Posts: 40
Ok now that I have eclipse set up the way it needs to be set up with my project is there a way to permanently save it with all of the Tomcat settings just this way in case someone messes it up?
Peter Johnson

Joined: May 14, 2008
Posts: 5852

The only way I know of is to backup the entire workspace - your project's data is in the project's directory, and there is probably also a Servers directory which contains the Tomcat config info, and then I image that there is other information available in the workspace/.metadata directory. Backup up the Tomcat directory might also be a good idea, unless you don't mind rebuilding it.

By the way, you should really provide a better subject line for this topic, something like "Saving an Eclipse project"

JBoss In Action
Peter Johnson

Joined: May 14, 2008
Posts: 5852

One other though. What is it that you want to backup? You whole setup or just your Eclipse preferences? I already covered the former. For the latter, do File | Export, and then General | Preferences.
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 17417

A project and your Eclipse workspace are 2 different things. That's good, because you can archive out a project to a version conrtol system and someone else can import it even though their locations for support services such as the Tomcat server may not be the same (or have the same names).

But it does mean that you need to save your Eclipse preferences separately, since they're not stored in the project itself.

An IDE is no substitute for an Intelligent Developer.
I agree. Here's the link:
subject: Eclipse
It's not a secret anymore!