Hi,
I just posted a patch that allows to set the base dir on the ant task,
perhaps this is useful to others:
http://code.google.com/p/architecturerules/issues/detail?id=74
What is this patch good for (just copying the text from the issue):
We have a multi-module ant build, with the same architecture rules for
each
module. We want to be able to run architecture rules for a single
module
and for all modules, and therefore configure the sources just as
"target/classes", instead of "mod1/target/classes", "mod2/target/
classes" etc.
When we specify target/classes as source this is fine when we run
architecture rules from within a module. When we run architecture
rules
from the main dir (with modules as sub dirs), this fails. We need to
specify the module dir as base directory to fix this.
The patch contains the changes in the current trunk of architecture
rules.
Cheers,
Martin