繁体   English   中英

如何让eclipse在源代码文件夹以外的其他文件夹中创建.classpath,.settings文件?

[英]How to have eclipse create .classpath,.settings files in a different folder other than source code folder?

我正在尝试以下内容:

- 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设置的影响。

如果可能,请提出正确的方法。 谢谢你。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM