File System Export
Purpose
The plan is to export a project with 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 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 File System and press Next.
Export from a project to a new directory
-
Select the "JUnit Test" project and mark it as checked.
-
In the Directory field, type in the directory to export to.
-
Press Finish
-
Verify that the contents on the file system match the same file and folder
structure as the source project
-
Verify the content of the files.
Export from a project to an existing directory
-
Select the "JUnit Test" project and mark it as checked.
-
In the Directory field, type in the directory to export to.
-
Check the option "Overwrite existing resources without warning"
-
Press Finish
-
Verify you were not prompted to overwrite files
-
Verify that the contents on the file system match the same file and folder
structure as the source project.
-
Verify the content of the files.
Cleanup
-
Delete the temporary project "JUnit Test"