| 
| Make project for existing code? [message #94627] | Sun, 14 August 2005 00:40  |  | 
| Eclipse User  |  |  |  |  | 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 #95122 is a reply to message #94732] | Mon, 15 August 2005 16:29  |  | 
| Eclipse User  |  |  |  |  | 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
 |  |  |  | 
Powered by 
FUDForum. Page generated in 0.11548 seconds