Community
Participate
Working Groups
Build Identifier: eclipse-SDK-I20110222-0800-win32.zip The "API Use Scans" preference allows adding API use scans so they can be compared to the workspace to ensure the API references still exist. I ran into the following problem when I tried it out. My scan report location was accepted as valid in the preference page dialog. However, the API analysis builder didn't report the errors I expected it to report. I spend some time trying to figure why. Eventually, I looked into the source code and found out that at run time, the "UseScanManager.getExactScanLocation()" method looks for a parent "xml" directory and if this directory is not there, it silently interrupts the scan so there is not way to figure out why it didn't produce the expected results. I don't understand why is there a requirement the scan report's parent directory to be named "xml". And second, if this is a needed requirement, I think there should be a prominent error displayed, and probably at the time the location is added and validated. Reproducible: Always
Ankur, please investigate as soon as possible. Would this also affect the new use scan task?
*** This bug has been marked as a duplicate of bug 338490 ***