Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Make project for existing code?
Make project for existing code? [message #94627] Sun, 14 August 2005 04:40 Go to next message
Eclipse UserFriend
Originally posted by: codethought.gmail.com

What's the easiest way to do this? It seems that what I have to do is make
a new, empty project and then drag and drop the folders from the existing
code *into* the new project. After that's done I have to create library
references, etc...

Is this the correct approach, or is there something more simple that I'm
missing...?

--
David
The delusion that people care about what I think:
http://mywebpages.comcast.net/daorriss/
Re: Make project for existing code? [message #94643 is a reply to message #94627] Sun, 14 August 2005 07:08 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: weconsul.ptd.net

David Orriss Jr wrote:
> What's the easiest way to do this? It seems that what I have to do is make
> a new, empty project and then drag and drop the folders from the existing
> code *into* the new project. After that's done I have to create library
> references, etc...
>
> Is this the correct approach, or is there something more simple that I'm
> missing...?
>
You could. I have a tendency to use import.

--


Thanks in Advance...
IchBin, Pocono Lake, Pa, USA http://weconsultants.servebeer.com
____________________________________________________________ ______________

'If there is one, Knowledge is the "Fountain of Youth"'
-William E. Taylor, Regular Guy (1952-)
Re: Make project for existing code? [message #94732 is a reply to message #94627] Sun, 14 August 2005 15:07 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: wegener.cboenospam.com

David Orriss Jr wrote:
> What's the easiest way to do this? It seems that what I have to do is make
> a new, empty project and then drag and drop the folders from the existing
> code *into* the new project. After that's done I have to create library
> references, etc...
>
> Is this the correct approach, or is there something more simple that I'm
> missing...?
>

Click the Create project from existing source radio button on the first
page of the New Java Project wizard. Then navigate to the location
where the code exists on your workstation. If there are .java files in
the subdirectory hiearchy, Eclipse will attempt to figure out the source
folder structure of the project.

If you reference external libraries, you will still need to add them
yourself.
Re: Make project for existing code? [message #95122 is a reply to message #94732] Mon, 15 August 2005 20:29 Go to previous message
Eclipse UserFriend
Originally posted by: eclipse3.rizzoweb.com

David Wegener wrote:
> David Orriss Jr wrote:
>
>> What's the easiest way to do this? It seems that what I have to do is
>> make
>> a new, empty project and then drag and drop the folders from the existing
>> code *into* the new project. After that's done I have to create library
>> references, etc...
>>
>> Is this the correct approach, or is there something more simple that I'm
>> missing...?
>>
>
> Click the Create project from existing source radio button on the first
> page of the New Java Project wizard. Then navigate to the location
> where the code exists on your workstation. If there are .java files in
> the subdirectory hiearchy, Eclipse will attempt to figure out the source
> folder structure of the project.
>
> If you reference external libraries, you will still need to add them
> yourself.

One additional hint: if your existing project uses Ant to build, you can
try the new feature in Eclipse 3.1 to create a project from an Ant build
script. I haven't tried it myself, but if it works it might make things
a little easier for you.

HTH,
Eric
Previous Topic:Searchable archives of newsgroups?
Next Topic:TitledAreaDialog space at bottom too large
Goto Forum:
  


Current Time: Sat Oct 19 16:12:55 GMT 2024

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

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

Back to the top