Importing code... [message #83228] |
Tue, 05 August 2003 12:50  |
Eclipse User |
|
|
|
Originally posted by: yaakov.y.chaikin.baesystems.com
Hi,
I hope someone can help me with this. I am used to using JCreator, so
Eclipse is new for me.
I have a packge called javacenter (structured:
javacenter.utilities.LFUtil.class, javacenter.utilities.ThreadUtil.class
and so on).
This package sits in "My Documents" folder in a folder called Java Classes.
How do I set it Eclipse to know about this and therefore be able to use
this in other projects. Also, I didn't see anywhere in the tutorial about
how to create a workspace. How do I do this?
Thank you,
Yaakov.
|
|
|
Re: Importing code... [message #83242 is a reply to message #83228] |
Tue, 05 August 2003 16:57  |
Eclipse User |
|
|
|
Originally posted by: wegener.cboenospam.com
Yaakov wrote:
> Hi,
> I hope someone can help me with this. I am used to using JCreator, so
> Eclipse is new for me.
> I have a packge called javacenter (structured:
> javacenter.utilities.LFUtil.class, javacenter.utilities.ThreadUtil.class
> and so on).
> This package sits in "My Documents" folder in a folder called Java Classes.
> How do I set it Eclipse to know about this and therefore be able to use
> this in other projects. Also, I didn't see anywhere in the tutorial about
> how to create a workspace. How do I do this?
> Thank you,
> Yaakov.
It seems from your message that javacenter is a third party package that
you don't have source code for only .class files. If this is correct, you
have a couple of options. You can jar up the class files in the
javacenter package and add that to your java projects as an external jar.
Or you can create a separate project for javacenter with its location
being the My Documents/Java Classes folder. You will need to define
javacenter as a class directory. This is available in Eclipse 2.1 or
later.
You create a workspace by including the -data <path to workspace> on the
startup command for Eclipse. It will automatically create a workspace in
<path to workspace>
Dave
|
|
|
Powered by
FUDForum. Page generated in 0.03180 seconds