Eclipse - 链接包? [英] Eclipse - Linked package?
本文介绍了Eclipse - 链接包?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
Eclipse中是否可以使用不在项目文件夹中的包,而不将其复制到项目文件夹?我希望Eclipse每次都能使用来自特定文件夹的最新文件。
Is it possible in Eclipse to use a package that is not in the project folder, without copying it to the project folder? I want Eclipse to use everytime the newest files from a specifig folder.
例如:
PACKAGE A
-----------------------------
src
package
Client
Client.java
PACKAGE B
-----------------------------
src
package
Gui
Gui.java
现在,我想使用package.Gui.Gui中的package.Client.Client,而不在PACKAGE B中复制PACKAGE A.我只想链接到它。有人可以帮助我吗?
Now, I want to use package.Client.Client from package.Gui.Gui, without making a copy of PACKAGE A inside of PACKAGE B. I just want to link to it. Can someone help me?
推荐答案
你可以使用文件 - >新 - >文件夹
并激活高级
-Button链接到文件夹。
You can use File -> New -> Folder
and activate the Advanced
-Button to link to a folder.
这篇关于Eclipse - 链接包?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文