Author: OTI Employee

# ZIP Export

## Purpose

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

## Setup

- Download the JUnit zip file source code from www.junit.org.
- Start the Eclipse workbench
- Create a new temporary "simple" project called "JUnit Test"
- Import the JUnit zip file into the project
- Select File -> Export, select Zip File and press Next.

## Export from a project to a new zip file

1. Select the "JUnit Test" project and mark it as checked.
2. In the Zip File field, type in the filename for the new zip file.
3. Press Finish
4. Verify that the contents in the zip file match the same file and folder structure as the source project
5. Verify the content of the files.

## Export from a project to an existing zip file

1. Select the "JUnit Test" project and mark it as checked.
2. In the Zip File field, type in the filename for the existing zip file.
3. Press Finish
4. Click OK in the dialog that appears confirming the overwrite
5. Verify you were prompted to overwrite files
6. Verify that the contents in the zip file match the same file and folder structure as the source project.
7. Verify the content of the files.

## Cleanup

- Delete the temporary project "JUnit Test"
- Delete the temporary jar file