blob: 135cc42a9c2d0423f119fa68727fb7886ddc2131 [file] [log] [blame]
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="Author" content="OTI Employee">
<meta name="GENERATOR" content="Mozilla/4.75 [en] (Windows NT 5.0; U) [Netscape]">
<title>ZIP Export</title>
</head>
<body>
<center>
<h1>
ZIP Export</h1></center>
<h2>
Purpose</h2>
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.
<h2>
Setup</h2>
<ul>
<li>
Download the JUnit zip file source code from www.junit.org.</li>
<li>
Start the Eclipse workbench</li>
<li>
Create a new temporary "simple" project called "JUnit Test"</li>
<li>
Import the JUnit zip file into the project</li>
<li>
Select File -> Export, select Zip File and press Next.</li>
</ul>
<h2>
Export from a project to a new zip file</h2>
<ol>
<li>
Select the "JUnit Test" project and mark it as checked.</li>
<li>
In the Zip File field, type in the filename for the new zip file.</li>
<li>
Press Finish</li>
<li>
Verify that the contents in the zip file match the same file and folder
structure as the source project</li>
<li>
Verify the content of the files.</li>
</ol>
<h2>
Export from a project to an existing zip file</h2>
<ol>
<li>
Select the "JUnit Test" project and mark it as checked.</li>
<li>
In the Zip File field, type in the filename for the existing zip file.</li>
<li>
Press Finish</li>
<li>
Click OK in the dialog that appears confirming the overwrite</li>
<li>
Verify you were prompted to overwrite files</li>
<li>
Verify that the contents in the zip file match the same file and folder
structure as the source project.</li>
<li>
Verify the content of the files.</li>
</ol>
<h2>
Cleanup</h2>
<ul>
<li>
Delete the temporary project "JUnit Test"</li>
<li>
Delete the temporary jar file</li>
</ul>
</body>
</html>