You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Add a .project file to `docs` folder for a project named
`org.eclipse.pde.docs`
- Remove internal table of content entries.
- Fix broken links and avoid absolute raw links.
After pressing finish, Javadoc tags will be inserted and the API Tooling nature (and builder) will be added to your projects.
87
65
API problems will now appear in the workspace where appropriate.
@@ -103,7 +81,7 @@ The tooling breaks down the types of problems reported into one of three categor
103
81
Similar to the way you can set compiler problem severities (error vs. warning vs. ignore), API tooling provides an **API Errors/Warnings** preference page that allows you to configure API problem severities.
104
82
You can configure the problem severities on a **per project basis** as well, by using the **API Errors/Warnings** property page for a project, available from the **Properties...** action.
API Tools provides a number of ant tasks to integrate the tooling into your build process.
123
101
124
102
125
-
126
-
127
103
Resources
128
104
=========
129
105
130
-
Contents
131
-
--------
132
-
133
-
*[1 Articles](#Articles)
134
-
*[2 Examples](#Examples)
135
-
*[2.1 Important Notes](#Important-Notes)
136
-
*[2.2 Running an API use scan (IDE)](#Running-an-API-use-scan-ide)
137
-
*[2.2.1 Creating a new scan configuration](#Creating-a-new-scan-configuration)
138
-
*[2.2.2 Configuring the new use scan](#Configuring-the-new-use-scan)
139
-
*[2.3 Running an API use scan (commandline)](#Running-an-API-use-scan-commandline)
140
-
*[2.3.1 Initial Setup](#Initial-Setup)
141
-
*[2.3.2 The Build File](#The-Build-File)
142
-
*[2.3.3 Use Scan Buildfile](#Use-Scan-Buildfile)
143
-
*[2.3.4 Running The Buildfile](#Running-The-Buildfile)
144
-
*[2.4 Generating Javadoc](#Generating-Javadoc)
145
-
*[2.4.1 Using the Wizard](#Using-the-Wizard)
146
-
*[2.4.2 Using the Commandline](#Using-the-Commandline)
147
-
*[2.4.3 Customizing the Custom Tags](#Customizing-the-Custom-Tags)
148
-
*[2.4.4 Ant Tasks](#Ant-Tasks)
149
-
150
-
Articles
151
-
--------
152
-
153
-
There are currently no articles.
154
-
155
106
Examples
156
107
========
157
108
@@ -160,7 +111,7 @@ Important Notes
160
111
161
112
There are a few things that should be noted prior to getting started with the examples.
162
113
163
-
1. Whenever we refer to a "pattern" we are referring to a Java regular expression as defined [here](http://java.sun.com/docs/books/tutorial/essential/regex/). Take note of escaping, etc, that is used when formulating your regular expression. If a invalid regular expression is given, the use scanner will report it back to you and abort.
114
+
1. Whenever we refer to a "pattern" we are referring to a Java regular expression as defined [here](https://java.sun.com/docs/books/tutorial/essential/regex/). Take note of escaping, etc, that is used when formulating your regular expression. If a invalid regular expression is given, the use scanner will report it back to you and abort.
164
115
2. When using the Ant tasks from the command line you should always make sure the `eclipse.install.dir` property points to the most recent Eclipse build available. This way you get all the latest and greatest versions of the tasks. The other reason to do this is that the build file (`api-tasks.xml`) uses the API tools core jar from that directory on the Ant classpath.
165
116
3. Any Ant tasks used from the command line must be called by their name as specified in the `ant-tasks.properties` file. This can cause some confusion for users who try out the Ant tasks in Eclipse and notice that the tasks are qualified with `apitooling` but they are not qualified in the `ant-tasks.properties` file. Consider the following example:
166
117
@@ -193,7 +144,7 @@ Running an API use scan (IDE)
193
144
In the IDE API use scans can be run from the External tools dialog.
194
145
The benefits of providing the scanning as an external tool are many, the foremost being: 1. you can create as many different configurations as you want for scanning different distributions of your products and 2. each configuration can have its own persisted settings.
195
146
196
-

147
+

197
148
198
149
### Creating a new scan configuration
199
150
@@ -361,11 +312,11 @@ It can be found by using the Generate Javadoc command located in the Project mai
361
312
362
313
Once the wizard starts you will have to locate the Javadoc executable (if not already specified) and select the bundles you wish to generate Javadoc for.
363
314
364
-

315
+

365
316
366
317
On the next page, you can configure additional options.
367
318
368
-

319
+

369
320
370
321
On the last page is where we need to tell the wizard about the custom API tools tags.
371
322
In the `Extra Javadoc options` area you will want to enter the following tag definitions:
@@ -382,11 +333,11 @@ In the `Extra Javadoc options` area you will want to enter the following tag def
382
333
383
334
The wizard will then look like the following:
384
335
385
-

336
+

386
337
387
338
Once you press finish and the Javadoc tool completes you should see API tools tag restrictions appearing in your documentation like the following example:
388
339
389
-

340
+

390
341
391
342
### Using the Commandline
392
343
@@ -411,7 +362,7 @@ Where the `apitags` file would contain the following:
411
362
412
363
413
364
You will also have to specify where the source is and any extra parameter for javadoc to be able to complete.
414
-
For a description of these and further information on using `javadoc` see [the Sun Javadoc guide](http://java.sun.com/j2se/1.4.2/docs/tooldocs/windows/javadoc.html)
365
+
For a description of these and further information on using `javadoc` see [the Sun Javadoc guide](https://java.sun.com/j2se/1.4.2/docs/tooldocs/windows/javadoc.html)
0 commit comments