question about invalidation: in
http://www.pantsbuild.org/3rdparty_jvm.html two 3rd-party dependencies layout are suggested but I'm thinking about a third... could I use filename extensions?
Currently I have one single BUILD descriptor for 3rd-party dependencies with, say 30 targets. As I noticed that my whole project gets invalidated everytime I add a 3rdparty dependency target I've been thinking to split that file. The problem with the sub-directory layout is that it forces me to rewrite all the addresses, right? Every address in the form
3rdparty:some-dep
becomes
3rdparty/some-category:some-dep
or
3rdparty/some-artifact-path
.
It seems like a good compromise to split BUILD into BUILD.cat1, BUILD.cat2, ...? I guess that amending BUILD.cat2 will not impact (invalidate) targets that are depending on BUILD.cat1?