Skip to content

Commit 67ca241

Browse files
committed
Html 5 fixes
Contributes to #3275
1 parent b038ccd commit 67ca241

38 files changed

+290
-393
lines changed

eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/p2_api_overview.htm

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,10 @@
1-
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
1+
<!DOCTYPE HTML>
22
<html lang="en">
33
<head>
44
<meta name="copyright"
55
content="Copyright (c) Sonatype Inc and others 2010. This page is made available under license. For full details see the LEGAL in the documentation book that contains this page.">
6-
<meta http-equiv="Content-Type"
7-
content="text/html; charset=ISO-8859-1">
8-
<meta http-equiv="Content-Style-Type" content="text/css">
9-
<link REL="STYLESHEET" HREF="../book.css" CHARSET="ISO-8859-1" TYPE="text/css">
6+
<meta charset="utf-8">
7+
<link REL="STYLESHEET" HREF="../book.css" TYPE="text/css">
108
<title>Overview of the p2 API</title>
119
</head>
1210
<body>
@@ -132,7 +130,7 @@ <h4>Queries and Queriables</h4>
132130
a query is a collection of all of the IUs that meet the criteria of the query. </p>
133131
<p>Queries can be created in multiple ways.
134132
The simplest way is to create a query using the QueryUtil. The following snippet creates a query that
135-
searches for all IUs that have the ID <tt>"org.eclipse.jdt"</tt>:
133+
searches for all IUs that have the ID <code>"org.eclipse.jdt"</code>:
136134
</p>
137135
<code>
138136
&nbsp;&nbsp;&nbsp;QueryUtil.createIUQuery("org.eclipse.jdt");

eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/p2_category_generation.htm

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,10 @@
1-
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
1+
<!DOCTYPE html>
22
<html lang="en">
33
<head>
44
<meta name="copyright"
55
content="Copyright (c) IBM Corporation and others 2009, 2011. This page is made available under license. For full details see the LEGAL in the documentation book that contains this page.">
6-
<meta http-equiv="Content-Type"
7-
content="text/html; charset=ISO-8859-1">
8-
<meta http-equiv="Content-Style-Type" content="text/css">
9-
<link REL="STYLESHEET" HREF="../book.css" CHARSET="ISO-8859-1" TYPE="text/css">
6+
<meta charset="utf-8">
7+
<link REL="STYLESHEET" HREF="../book.css" TYPE="text/css">
108
<title>Content categorization</title>
119
</head>
1210
<body>
@@ -26,7 +24,7 @@ <h1>Content Categorization</h1>
2624
<li><a href="#p2_inf">A p2.inf file</a></li>
2725
</ol>
2826

29-
<h2><a name="category_def">Category Definition File</a></h2>
27+
<h2><a id="category_def">Category Definition File</a></h2>
3028
<p>
3129
A category definition file is an XML file that describes which categories a feature should be listed in.
3230
The category definition file can be edited using the
@@ -38,7 +36,7 @@ <h2><a name="category_def">Category Definition File</a></h2>
3836
<a href="p2_publisher.html#category_publisher">category publisher</a>.
3937
</p>
4038

41-
<h2><a name="p2_inf">The p2.inf File</a></h2>
39+
<h2><a id="p2_inf">The p2.inf File</a></h2>
4240
<p>
4341
The p2.inf file is a properties file that can be used to customize capabilites, properties, and instructions. Information
4442
about this provisional file is available in the section

eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/p2_composite_repositories.htm

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
1-
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
1+
<!DOCTYPE html>
22
<html lang="en">
33
<head>
44
<meta name="copyright"
55
content="Copyright (c) IBM Corporation and others 2009. This page is made available under license. For full details see the LEGAL in the documentation book that contains this page.">
6-
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
7-
<meta http-equiv="Content-Style-Type" content="text/css">
8-
<link rel="STYLESHEET" href="../book.css" charset="ISO-8859-1" type="text/css">
6+
<meta charset="utf-8">
7+
<link rel="STYLESHEET" href="../book.css" type="text/css">
98
<title>Composite repositories</title>
109
</head>
1110
<body>
@@ -33,6 +32,7 @@ <h2>Sample Composite Metadata Repository</h2>
3332

