Author: OTI Employee

# File System Import

## Purpose

The plan is to import a large number files/folders at a time, using the file system wizard. The results should be indentical in layout and content as the original source used.

## Setup

- Download the JUnit source code from www.junit.org and extract the contents into a folder in the file system.
- Start the Eclipse workbench
- Create a new temporary "simple" project called "JUnit Test"
- Select File -> Import, select File System and press Next.

## Import into an empty project

1. Click the Browse button and select the directory where the source files are located.
2. Expand the folders in the tree view and until "junit" folder is visible and check mark the box next to it
3. Type in "JUnit Test" in the Folder field
4. Press Finish
5. Verify that the contents of the project match the same file and folder structure as the source in the file system.
6. Verify that the content of the files.

## Import into a project with same contents (overwrite)

1. Click on the Directory drop down box and select the directory where the source files are located
2. Expand the folders in the tree view and until "junit" folder is visible and check mark the box next to it
3. Type in "JUnit Test" in the Folder field
4. Check the option "Overwrite existing resources without warning"
5. Press Finish
6. Verify you were not prompted to overwrite files
7. Verify that the contents of the project match the same file and folder structure as the source in the file system.
8. Verify that the content of the files.

## Cleanup

- Delete the temporary project "JUnit Test"