Exporting Code

Once you have finished developing, testing, and debugging your project within the IDE, export it to the file system by using the Export SmartGuide.  The following options are available to you when you export:

Exporting Code to a Directory
To export code to a directory in the file system:

  1. Select the project, package, or type from which you want to export.
  2. Select Export from the File menu.
  3. In the Export SmartGuide, select the Directory radio button.   Click Next.
  4. Provide a target directory for the export.  Exported projects will create subdirectories of the target directory.
  5. Select the types of code you want to export (bytecode, source code, or resource files), and click Details to select the specific classes, interfaces, or resource files.
  6. If you are exporting an applet and you want to generate an HTML file to launch it, enable the .html option and click Details to select the applets for which you want the HTML launch file.
  7. Select other options, if needed, and click Finish.

Exporting Code to a Jar File
To export code to a Jar file:

  1. Select the project, package, or type from which you want to export.
  2. Select Export from the File menu.
  3. In the Export SmartGuide, select the Jar file radio button.  Click Next.
  4. Provide a target Jar file name for the export.  If you specify one that already exists, it will be overwritten.
  5. Select the types of code you want to export (bytecode, source code, resource files, or beans), and click Details to select the specific classes, interfaces, resource files, or beans.
  6. If you are exporting an applet and you want to generate an HTML file to launch it, enable the .html option and click Details to select the applets for which you want the HTML launch file.
  7. Select other options, if needed, and click Finish.

ngrelt.gif (466 bytes)
Exporting Bytecode
Exporting Source Code
Exporting Resource Files
Exporting for Debugging
Importing Files from the File System
Including Resource Files in a Project