ZIP Import
Purpose
The plan is to import 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 source 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"
-
Select File -> Import, select Zip File and press Next.
Import into an empty project
-
Click the Browse button and select the ZIP file.
-
Expand the folders in the tree view and until "junit" folder is visible
and check mark the box next to it. Deselect the "doc" and "javadoc" folders.
-
Type in "JUnit Test" in the Folder field
-
Press Finish
-
Verify that the contents of the project match the same file and folder
structure as the source in the file system.
-
Verify that the content of the files.
Import into a project with same contents (overwrite)
-
Click on the Zip File drop down box and select the zip file
-
Expand the folders in the tree view and until "junit" folder is visible
and check mark the box next to it. Deselect the "doc" and "javadoc"
folders.
-
Type in "JUnit Test" in the Folder field
-
Check the option "Overwrite existing resources without warning"
-
Press Finish
-
Verify you were not prompted to overwrite files
-
Verify that the contents of the project match the same file and folder
structure as the source in the file system.
-
Verify that the content of the files.
Cleanup
-
Delete the temporary project "JUnit Test"