Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » How do I make a project of existing java-files?
How do I make a project of existing java-files? [message #103877] Thu, 22 September 2005 10:15 Go to next message
Eclipse UserFriend
Originally posted by: arvidjo.kth.se

Hello, I figured this must be a really easy question to answer, but I
still find it confusing.

I want to start working with Eclipse with my existing java-files. I've
created a new project, but how do I add these java files to the project
itself?
Re: How do I make a project of existing java-files? [message #104123 is a reply to message #103877] Fri, 23 September 2005 00:41 Go to previous messageGo to next message
Randy D. Smith is currently offline Randy D. SmithFriend
Messages: 394
Registered: July 2009
Senior Member
When you created the new project and gave it a name, did you notice
under the Project Name: dialog the Contents section? Change "Create new
project in workspace" to "Create project from existing source"?

Delete your new empty project, create a new one, and try the second
radio button. Browse to your directory, and choose that directory.

A .project file should be written in your directory, and off you go.
--
RDS


Arvid Johansson wrote:
> Hello, I figured this must be a really easy question to answer, but I
> still find it confusing.
>
> I want to start working with Eclipse with my existing java-files. I've
> created a new project, but how do I add these java files to the project
> itself?
Re: How do I make a project of existing java-files? [message #104481 is a reply to message #103877] Fri, 23 September 2005 19:19 Go to previous message
Eclipse UserFriend
Originally posted by: eclipse3.rizzoweb.com

Arvid Johansson wrote:
> Hello, I figured this must be a really easy question to answer, but I
> still find it confusing.
>
> I want to start working with Eclipse with my existing java-files. I've
> created a new project, but how do I add these java files to the project
> itself?


There are several choices. You could do File > Import if the existing
source files only exist on your local file system somewhere - that will
copy them into your Eclipse Project.
If you have an SCM system such as CVS, you can connect Eclipse to your
SCM repository/server and check out the code.
You can also created a "linked" directory in your Eclipse project that
points to the location where the source files are already, then make
that linked directory be a source location for the Eclipse Project.
Finally, you can recreate the Project and tell Eclipse to use an
already-existing location on your drive as the Project folder.

All of these are covered in the Help. I strongly recommend you go to the
Getting Started sections of Help and go through the material there. It
has lots of stuff about project configuration and organization.

HTH,
Eric
Previous Topic:Focus problems and backspace, arrows not working in 3.1
Next Topic:java.lang.UnsatisfiedLinkError
Goto Forum:
  


Current Time: Wed Apr 24 22:20:03 GMT 2024

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

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

Back to the top