Loading Resources from a Zip File

You can select a Zip or JAR file that contains the resources you want to load; ALSB locates and imports the resources from this Zip file.

Resources like WSDLs or XML Schemas can define full trees of dependent resources. The bulk load feature allows you to upload a set of resources at once; you need not resolve the dependencies manually.

  1. If you have not already done so, click Create to create a new session or click Edit to enter an existing session. See Using the Change Center.
  2. Select Project Explorer, then select the project or folder to which you want to add resources. The Project/Folder View page is displayed.
  3. From the Create Resource drop-down list, select Zipped Resources. The Load Resources page is displayed.
  4. In the Select Zip File field, specify a Zip file to import. Enter the name of the file (qualified by its path); or, click Browse, locate the file, then click Open.
  5. Review the mapping of resource types to file extensions. Change or add extensions, according to your needs. Separate multiple extensions with commas.
  6. Each file in the Zip file is a possible resource, and the file extension is the commonly used way to identify the file type. ALSB defines a default extension for each resource, but if you have additional extensions to describe those resources, this map enables you to declare those extensions to the loader. After you define the Zip file and extension map, the ALSB loader scans the contents of the Zip file and tries to associate a resource type with each file. A file without an extension or one that does not have an extension defined in the map is considered unknown and is automatically excluded from the load. For known files, the name of the resource is the name of the file without its extension. The folder structure of the Zip file is recreated in the target ALSB Console folder.

    An extension can only be associated with one file type.

  7. Click Next.
  8. On the Load Resources - Review Loaded Resources page, review the resources you are importing. You can clear the check boxes next to any resources you do not want to include in this import.
  9. To import the selected resources, click Import.
  10. The Load Resources - Import Result page displays the imported resources. Click Load Another to import resources from another file, or proceed with other tasks by selecting a different page from the left navigation pane.
  11. To end the session and deploy the configuration to the run time, click Activate under Change Center.