Correct, the command line version of
the scanner only reads plugin.xml files and bundle MANIFEST.MF files. It
will only scan libraries defined in these files. As for your concern, "src/class"
is one of the many possible .classpath configuration for a workbench project.
To support this correctly, the scanner will need to parse/read .classpath
files as well. This is something that we can put in the support for, but
if you are scanning your workbench projects, is there any reason why you
do not want to use the workbench/GUI version of the scanner?
IBM Rational Software - Performance Analyst
IBM Toronto Lab.
8200 Warden Ave. Markham, Ontario, L6G 1C7
Internal mail: D3/R8V/8200/MKM (D3-268)
T/L: 969 3531
Tel: (905) 413 3531
Fax: (905) 413 4920
Jens Lukowski <jens.lukowski@xxxxxx> Sent by: wtp-dev-admin@xxxxxxxxxxx
02/09/2005 05:49 AM
Please respond to
Re: [wtp-dev] API Scanning
I tested the genUsage feature of the new apitool and it looks like that
the command line tool looks only for the jar archives and doesn't use
the src/class files.
I used the following command line:
genViolation -eclipseDir <my workspace> -compXMLDir <where the
the component.xml are> -compVioDir . -genUsage
In both of the component-use.xml files no usage was identified.
Do I do something wrong ?
Arthur Ryman wrote:
> Jeffrey Liu has published a Web page that describes the new API
> Scanner. Please review this and send your comments to this list.
>  http://eclipse.org/webtools/development/apiscanner/apiscanner.html
> Arthur Ryman,
> Rational Desktop Tools Development
> phone: +1-905-413-3077, TL 969-3077
> assistant: +1-905-413-2411, TL 969-2411
> fax: +1-905-413-4920, TL 969-4920
> mobile: +1-416-939-5063, text: 4169395063@xxxxxxx
> intranet: http://labweb.torolab.ibm.com/DRY6/
wtp-dev mailing list