由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Programming版 - Simple Question About Eclipse
相关主题
新手请教一个Eclipse写c++program的问题。新手,一个C 库的问题
[合集] 在ubuntu上面安装eclipse碰上麻烦。Framework vs Library
求助大家 如何用 Eclipse 给一个project加入image (转载)matlab: find main workspace variable?
请问大家一个eclipse CDT的问题 (转载)Re: matlab: find main workspace variable
VS里的不同类型PROJECT有什么区别啊?python, pickle
请教,关于g++ -l的问题有人有在visual c6 里面删掉一个类的经验么?
一个奇怪的library linking问题(c++, boost.python, shared li (转载)Visual Studio的使用问题(C++)
Can LGPL, Boost library be used in commercial software developing?MatLab Code
相关话题的讨论汇总
话题: project话题: eclipse话题: go话题: java话题: build
进入Programming版参与讨论
1 (共1页)
s*i
发帖数: 31
1
In eclipse, i have project 1, where i define 2 classes and make them both
belong to a package i define (eg: com.myPackage).
Then i create project 2, and i want to use those 2 classes from project 1.
It seems that i can accomplish this two ways:
1) Go to Java Build Path->Projects, add Project 1 as a "Required project"
for Project 2. And write "import com.myPackage.*" statement at the top of
Project 2's source code.
2) Go to Java Build Path->Libraries, click "Add Class Folder", and choose
the fold
g*****g
发帖数: 34805
2
Option 1 is probably better, different CVS users have different
root workspace directory and therefore
check out the project to different folder. If you
use option 2, what works for you probably won't work
for others.

【在 s*i 的大作中提到】
: In eclipse, i have project 1, where i define 2 classes and make them both
: belong to a package i define (eg: com.myPackage).
: Then i create project 2, and i want to use those 2 classes from project 1.
: It seems that i can accomplish this two ways:
: 1) Go to Java Build Path->Projects, add Project 1 as a "Required project"
: for Project 2. And write "import com.myPackage.*" statement at the top of
: Project 2's source code.
: 2) Go to Java Build Path->Libraries, click "Add Class Folder", and choose
: the fold

1 (共1页)
进入Programming版参与讨论
相关主题
MatLab CodeVS里的不同类型PROJECT有什么区别啊?
请教一个QT的问题请教,关于g++ -l的问题
没完的“unresolved external symbol” in c++ compiling一个奇怪的library linking问题(c++, boost.python, shared li (转载)
python的shellCan LGPL, Boost library be used in commercial software developing?
新手请教一个Eclipse写c++program的问题。新手,一个C 库的问题
[合集] 在ubuntu上面安装eclipse碰上麻烦。Framework vs Library
求助大家 如何用 Eclipse 给一个project加入image (转载)matlab: find main workspace variable?
请问大家一个eclipse CDT的问题 (转载)Re: matlab: find main workspace variable
相关话题的讨论汇总
话题: project话题: eclipse话题: go话题: java话题: build