Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » Importing code...
Importing code... [message #83228] Tue, 05 August 2003 12:50 Go to next message
Eclipse UserFriend
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 Go to previous message
Eclipse UserFriend
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
Previous Topic:Using eclipse on linux with exceed
Next Topic:Open Declaration showing only 1 method in editor
Goto Forum:
  


Current Time: Wed May 14 15:29:07 EDT 2025

Powered by FUDForum. Page generated in 0.02799 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top