MrLoick / architecturerules

Automatically exported from code.google.com/p/architecturerules
0 stars 0 forks source link

Specify base dir in ant task #74

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
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.

I changed this in the current trunk of architecture rules, see the patch
attached.

If this would make its way into the trunk it would be great.

Cheers,
Martin

Original issue reported on code.google.com by martin.grotzke on 7 May 2009 at 9:40

Attachments:

GoogleCodeExporter commented 8 years ago

Original comment by mykola.nickishov on 17 May 2009 at 7:38

GoogleCodeExporter commented 8 years ago

Original comment by mykola.nickishov on 17 May 2009 at 7:39

GoogleCodeExporter commented 8 years ago

Original comment by mykola.nickishov on 17 May 2009 at 7:52

GoogleCodeExporter commented 8 years ago
Thank you for patch, Martin! It looks OK but I'm scared a little bit to commit 
it
without any unit tests ;-).

Original comment by mykola.nickishov on 18 May 2009 at 8:46

GoogleCodeExporter commented 8 years ago

Original comment by mykola.nickishov on 3 Jul 2009 at 11:49