hi sorry to ask again but I'm really stuck. I'm st...
# general
b
hi sorry to ask again but I'm really stuck. I'm still working on my code generation pants plugin that uses javac annotation processor. I managed to go one step further. i.e. I have my target
a
which declare
b1
and
b2
as dependencies (where
b1
andb
b2
are ScalaLibrary with source in my mono repo). I managed to duplicate the logic that compute the directory where class files of
b1
and
b2
will be put but I cannot find how the classpath for the compilation of
b1
and
b2
is computed. This raise a more general question on how pants works. When I look at JavacCompile task, it executes itself on a collection of target it finds in its context. Hence, when I say
./pants compile path/to/my/library
it does not direcly translate to the call of some
def compile(target)
function. I wonder how much meta data is gathered on targets before calling the desired task.