3433
<p>
3534
File: <code>compositeContent.xml</code>
35+
</p>
3636
<pre>
3737
&lt;?xml version='1.0' encoding='UTF-8'?&gt;
3838
&lt;?compositeMetadataRepository version='1.0.0'?&gt;
@@ -48,13 +48,12 @@ <h2>Sample Composite Metadata Repository</h2>
4848
&lt;/children&gt;
4949
&lt;/repository&gt;
5050
</pre>
51-
</p>
5251

5352
<h2>Sample Composite Artifact Repository</h2>
5453

5554
<p>
5655
File: <code>compositeArtifacts.xml</code>
57-
56+
</p>
5857
<pre>
5958
&lt;?xml version='1.0' encoding='UTF-8'?&gt;
6059
&lt;?compositeArtifactRepository version='1.0.0'?&gt;
@@ -70,7 +69,6 @@ <h2>Sample Composite Artifact Repository</h2>
7069
&lt;/children&gt;
7170
&lt;/repository&gt;
7271
</pre>
73-
</p>
7472

7573
<h2>Composite Repositories as Part of the Build</h2>
7674

eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/p2_overview.htm

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,9 @@
1-
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><html lang="en">
1+
<!DOCTYPE HTML><html lang="en">
22
<HEAD>
33

44
<meta name="copyright" content="Copyright (c) IBM Corporation and others 2008, 2011. This page is made available under license. For full details see the LEGAL in the documentation book that contains this page." >
55

6-
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1">
7-
<META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css">
8-
9-
<LINK REL="STYLESHEET" HREF="../book.css" CHARSET="ISO-8859-1" TYPE="text/css">
6+
<meta charset="utf-8">
107
<TITLE>Provisioning platform (p2)</TITLE>
118

129
<link rel="stylesheet" type="text/css" HREF="../book.css">

eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/p2_publishingtasks.htm

Lines changed: 50 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,20 @@
1-
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
1+
<!DOCTYPE html>
22
<html lang="en">
33
<head>
44
<meta name="copyright"
55
content="Copyright (c) IBM Corporation and others 2009. This page is made available under license. For full details see the LEGAL in the documentation book that contains this page.">
6-
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
7-
<meta http-equiv="Content-Style-Type" content="text/css">
8-
<link rel="STYLESHEET" href="../book.css" charset="ISO-8859-1" type="text/css">
6+
<meta charset="utf-8">
7+
<link rel="STYLESHEET" href="../book.css" type="text/css">
8+
<style>
9+
table.custom-border {
10+
border: 1px solid black;
11+
border-collapse: collapse; /* makes borders look like one line */
12+
}
13+
table.custom-border th,
14+
table.custom-border td {
15+
border: 1px solid black;
16+
}
17+
</style>
918
<title>Ant tasks for publishing p2 metadata</title>
1019
</head>
1120
<body>
@@ -14,26 +23,26 @@ <h1>Ant Tasks for Publishing p2 Metadata</h1>
1423
in <code>org.eclipse.equinox.p2.publisher</code>. This bundles is
1524
part of the Eclipse SDK.</p>
1625

