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.

 

目录
相关文章
|
3月前
|
Java Android开发
eclipse导入项目时,报错:One or more cycles were detected in the build path of project ....
eclipse导入项目时,报错:One or more cycles were detected in the build path of project ....
159 3
|
20天前
|
Java 编译器 Android开发
Eclipse 编译项目
Eclipse 编译项目
25 1
|
21天前
|
Android开发
Eclipse 关闭项目
Eclipse 关闭项目
24 2
|
24天前
|
Java Android开发
Eclipse 创建 Java 项目
Eclipse 创建 Java 项目
39 4
|
2月前
|
Java Maven Android开发
eclipse创建maven项目
本文介绍了在Eclipse中创建Maven项目的步骤,包括打开Eclipse、选择Java项目、完成项目创建以及自动下载插件的过程。
102 2
eclipse创建maven项目
|
2月前
|
Java Maven Android开发
eclipse如何导入springboot项目
本文介绍了如何在Eclipse中导入Spring Boot项目。
43 1
eclipse如何导入springboot项目
|
2月前
|
Java 应用服务中间件 Android开发
Eclipse创建Spring项目
本文介绍了在Eclipse中创建Spring项目的步骤,包括如何配置Tomcat服务器、创建项目、部署项目到Tomcat以及添加Spring框架所需的JAR包。
71 1
Eclipse创建Spring项目
|
2月前
|
Java Maven Android开发
eclipse搭建springboot项目
本文介绍了如何使用Spring Initializr官网生成Spring Boot项目并用Eclipse打开和运行该项目,包括配置项目信息、添加依赖、下载依赖以及启动项目的步骤。
117 1
|
4月前
|
缓存 Java 应用服务中间件
支付宝 网站支付Demo 案例【沙箱环境】IDEA如何配置启动Eclipse项目
该博客文章讲述了如何在IntelliJ IDEA中配置和启动一个使用Eclipse开发的支付宝网站支付Demo案例。文章详细记录了从导入项目到配置Tomcat,再到解决启动过程中遇到的问题的步骤。作者还分享了在IDEA中遇到的一些常见问题,如项目配置、依赖库添加、编码问题等,并提供了相应的解决方案。此外,文章还提供了支付效果的展示以及一些支付宝案例文档中需要修改的参数信息。
支付宝 网站支付Demo 案例【沙箱环境】IDEA如何配置启动Eclipse项目
|
SQL Java 应用服务中间件
Eclipse导入项目的配置步骤说明
Eclipse导入项目的配置步骤说明
224 0
Eclipse导入项目的配置步骤说明