Importing files
You can import files.
About this task
Procedure
- Click the Import button and select Java Source, Archive, or Resource.
- In the dialog, type in, select, or browse for the "From directory," that is, the directory containing the files to be imported.
- 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.
- 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.
- If you are pointing at sources, the destination folder is the
- 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.
- Click Finish in the dialog to initiate the import operation.
- 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.