如何在eclipse中连接项目 [英] How to link project in eclipse

查看:139
本文介绍了如何在eclipse中连接项目的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个java项目,我想开发它,而不是从它的位置替换源代码。我想将代码链接到我的工作区,而不需要物理地替换?

解决方案


  1. 选择项目您想从 Package Explorer

  2. 中引用右键单击并转到属性(或按Ctrl-Enter)。

  3. 项目 Java Build Path 您可以添加当前打开的另一个项目。

如果你想要覆盖一个类,您可以在当前项目中创建一个副本,并在订单和导出中的类路径中进一步移动。


I have a java project and I want to develop it without replacing the source code from its place. I want to link my code to my workspace without replace physically?

解决方案

  1. Select the Project you want to reference from on Package Explorer
  2. Right-click and go to Properties ( or hit Ctrl-Enter ).
  3. Under Projects in Java Build Path you can add another project which is currently open.

If you want to override a class you can make a copy of it in your current project and move it further up in the classpath in Order and Export.

这篇关于如何在eclipse中连接项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