uCosminexus Application Server, Application Development Guide

[Contents][Glossary][Index][Back][Next]

5.3.1 Creating cosminexus.xml

You use the Eclipse functionality to create cosminexus.xml.

To create cosminexus.xml:

  1. In the Project Explorer view of the Java EE perspective, select the META-INF folder of the enterprise application project that creates cosminexus.xml.
    Reference note
    If there is no META-INF folder, create a META-INF folder.
    To create a META-INF folder, with the enterprise application project that creates cosminexus.xml selected in the Project Explorer view, select Create New from the context menu.
  2. From the Eclipse menu bar, select File - New - Other.
    The New dialog box is displayed.

    [Figure]

  3. Select XML - XML file, and click the Next button.
    The XML page of the New XML File dialog box is displayed.

    [Figure]

  4. Specify the following items:
    Items Specified values
    Enter or select the parent folder Select the folder for creating the cosminexus.xml.
    By default, the Enterprise application project selected in step 1 is selected.
    File name Enter cosminexus.xml.
  5. Click the Next button.
    The Create XML File From page is displayed.

    [Figure]

  6. Select Create XML file from a DTD file, and click the Next button.
    The Select DTD File page is displayed.
  7. Select Select XML Catalog entry, and then select DTD of cosminexus.xml in the XML Catalog area.
    The selected DTD is as follows:
    Key column:
    -//Hitachi, Ltd.//DTD Cosminexus 9.5//EN
    URI column:
    file:///Developer-installation -directory/CC/admin/dtds/cosminexus_9_5.dtd
    [Figure]
  8. Click the Next button.
    The Select Root Element page is displayed.

    [Figure]

  9. Without changing the displayed contents, click the Finish button.
    cosminexus.xml is created in the Enterprise application project selected in step 1.
    The contents defined in the created cosminexus.xml are as follows. A definition file without properties is created.
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE cosminexus-app PUBLIC "-//Hitachi, Ltd.//DTD Cosminexus 9.0//EN" "file:///Developer-installation-directory/CC/admin/dtds/cosminexus_9_5.dtd">
    <cosminexus-app>
    </cosminexus-app>