----- Original Message -----From: Robins, Anthony YSent: Thursday, April 07, 2005 12:46 PMSubject: verifydesign problem
How do i submit a bug on verifydesign task?
Via ant-contribute or another website?
I apologize if this isnt the correct place to put this bug.
Anyways, here is the bug:
Here is an example.
We have 2 packages:
A file in DM calls DMT but DM does not have a dependency on
DMT in design.xml. But verifydesign succeeds anyways.
needdeclarartions is set to true in both packages and subpackages is
set to "include" in both packages.
The problem i think is in Design.isClassInPackage() where
the startsWith() does not take into account the above scenario. That is,
the className can start with the passed in package but the top level
packages can still be different.
So I changed it to
className.startsWith(p.getPackage() + ".")) locally.