https://pantsbuild.org/ logo
#general
Title
# general
b

brief-engineer-67497

12/06/2018, 4:51 PM
I have a question with regards to resources and jvm. I have a
resources
folder containing two files : - BUILD - foo.txt BUILD declare a simple target:
Copy code
resources(
    sources=rglobs('*'),
)
previously my code was able to access to the resources doing
getClass().getResource("foo.txt")
, but builded with pants I need to do
getClass().getResource("resources/foo.txt")
. Is this normal ?