CSE 115/503 - Spring 2011 - Banner
  • CSE 115/503 - Spring 2011
CSE 115/503 - Spring 2011 - Navigation
CSE 115/503 - Spring 2011 - Announcements

Importing and Exporting Files in Eclipse
Last modified: January 17 2011 03:42:00 PM

CSE 115/503 - Spring 2011 - Importing and Exporting Files in Eclipse

(Directions written by Carl Alphonce)

IMPORTING

  1. To import a project to an Eclipse workspace, first create an empty project in your workspace (or check out the base project from the labs directory, as appropriate).
  2. Right-click on the project name in the Package Explorer, and select "Import...".
  3. In the "Import" dialog, choose General->Archive File, and click "Next>".
  4. Browse to the .jar or .zip file that contains the project you want to import, select it, and then click "Finish". Allow the import to overwrite any existing files in the project.

EXPORTING

  1. To export a project from an Eclipse workspace (e.g. your workspace on the CSE servers) so that it can be readily imported into another Eclipse workspace (e.g. your workspace on your laptop) right-click on the project name in the Package Explorer, and select "Export...".
  2. In the "Export" dialog, choose Java->JAR file, and click "Next>".
  3. In the "JAR Export", make sure the correct project is selected. Make sure that, in the top part, the "Export Java source files and resources" is selected, AND that the none of the other three options are selected. Enter a name and location for the exported JAR file, then click "Finish".
CSE 115/503 - Spring 2011 - Footer

Page maintained by Adrienne Decker

Contact: adrienne@buffalo.edu | 130 Bell Hall | (716)645-3184