Поделиться через


Using the Catalog Editor to Create a Catalog File (Windows Embedded CE 6.0)

1/6/2010

In Platform Builder for Windows Embedded CE 6.0, you can add new functionality to the Catalog by creating a Catalog item (.pbcxml) file by using the Catalog Editor. For example, if you have created a driver, you can create a Catalog item file to contain the XML metadata that enables you to add the driver to the Catalog for use in OS designs.

For information about the Catalog Editor, see Catalog Editor.

For information about exporting, from the Catalog, a Catalog item that you have created, see Exporting a Catalog Item from the Catalog.

Using the Catalog Editor to Create a Catalog File

  1. Create or open an OS design.

  2. From the File menu, select New, and then select File.

    The New File dialog box appears.

  3. In the Categories pane, select Platform Builder, select Platform Builder Catalog File, and then click Open.

    When you click Open, you create a default Catalog item file that you can populate with metadata pertaining to the Catalog item.

  4. To save the Catalog item file that you have created, from the File menu, select **Save <**CatalogFile.pbcxml> As.

    When you do this, the Save File As dialog box appears.

  5. Navigate to the directory location where you want to save the Catalog file.

    For a new feature Catalog item, you must save the Catalog file in a folder named Catalog. You can save it in an existing Catalog folder in an existing directory for a feature (for example, %_WINCEROOT%\PUBLIC\SERVERS\CATALOG), or in a new Catalog folder in a new directory under %_WINCEROOT% (for example, %_WINCEROOT\VENDOR\FEATURE\CATALOG).

    For a new BSP Catalog item, you must save the Catalog file in a folder named Catalog that is in the platform directory for your new BSP (for example, %_WINCEROOT%\PLATFORM\MyBSP\CATALOG).

  6. In the File name field, enter the name that you want to use for the Catalog file, and then click Save.

See Also

Concepts

Catalog Editor
Catalog Item Management