配置Eclipse以在工作区外部添加一个buildpath文件夹 [英] Configuring Eclipse to add a buildpath folder outside the workspace
本文介绍了配置Eclipse以在工作区外部添加一个buildpath文件夹的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
不幸的是,这意味着我不能使用'/'的链接在生产中。任何建议?
相关的是,工作空间似乎阻止引用在工作区外部构建路径,但我希望将敏感文件保留在基本工作空间文件夹之外。有没有办法这样做?
解决方案
我通常使用链接功能:
- 选择要在其中创建链接的文件夹(即root本身);
- 右键单击 - >新建 - >文件夹
- 点击高级按钮
- 检查链接到文件系统中的文件夹,浏览htdocs下的文件夹
这应该有助于
I'm developing PHP on a mac. As per other suggestions, I've set the workspace to be in the HTDOCS folder of MAMP.
Unfortunately, this means I cannot use links to '/' as I would in production. Any suggestions?
Relatedly, the workspace seems to prevent references to build paths outside the workspace, yet I would Like to keep my sensitive files outside the base workspace folder. Is there a way to do this?
解决方案
I usually use the "link" feature:
- select folder in which you want to create the link (i.e. root itself);
- right-click -> new -> Folder
- click "Advanced" button
- check "Link to folder in the filesystem" and browse for the folder under htdocs
This should help
这篇关于配置Eclipse以在工作区外部添加一个buildpath文件夹的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文