metadataeditor/com.nokia.s60tools.metadataeditor.doc.user/html/tasks/edit_metadata.htm
author dpodwall
Tue, 12 Jan 2010 13:17:53 -0600
changeset 0 61163b28edca
permissions -rw-r--r--
initial EPL conversion
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
0
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
     1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
     2
<html>
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
     3
<head>
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
     4
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1">
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
     5
<title>Editing a metadata file</title>
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
     6
<link href="../../book.css" type="text/css" rel="stylesheet">
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
     7
</head>
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
     8
<body>
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
     9
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    10
<h2>Editing a metadata file</h2>
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    11
<p>You can edit the properties of a metadata file by modifying the name, description and subsystem information of an Application Programming Interface (API), as well as filling in information related to releases, libraries, Software Development Kits (SDKs) and attributes.</p>
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    12
<p>To edit a file:</p>
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    13
<ol>
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    14
<li>To open a metadata file (<i>.metaxml</i>) for editing, do any of the following:
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    15
<ul>
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    16
<li>double-click the file in the project view,</li>
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    17
<li>right-click your project and select <b>Open/Open with > Metadata Editor</b> from the context menu,</li>
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    18
<li>go to <b>File > Open File</b> and browse for the file from your workstation.</li>
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    19
</ul>
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    20
<p>The file is opened for editing, as shown in the following example:</p>
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    21
<img src="images/ME_overview.png">
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    22
<p><b>Important:</b> Some of the displayed fields are different depending on whether your file complies with version 1.0 or version 2.0 of API metadata.</p>
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    23
<p>For instructions on converting files from 1.0 to 2.0, see <a href="converting_metadata.htm">Converting metadata files</a>.</p></li>
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    24
<li>For more information on how to modify the fields, see the following tables:
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    25
<ul>
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    26
<li><a href="edit_metadata.htm#general">General API fields</a></li>
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    27
<li><a href="edit_metadata.htm#edit_release">Release information</a></li>
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    28
<li><a href="edit_metadata.htm#add_libraries">Libraries</a></li>
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    29
<li><a href="edit_metadata.htm#edit_attribs">Attributes</a></li>
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    30
<li><a href="edit_metadata.htm#edit_sdk">Extended SDK (only in v.1.0)</a></li>
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    31
</ul></li>
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    32
<li>To save, click <b>File > Save</b>.</li>
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    33
</ol>
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    34
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    35
<h3><a name="general"></a>General API fields</h3>
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    36
<p><b>Name</b>, <b>Description</b> and <b>Subsystem</b> fields can be freely edited.</p>
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    37
<p>The <b>ID</b> and <b>Data version</b> fields cannot be modified because they are created automatically. The <b>ID</b> is a unique identifier for the API, which does not change even if its name did.</p>
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    38
<p>The <b>Type</b> field is automatically set to <i>c++</i>.</p>
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    39
<table border="1" cellspacing="1" cellpadding="2">
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    40
<colgroup><col><col></colgroup>
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    41
<tbody>
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    42
<tr>
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    43
<td width="121"><b>Name</b></td>
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    44
<td width="849"><p>If you change the name of the API, the name of the metadata file will be changed as well and the newly renamed file is opened in the view.</p><p>Note that the renamed file is not opened automatically if the file was opened outside the Carbide.c++ IDE workspace by selecting <b>File > Open File...</b>. In this case, the file is closed and a message is displayed prompting
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    45
you to reopen the file manually for further editing.</p>
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    46
</td>
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    47
</tr>
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    48
<tr>
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    49
<td><b>Description</b></td>
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    50
<td><p>A free-form, short description of what the API is for. It will be visible, for example, in the <b>API Query</b> tool in Carbide.c++ IDE, and also in common SDK documentation if the API belongs to a Software Development Kit (SDK).</p>
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    51
</td>
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    52
</tr>
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    53
<tr>
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    54
<td><i>v. 1.0:</i><br>
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    55
<b>Subsystem</b><br>
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    56
<br>
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    57
<i>v. 2.0:</i><br>
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    58
<b>Collection</b>
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    59
</td>
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    60
<td><p>The collection name that owns the API. It has to be the collection directory name in the source hierarchy and found under the package that exports the API.</p>
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    61
</td>
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    62
</tr>
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    63
</tbody>
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    64
</table>
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    65
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    66
<h3><a name="edit_release"></a>Release information</h3>
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    67
<table border="1" cellspacing="1" cellpadding="2">
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    68
<colgroup><col><col></colgroup>
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    69
<tbody>
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    70
<tr>
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    71
<td><b>Since version</b></td>
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    72
<td><p>Indicates the release in which the API was first visible in the specified category.</p><p>The field is mandatory if the release is <i>SDK</i> or <i> Public</i>, and optional if it is <i>Domain</i> or <i>Platform</i>.</p>
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    73
</td>
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    74
</tr>
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    75
<tr>
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    76
<td><b>Category</b></td>
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    77
<td><p>Indicates the category of the API.</p>
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    78
<ul>
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    79
<li><i>v. 1.0: </i><b> SDK</b> <br>
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    80
<i>v. 2.0: </i> <b> Public</b><br>
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    81
<br>
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    82
Published in SDK for ISVs (Independent Software Vendors).</li>
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    83
<li><i>v. 1.0: </i><b> Domain</b> <br>
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    84
<i>v. 2.0: </i> <b> Platform</b> <br>
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    85
<br>
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    86
Published to other architecture domains (ADO) and can be used from the other ADOs.</li>
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    87
</ul>
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    88
</td>
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    89
</tr>
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    90
<tr>
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    91
<td><b>Deprecated</b></td>
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    92
<td><p>If this box is selected, the API is deprecated, meaning it is not in use anymore. Select the S60 platform version from the <b>Deprecated since </b> menu. </p><p>The <b>Deprecated since</b> value has to be bigger than the value in the <b>Since version</b> menu.</p>
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    93
</td>
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    94
</tr>
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    95
</tbody>
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    96
</table>
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    97
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    98
<h3><a name="add_libraries"></a>Libraries</h3>
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    99
<p>This field lists all the libraries needed to use this API.</p>
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   100
<p><b>Note:</b> In Version 2.0 of the API metadata, this is mandatory to define.</p>
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   101
<p>To add new import libraries (.lib files) to the API metadata file:</p>
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   102
<ol>
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   103
<li>Click <b>Add</b> next to the library list.</li>
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   104
<li>In the dialog that opens, enter the name of the library.</li>
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   105
<li>Click <b>OK</b>.</li>
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   106
</ol>
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   107
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   108
<h3><a name="edit_attribs"></a>Attributes</h3>
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   109
<table border="1" cellspacing="1" cellpadding="2">
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   110
<colgroup><col><col></colgroup>
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   111
<tbody>
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   112
<tr>
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   113
<td><b>HTML Doc provided</b></td>
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   114
<td><p>By default, all SDK APIS should provide documentation in XML format.
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   115
However, in case HTML documentation for an API already exists, the value of
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   116
this field should be <b>Yes</b>.</p></td>
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   117
</tr>
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   118
<tr>
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   119
<td><b>Adaptation</b></td>
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   120
<td><p>This attribute is mandatory and indicates if the API is an adaptation
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   121
API or not. </p><p>Adaptation APIs are interfaces that an S60 licensee needs
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   122
to implement in order to get its platform working.</p></td>
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   123
</tr>
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   124
</tbody>
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   125
</table>
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   126
<h3><a name="edit_sdk"></a>Extended SDK (only in v. 1.0)</h3>
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   127
<p>
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   128
S60 extension SDKs are made to simplify the delivery of non-SDK APIs to 3rd
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   129
party developers. The plug-ins contain APIs that are not in the public SDK
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   130
but are seen important for 3rd parties' business cases. </p><table border="1"
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   131
cellspacing="1" cellpadding="2">
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   132
<colgroup>
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   133
<col>
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   134
<col></colgroup>
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   135
<tbody>
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   136
<tr>
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   137
<td><b>Extended SDK</b></td>
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   138
<td><p>The selection is optional and needs to be specified only if the API
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   139
is a part of an extended SDK.</p>
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   140
</td>
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   141
</tr>
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   142
<tr>
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   143
<td><b>Since version</b></td>
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   144
<td><p>Defines the version since when the API was a part of an extended SDK.</p><p>If the <b>Is Extended SDK</b> box is selected, you must also select the <b>Since version</b> value from the drop-down menu.</p>
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   145
</td>
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   146
</tr>
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   147
<tr>
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   148
<td><b>Deprecated since</b></td>
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   149
<td><p>Defines the version since when the API was deprecated.</p><p>This value has to be bigger than the <b>Since version</b> value.</p>
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   150
</td>
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   151
</tr>
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   152
</tbody>
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   153
</table>
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   154
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   155
<h5>Related tasks</h5>
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   156
<ul>
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   157
	<li><a href="create_metadata.htm">Creating a new metadata file</a></li>
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   158
	<li><a href="converting_metadata.htm">Converting metadata files</a></li>
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   159
</ul>
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   160
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   161
<div id="footer">Copyright &copy; 2009 Nokia Corporation and/or its subsidiary(-ies). All rights reserved. 
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   162
  <br>
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   163
License: <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a>.</div>
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   164
</body>
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
   165
</html>