| How to generate a
usage report of WTP code |
| |
- Download the Eclipse
API scanner and unzip it on top of your Eclipse driver.
- Start Eclipse.
- Launch
org.eclipse.wtp.releng.tools.component.adopters.SimpleClass2Reference
as an Eclipse application. See figure below.

- Provide the following VM arguments:
-Dsrc=D:\temp\MyProduct.zip
-Dbase=D:\temp\wtp-sdk-1.5M4.zip
-Doutput=D:\temp\usage\wtp-usage.xml
-Dincludes=org.eclipse.wst.*,org.eclipse.jst.*,org.eclipse.jem*,org.eclipse.jpt*
-DcontactInfo=your_email@your_business.com
-Dhtml=D:\temp\usage\wtp-usage.html
- Click run. Below is a sample WTP usage report.

|
| How to check for API
and non-API breakages |
| |
- Check out the org.eclipse.wtp.releng.tools.component.core
plugin from CVS if you have not already done so. Lauch
org.eclipse.wtp.releng.tools.component.adopters.APIRefCompatibilityScanner
as an Eclipse application. See figure below.

- Provide the following VM arguments:
-Dsrc=D:\temp\wtp-sdk-1.5M4.zip -Duse=D:\temp\usage -DoutputDir=D:\temp\output
- Click run. The sample report below shows you the
classes/methods/fields that were removed.

|