WebSphere Message Brokers
File: ad08950_
Writer: Terry Cowling

Task topic

This build: July 31, 2007 21:22:58

Importing file systems into the workbench

Before the workbench can use files to create a message definition that is based on a WSDL definition, XML schema, XML DTD, C header file, or COBOL copybook, the files must be imported or copied into the workbench's file structure. This topic explains the three ways in which you can do this:

Use any of these import methods to ensure that a file is available for use by your selected message set project. You can then select the imported file in the New Message Definition File wizard to create a message definition that is based on this file.

Using the Import wizard

Use the Import wizard to import all the files, or a selection of files, from the specified source.

To import files using the Import wizard:

  1. Switch to the Broker Application Development perspective.
  2. In the Broker Development view, click the project folder into which you are going to import the files.
  3. Open the Import wizard by clicking File > Import on the workbench menu.
  4. On the Select page of the Import wizard, click either File System or Zip file, depending on the type of resource that you are importing.
  5. Click Next.
  6. On the File System page, in the Directory field, specify the import source. Either type the source name in the field, or click Browse and select the parent directory, or compressed file that contains the file or files that you want to import; then click OK (directory) or Open (compressed file).
    Tip: Directories from which you have recently imported files, are shown in the drop-down list in the Directory field.
  7. Using the left and right panes that appear under the Directory field, specify the folders or files, or both, that you want to import. Note the following points when you are making your selections:
    • To import the entire contents of a folder into the workbench, select the check box for this folder in the left pane. To view any secondary folders within a folder, expand the folder by clicking the plus sign (+).
    • To import a specific file or files within a folder, use the right pane to select the individual files that you want to import. If you select a file or files in the right pane, the check box for the folder containing these files is greyed in the left pane to indicate that only some of the files in the folder will be imported into the workbench.
    • To restrict the type of files that you are importing, click Filter Types and then, on the Select Types window, select the check boxes for the file types that you want to include, and click OK. If you want to include files with extensions that are not shown in the list, type these extensions in the Other Extensions field.
    • To select all the folders and files that are shown on the File System page, click Select All.
    • To deselect all the folders and files that are currently selected on the File System page, click Deselect All.
    Note: The Select the destination for imported resources field should already be filled in with the name of the project folder that you selected in step 2.
  8. Optional: To change the destination project or folder, click Browse to open the Folder Selection window. Select an alternative project folder by clicking the folder then clicking OK.
  9. Optional: To overwrite existing resources and not have a warning displayed, select the Overwrite existing resources without warning check box. This check box applies to both compressed files and file systems.
  10. File system import only: Select one of the following options, depending on the folder structure that you want to create:
    • Create complete folder structure
    • Create selected folders only
  11. Click Finish.

The files that you selected are imported and are shown in the Broker Development view under the project folder that you selected.

Dragging and dropping

You can use the drag-and-drop method to import files from your file system into the workbench. Drag the resources that you are importing to the exact location in the Broker Development view where you want the resources to be. Do not drag them onto a blank area in the Broker Development view.

To import files by dragging and dropping:

  1. In your file system, locate the file or folder that you want to import into the workbench.
  2. Drag the file or folder to a specific location in the Broker Development view. When you are dragging resources into the Broker Development view, the project or folder into which you are trying to drop the resource is selected.
  3. Ensure that the file or folder is copied into the workbench.

Copying and pasting

You can use your operating system's copy and paste function as a method of importing a file system into the workbench.

To import files by copying and pasting:

  1. Locate the file or directory that you want to import into the workbench.
  2. Using your operating system's copy and paste function, copy the file or directory to your system's clipboard.
  3. Select the destination for the file or directory in the Broker Development view.
  4. From the workbench menu, click Edit > Paste.

The files or directories are copied into the workbench and placed into the location that you selected.

Related reference
Import formats
Notices | Trademarks | Downloads | Library | Support | Feedback

Copyright IBM Corporation 1999, 2007Copyright IBM Corporation 1999, 2007. All Rights Reserved.
This build: July 31, 2007 21:22:58

ad08950_ This topic's URL is: