Exporting Resource Files

When you export code to a directory or to a Jar file, you can optionally also export resource files that the code uses.

tentergf.gif (577 bytes) If you are using shared resources, and select to export both local and shared copies of the same resource file, only the local copy will be exported.

To export resource files:

  1. In the Export SmartGuide, after you have selected the target directory or Jar file for the export, enable the resources check-box.
  2. Click the Details button.
  3. Select resource files from the project directories by enabling their check-boxes.   Click OK.
  4. Select other export options, if needed.
  5. Click Finish.

The resource files will be copied to the target directory.  The bytecode will be exported to .class files in a subdirectory of the target directory.  The subdirectory is named after the package containing the class.   Periods in the package name become new subdirectories.  For example, if you export a class named Class1 in a package named My.Package to a target directory c:\IBMVJava\ide\export, then the Class1.class file will be in c:\IBMVJava\ide\export\My\Package.

ngrelt.gif (466 bytes)
Exporting Code
Including Resource Files in a Project