Eclipse for existing non-Eclipse projects? [message #173463] |
Tue, 23 December 2003 13:28  |
Eclipse User |
|
|
|
Originally posted by: rlblanken.egh.com
I have been reading the Help and Faqs, and browsing around the product for
several hours now, and I cannot figure out how to use Eclipse to work on
existing Java (etc) packages without creating/importing into a project.
We have lots of existing applications, and sometimes I just want to edit or
study source code. I don't want to make a new copy of the source trees.
Same applies to any other non-Java sources or text files. If Eclipse is my
standard environment, I want to use it for everything I edit.
What am I missing?
Thanks... Roger
|
|
|
Re: Eclipse for existing non-Eclipse projects? [message #173682 is a reply to message #173463] |
Wed, 24 December 2003 12:17  |
Eclipse User |
|
|
|
Originally posted by: d.wegener(spamblock).attbi.com
Eclipse is very much project based. Editing files that don't exist in a
project isn't really supported. However, projects can exist almost anywhere
on your file system. You don't need to copy the source tree to work on it
with Eclipse. In order to work on an existing source tree, your best bet is
probably create a new project. On the initial project definition page,
uncheck the use default location and use the browse button to locate the
directory containing you project. The base directory doesn't need to be the
root of your source tree, it just needs to be a directory that isn't going
to be in the hiearchy of any other project.
If your base directory is the root of your source tree, you should be set.
If not, you need to select Source Folders to point to the base. You will
also need to define any jar files that your project depends upon on the
Build Path. There are a number of ways to do this depending on whether the
jar files are included in your project hiearchy or not and whether they are
built by other Eclipse projects or not.
Once the project is defined, you have access to any file in the project.
You can use different Views and Perspectives to narrow what is displayed.
"Roger" <rlblanken@egh.com> wrote in message
news:bsa1fn$bfa$1@eclipse.org...
>
> I have been reading the Help and Faqs, and browsing around the product for
> several hours now, and I cannot figure out how to use Eclipse to work on
> existing Java (etc) packages without creating/importing into a project.
>
> We have lots of existing applications, and sometimes I just want to edit
or
> study source code. I don't want to make a new copy of the source trees.
>
> Same applies to any other non-Java sources or text files. If Eclipse is my
> standard environment, I want to use it for everything I edit.
>
> What am I missing?
>
> Thanks... Roger
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.05900 seconds