java - 如何让 Eclipse 在源代码文件夹以外的不同文件夹中创建 .classpath、.settings 文件?
问题描述
我正在尝试以下内容:
- I created a workspace under "C:\workspace"
- I created a sourcecode folder under "C:\sourcecode\maven_project_1"
- I opened eclipse with the workspace
- I imported maven_project_1 as maven project using the option "Import existing maven project".
- I expected
- the project would get imported. This happened right.
- the eclipse files i.e. .classpath, .settings etc would get created under "C:\workspace\maven_project_1" but they are created under "C:\sourcecode\maven_project_1" instead.
有没有办法在“C:\workspace\maven_project_1”下创建文件?
这样我觉得源代码将不受 Eclipse 设置的影响。
如果可能,请提出正确的方法来做到这一点。谢谢你。
解决方案
推荐阅读
- python - Tkinter PhotoImage 放置方法透明度(在画布上)
- image - 将RBG图像转换为黑白图像的公式
- node.js - CORs 错误:从 React 到 Express 的 Google Oauth(PassportJs 验证)
- anaconda - 无法在 Anaconda 中导入 GLPK
- java - 如何让这个函数返回我正在寻找的值?
- android - 当为运行模拟器 adb android studio 运行 react-native run-android 时,显示错误 app:installDebug FAILED
- sqlite - 如何在 Ionic 4 / Capacitor / Electron 应用程序上使用 SQLite?
- c++ - 如何为 Festvox 安装用于 g++ 编译的“子”库?
- python - Python:具有重复标签的数据框枢轴
- css - 如何在 CSS 中制作 gmail 样式配置文件菜单?