eclipse中的外部输出文件夹 [英] External output folder in eclipse
问题描述
在eclipse中有没有办法使项目的输出文件夹成为外部文件夹,而不是位于项目根目录下的文件夹?
Is there a way in eclipse to make the project's output folder an external folder, instead of a folder located under the project root?
推荐答案
是的,您可以将其定义为链接的文件夹。
Yes, you can define it as a linked folder.
要创建一个新的链接文件夹,请选择
New-> Folder
,在文件夹名称:字段中输入bin,然后单击高级>>
To create a new linked folder select
New->Folder
, input bin in the folder name: field then clickAdvanced>>
点击 链接到文件夹
在文件系统中
单击 变量
...以显示选择路径变量对话框。
Click Link to folder
in the file system
Click on Variables
... to bring up the Select Path Variable dialog.
如果这是您的第一次,或者您正在链接到新位置,请选择New ...并给变量一个合理的名称和路径。
If this is your first time, or you are linking to a new location select New... and give the variable a sensible name and path.
更准确地说,您将输出目录(称为bin)定义为链接文件夹,然后将该目录设置为项目的官方输出。
More precisely, you define your output directory (say 'bin') as a linked folder, then you set that directory as the official output one of your project.
这篇关于eclipse中的外部输出文件夹的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!