eclipse的项目和配置文件 .project .cproject .classpath .metadata

简介: Clean out Eclipse workspace metadata http://stackoverflow.com/questions/11768106/clean-out-eclipse-workspace-metadata There is no easy way to remove the "outdated" stuff from an existing workspace.

Clean out Eclipse workspace metadata

http://stackoverflow.com/questions/11768106/clean-out-eclipse-workspace-metadata

There is no easy way to remove the "outdated" stuff from an existing workspace. 
Using the "clean" parameter will not really help, as many of the files you refer to are "free form data", 
only known to the plugins that are no longer available.

Your best bet is to optimize the re-import, where I would like to point out the following:

  • When creating a new workspace, you can already choose to have some settings being copied from the current to the new workspace.
  • You can export the preferences of the current workspace (using the Export menu) and re-import them in the new workspace.
  • There are lots of recommendations on the Internet to just copy the
    ${old_workspace}/.metadata/.plugins/org.eclipse.core.runtime/.settings folder from the old to the new workspace. 
    This is surely the fastest way, but it may lead to weird behaviour, because some of your plugins may depend on these settings 
    and on some of the mentioned "free form data" stored elsewhere. 
    (There are even people symlinking these folders over multiple workspaces, but this really requires to use the same plugins on all workspaces.)
  • You may want to consider using more project specific settings than workspace preferences in the future. 
    So for instance all the Java compiler settings can either be set on the workspace level or on the project level. 
    If set on the project level, you can put them under version control and are independent of the workspace.

 

目录
相关文章
|
5月前
|
Java Android开发
Eclipse里面导工程的时候报错faceted project problem
Eclipse里面导工程的时候报错faceted project problem
|
6月前
|
Java 关系型数据库 MySQL
SSM度假村管理系统开发mysql数据库web结构java编程计算机网页源码eclipse项目
SSM 度假村管理系统是一套完善的信息系统,结合SSM框架完成本系统,对理解JSP java编程开发语言有帮助系统采用SSM框架(MVC模式开发),系统具有完整的源代码和数据库,系统主要采用B/S模式开发。 前段主要技术html div js 后端主要技术 SSM框架 java jdbc 数据库 mysql 开发工具 eclipse JDK1.8 TOMCAT 8.5
36 0
|
5月前
|
应用服务中间件 Android开发
Eclipse启动tomcat项目乱码而终端启动tomcat正常的解决办法
Eclipse启动tomcat项目乱码而终端启动tomcat正常的解决办法
|
3月前
|
Java Android开发
用eclipse中打开Java项目
用eclipse中打开Java项目
40 1
|
3月前
|
Java Android开发
如何用eclipse中打开已存在的Java项目
如何用eclipse中打开已存在的Java项目
37 0
|
4月前
|
关系型数据库 MySQL 应用服务中间件
Intellij IDEA 导入公司老web项目 从eclipse里
Intellij IDEA 导入公司老web项目 从eclipse里
42 0
|
4月前
|
数据可视化 Java 编译器
Eclipse项目环境配置
Eclipse项目环境配置
52 0
|
5月前
|
Java Android开发
eclipse项目报错的解决方案
eclipse项目报错的解决方案
41 0
|
5月前
|
Java 应用服务中间件 Android开发
IDEA导入Eclipse Web项目
IDEA导入Eclipse Web项目
54 0
|
5月前
|
Java 应用服务中间件 Android开发
IDEA Eclipse项目如何导入tomcat里面的jar包
IDEA Eclipse项目如何导入tomcat里面的jar包
63 0