Importing files

You can import files.

About this task

Do the following:

Procedure

  1. Click the Import button and select Java Source, Archive, or Resource.
  2. In the dialog, type in, select, or browse for the "From directory," that is, the directory containing the files to be imported.
  3. Select the files you want to import by checking the boxes.
    The boxes list the available subdirectories and files. The available files are limited depending on the selection when you click Import:
    • If you are pointing at sources, Java files become available.
    • If you are pointing at archives, JAR files become available.
    • If you are pointing at resources or not pointing at anything, all files except Java source files become available.
  4. To change the location where the imported files are stored, type in, select, or browse for the "Into folder."
    The default locations depend on the selection in the agent or library hierarchy when you click Import as follows:
    • If you are pointing at sources, the destination folder is the src folder.
    • If you are pointing at archives, the destination folder is the lib folder.
    • If you are pointing at resources or not pointing at anything, the destination folder is the res folder.
  5. To further limit what is imported, click Filter Types and select the types of files in the Select Types dialog. Click OK to finalize the file types selection and close the dialog.
  6. Click Finish in the dialog to initiate the import operation.
  7. You can reorder an archive by selecting it and clicking Order Up or Order Down.
    No matter their import source, all archives appear in a flat list and are referenced in that order.

Results

The new files appear in the folder hierarchy. Archives (JAR and ZIP files) are added to the Domino® classpath. (Code is not brought into Domino® as in the Notes® Java agent interface.)