I'm running into some weird issues with pants not ...
# general
p
I'm running into some weird issues with pants not seeing my code; I have been trying to add a mixed java/kotlin app to pants located in
//anubis/spos/src/main/kotlin
and when I run
pants tailor ::
nothing happens. I tried adding "!anubis/" to the gitignore directive, I have tried adding all paths along that chain to the src roots with no luck. Moving the code to
//spos/src/main/kotlin
causes tailor to work though. Further, when I try to add
jvm_artifact
targets to
//anubis/BUILD
then
generate lockfiles
does not see them; when I move them to
//BUILD
the lockfiles are generated
b
What’s in your
pants_ignore
setting in
pants.toml
(if anything?)? And in your
.gitignore
file?
p
pants_ignore.add = ["!gcloud_key.json", "!keys.txt", "!anubis/"] .gitignore: https://pastebin.com/NT5sEuaV I don't think it should be the gitignore since the code was already checked in
b
Hm, strange, sorry for the trouble. I don’t have insight other than suggesting you delete chunks of configuration until the problem goes away (ie the directory works as expected) to narrow down what was causing it