Eclipse: Creating a project in your workspace

A typical development model is to create a project in your workspace and add it to source control.

About this task

In this lesson, you will create an Eclipse project that contains a directory and two new files. In a later lesson, you will share the project and add it to source control.

To create a project in your Eclipse workspace:

Procedure

  1. In Eclipse, open the Resource perspective: click Window > Open Perspective > Other, click Resource, and click OK.
  2. Click File > New > Project.
  3. In the Wizards list, expand General, click Project, and click Next.
  4. In the Project name field, type yourname_tutorial and click Finish.
  5. Add a directory to your tutorial folder:
    1. Click File > New > Folder.
    2. In the Folder window, select your tutorial folder. In the Folder name field, type docs and click Finish.
  6. Add two files to the docs folder:
    1. Click File > New > File.
    2. In the File window, select the docs folder. In the File name field, type readme.txt and click Finish.
    3. Click File > New > File.
    4. In the File window, select the docs folder. In the File name field, type notes.txt and click Finish.
  7. In the editor view, add some text to the files and save them.

Results