17-
<table cellspacing="1" cellpadding="2" width="95%" align="center">
18-
<tr><td><b><tt>Default Attributes</tt></b></td></tr>
19-
<tr><td><p>The <tt>p2.publish.*</tt> ant tasks outlined below all support the following attributes:</p>
20-
<table border="5" cellspacing="0" cellpadding="1" width="95%" align="center">
21-
<tr><td><tt>metadataRepository</tt></td><td>A URL specifying the metadata repository to publish to.</td></tr>
22-
<tr><td><tt>artifactRepository</tt></td><td>A URL specifying the artifact repository to publish to.</td></tr>
23-
<tr><td><tt>repository</tt></td><td>Sets both metadataRepository and artifactRepository.</td></tr>
24-
<tr><td><tt>metadataRepositoryName</tt></td><td>When creating a new metadata repository, sets the name.</td></tr>
25-
<tr><td><tt>artifactRepositoryName</tt></td><td>When creating a new artifact repository, sets the name.</td></tr>
26-
<tr><td><tt>repositoryName</tt></td><td>Sets both metadataRepositoryName and artifactRepositoryName.</td></tr>
27-
<tr><td><tt>append</tt></td><td>Whether to append to the repository. (Default is "true")</td></tr>
28-
<tr><td><tt>compress</tt></td><td>When creating a new repository, whether or not to compress the metadata. (Default is "false")</td></tr>
29-
<tr><td><tt>publishArtifacts</tt></td><td>Whether or not to publish the artifacts. (Default is "true")</td></tr>
30-
<tr><td><tt>reusePackedFiles</tt></td><td>Whether or not to include discovered Pack200 files in the repository. (Default is "false")</td></tr>
31-
<tr><td><tt>&lt;contextRepository&gt;</tt></td>
26+
<table>
27+
<tr><td><b><code>Default Attributes</code></b></td></tr>
28+
<tr><td><p>The <code>p2.publish.*</code> ant tasks outlined below all support the following attributes:</p>
29+
<table class="custom-border">
30+
<tr><td><code>metadataRepository</code></td><td>A URL specifying the metadata repository to publish to.</td></tr>
31+
<tr><td><code>artifactRepository</code></td><td>A URL specifying the artifact repository to publish to.</td></tr>
32+
<tr><td><code>repository</code></td><td>Sets both metadataRepository and artifactRepository.</td></tr>
33+
<tr><td><code>metadataRepositoryName</code></td><td>When creating a new metadata repository, sets the name.</td></tr>
34+
<tr><td><code>artifactRepositoryName</code></td><td>When creating a new artifact repository, sets the name.</td></tr>
35+
<tr><td><code>repositoryName</code></td><td>Sets both metadataRepositoryName and artifactRepositoryName.</td></tr>
36+
<tr><td><code>append</code></td><td>Whether to append to the repository. (Default is "true")</td></tr>
37+
<tr><td><code>compress</code></td><td>When creating a new repository, whether or not to compress the metadata. (Default is "false")</td></tr>
38+
<tr><td><code>publishArtifacts</code></td><td>Whether or not to publish the artifacts. (Default is "true")</td></tr>
39+
<tr><td><code>reusePackedFiles</code></td><td>Whether or not to include discovered Pack200 files in the repository. (Default is "false")</td></tr>
40+
<tr><td><code>&lt;contextRepository&gt;</code></td>
3241
<td>Nested elements specifying context repositories, supports the following attributes:
33-
<table cellspacing="0" cellpadding="2" border="1" width="100%">
34-
<tr><td><tt>location</tt></td><td>A URL specifying the location of the repository.</td></tr>
35-
<tr><td><tt>artifact</tt></td><td>"true" or "false": whether or not there is an artifact repository at this location.</td></tr>
36-
<tr><td><tt>metadata</tt></td><td>"true" or "false": whether or not there is a metadata repository at this location.</td></tr>
42+
<table class="custom-border">
43+
<tr><td><code>location</code></td><td>A URL specifying the location of the repository.</td></tr>
44+
<tr><td><code>artifact</code></td><td>"true" or "false": whether or not there is an artifact repository at this location.</td></tr>
45+
<tr><td><code>metadata</code></td><td>"true" or "false": whether or not there is a metadata repository at this location.</td></tr>
3746
</table>
3847
<p>If a given context repository contains metadata for one of the features or bundles that are being published, then that metadata
3948
will be re-used instead of generating new metadata.</p>
@@ -42,34 +51,34 @@ <h1>Ant Tasks for Publishing p2 Metadata</h1>
4251
</td></tr>
4352
</table>
4453
<br>
45-
<table cellspacing="1" cellpadding="2" width="95%" align="center">
46-
<tr><td><b><tt>p2.publish.featuresAndBundles</tt></b></td></tr>
54+
<table>
55+
<tr><td><b><code>p2.publish.featuresAndBundles</code></b></td></tr>
4756
<tr><td><p>This task will publish metadata for pre-existing binary features and plug-ins.</p></td></tr>
4857
<tr><td><p>This task supports the following attributes and elements:</p>
49-
<table border="5" cellspacing="0" cellpadding="1" width="95%" align="center">
50-
<tr><td><tt>source</tt></td><td>A folder containing plugins and features subfolders to publish.</td></tr>
51-
<tr><td><tt>&lt;features&gt;</tt></td><td>A nested fileset element specifying the locations of binary features to publish.</td></tr>
52-
<tr><td><tt>&lt;bundles&gt;</tt></td><td>A nested fileset element specifying the locations of binary plug-ins to publish.</td></tr>
58+
<table class="custom-border">
59+
<tr><td><code>source</code></td><td>A folder containing plugins and features subfolders to publish.</td></tr>
60+
<tr><td><code>&lt;features&gt;</code></td><td>A nested fileset element specifying the locations of binary features to publish.</td></tr>
61+
<tr><td><code>&lt;bundles&gt;</code></td><td>A nested fileset element specifying the locations of binary plug-ins to publish.</td></tr>
5362
</table>
5463
</td></tr>
5564
</table>
5665
<br>
57-
<table cellspacing="1" cellpadding="2" width="95%" align="center">
58-
<tr><td><b><tt>p2.publish.product</tt></b></td></tr>
66+
<table>
67+
<tr><td><b><code>p2.publish.product</code></b></td></tr>
5968
<tr><td><p>Publish a .product file. This task assumes everything included in the product already exists in the repository. (That is, all features and bundles have been previously published.)</p>
6069
</td></tr>
6170
<tr><td><p>This task supports the following attributes:</p>
62-
<table border="5" cellspacing="0" cellpadding="1" width="95%" align="center">
63-
<tr><td><tt>flavor</tt></td><td>Set the flavor for the p2 metadata, default is "tooling". Products should consider using a unique flavor if they have special requirements for bundle start levels.</td></tr>
64-
<tr><td><tt>productFile</tt></td><td>The location of the .product file describing the product.</td></tr>
65-
<tr><td><tt>executables</tt></td><td>The location of the executables feature. This is the feature that is used for branding and publishing the executables.</td></tr>
66-
<tr><td><tt>&lt;config&gt;</tt></td><td>Nested elements specifying configurations supported by this product. Config elements specify ws, os and arch:
67-
<div align="center"><tt>&lt;config ws="gtk" os="linux" arch="x86"/&gt;</tt></div>
68-
Use <tt>&lt;config ws="ANY" os="ANY" arch="ANY"/&gt;</tt> if the product can support any platform.
71+
<table class="custom-border">
72+
<tr><td><code>flavor</code></td><td>Set the flavor for the p2 metadata, default is "tooling". Products should consider using a unique flavor if they have special requirements for bundle start levels.</td></tr>
73+
<tr><td><code>productFile</code></td><td>The location of the .product file describing the product.</td></tr>
74+
<tr><td><code>executables</code></td><td>The location of the executables feature. This is the feature that is used for branding and publishing the executables.</td></tr>
75+
<tr><td><code>&lt;config&gt;</code></td><td>Nested elements specifying configurations supported by this product. Config elements specify ws, os and arch:
76+
<div style="text-align:center"><code>&lt;config ws="gtk" os="linux" arch="x86"/&gt;</code></div>
77+
Use <code>&lt;config ws="ANY" os="ANY" arch="ANY"/&gt;</code> if the product can support any platform.
6978
</td></tr>
70-
<tr><td><tt>&lt;advice&gt;</tt></td><td>Nested elements specifying specifying additional advice to use when creating the product. Currently the accepted kinds of advice are "featureVersions" and "pluginVersions".
71-
<div align="center"><tt>&lt;advice kind="featureVersions" file="finalFeaturesVersions.properties" /&gt;<br>&lt;advice kind="pluginVersions" file="finalPluginsVersions.properties" /&gt;</tt></div>
72-
PDE/Build will generate these version properties files when the builder sets the property <a href="../../org.eclipse.pde.doc.user/tasks/pde_version_qualifiers.htm#final_versions"><tt>generateVersionsLists</tt>"</a>.
79+
<tr><td><code>&lt;advice&gt;</code></td><td>Nested elements specifying specifying additional advice to use when creating the product. Currently the accepted kinds of advice are "featureVersions" and "pluginVersions".
80+
<div style="text-align:center"><code>&lt;advice kind="featureVersions" file="finalFeaturesVersions.properties" /&gt;<br>&lt;advice kind="pluginVersions" file="finalPluginsVersions.properties" /&gt;</code></div>
81+
PDE/Build will generate these version properties files when the builder sets the property <a href="../../org.eclipse.pde.doc.user/tasks/pde_version_qualifiers.htm#final_versions"><code>generateVersionsLists</code>"</a>.
7382
</td></tr>
7483
</table>
7584
</td></tr>

0 commit comments

Comments
 (0)