I have created a small ant script that invokes glean on each folder
under projects that has feedback.properties, so I have something like
this:
R
|- build.xml
|- projects/
| |- FooProject/
| | |- feedback.properties
| |- BarProject/
| |- feedback.properties
|- glean/
|- build.xml
|- ...
And I had a problem with glean's build.xml - because the glean-subant
macro does not handle the "basedir" property correctly. I fixed it by
adding this line to the glean-subant macro:
<property name="basedir" location="tool/@{pattern}"/>
Without this line - each tool (like findbugs for example) had basedir
set to glean root directory.
Generally, because tools like findbugs and pmd, etc .. take a long
time. I would like to just run glean on ALL my projects in the company
every-night as part of my CruiseControl builds. Regurarly the projects
and unit tests just run on every commit.
HELP!
Another user has just been having this same problem, and I think we
have a fix for it. I'll try to get a patch release out as soon as
possible. The approach is similar to what you did, providing a
defined property for the tool script's directory rather than relying
on "basedir".
If you need this right away, I can try to get it to you. Otherwise I
would hope to get it out in the next couple of days.
Thanks,
John