1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
2 | <!DOCTYPE html
|
---|
3 | PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
---|
4 | <html xml:lang="en-us" lang="en-us">
|
---|
5 | <head>
|
---|
6 | <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
|
---|
7 | <meta name="copyright" content="(C) Copyright 2005"/>
|
---|
8 | <meta name="DC.rights.owner" content="(C) Copyright 2005"/>
|
---|
9 | <meta name="DC.Type" content="reference"/>
|
---|
10 | <meta name="DC.Title" content="Version and support information"/>
|
---|
11 | <meta name="abstract" content="The following extension points are used by convention to define version and support info within a plug-in."/>
|
---|
12 | <meta name="description" content="The following extension points are used by convention to define version and support info within a plug-in."/>
|
---|
13 | <meta name="DC.Relation" scheme="URI" content="../dev_ref/plugins-overview.html"/>
|
---|
14 | <meta name="DC.Format" content="XHTML"/>
|
---|
15 | <meta name="DC.Identifier" content="plugin-support"/>
|
---|
16 | <meta name="DC.Language" content="en-us"/>
|
---|
17 | <link rel="stylesheet" type="text/css" href="../commonltr.css"/>
|
---|
18 | <link rel="stylesheet" type="text/css" href="../dita-ot-doc.css"/>
|
---|
19 | <title>Version and support information</title>
|
---|
20 | </head>
|
---|
21 | <body id="plugin-support">
|
---|
22 |
|
---|
23 |
|
---|
24 | <h1 class="title topictitle1">Version and support information</h1>
|
---|
25 |
|
---|
26 |
|
---|
27 | <div class="body refbody"><p class="shortdesc">The following extension points are used by convention to
|
---|
28 | define version and support info within a plug-in.</p>
|
---|
29 |
|
---|
30 | <div class="section"> <ul class="ul" id="plugin-support__ul_jxr_hlv_mc">
|
---|
31 | <li class="li"><samp class="ph codeph">package.support.name</samp></li>
|
---|
32 |
|
---|
33 | <li class="li"><samp class="ph codeph">package.support.email</samp></li>
|
---|
34 |
|
---|
35 | <li class="li"><samp class="ph codeph">package.version</samp></li>
|
---|
36 |
|
---|
37 | </ul>
|
---|
38 | <div class="note note"><span class="notetitle">Note:</span> <p class="p">The toolkit does not currently do anything
|
---|
39 | with these values, but may do so in the future.</p>
|
---|
40 |
|
---|
41 | </div>
|
---|
42 | <p class="p">The <samp class="ph codeph">package.version</samp> value should
|
---|
43 | follow the syntax rules:</p>
|
---|
44 | <pre class="pre codeblock">version ::= major ( '.' minor ( '.' micro ( '.' qualifier )? )? )?
|
---|
45 |
|
---|
46 | major ::= number
|
---|
47 | minor ::= number
|
---|
48 | micro ::= number
|
---|
49 | qualifier ::= ( [0..9] | [a..zA..Z] | ’_’ | '-' )+</pre>
|
---|
50 |
|
---|
51 | <p class="p">The default value is <samp class="ph codeph">0.0.0</samp>.</p>
|
---|
52 | </div>
|
---|
53 |
|
---|
54 | <div class="example"><h2 class="title sectiontitle">Example</h2><pre class="pre codeblock"><plugin id="com.example.WithSupportInfo">
|
---|
55 | <feature extension="package.support.name" value="Joe the Author"/>
|
---|
56 | <feature extension="package.support.email" value="[email protected]"/>
|
---|
57 | <feature extension="package.version" value="1.2.3"/>
|
---|
58 | </plugin></pre>
|
---|
59 | </div>
|
---|
60 |
|
---|
61 | </div>
|
---|
62 |
|
---|
63 | <div class="related-links">
|
---|
64 | <div class="familylinks">
|
---|
65 | <div class="parentlink"><strong>Parent topic:</strong> <a class="link" href="../dev_ref/plugins-overview.html" title="The DITA Open Toolkit comes with a built in mechanism for adding in extensions through plug-ins. These plug-ins may do a wide variety of things, such as adding support for specialized DITA DTDs or Schemas, integrating processing overrides, or even providing entirely new output transforms. Plug-ins are the best way to extend the toolkit in a way that is consistent, easily sharable, and easy to preserve through toolkit upgrades.">Creating DITA-OT plug-ins</a></div>
|
---|
66 | </div>
|
---|
67 | </div>
|
---|
68 |
|
---|
69 | </body>
|
---|
70 | </html>
|
---|