i'm trying to make a multi-module maven project, a...
# random
t
i'm trying to make a multi-module maven project, and i'm having some trouble getting intellij to use the correct working dir for junit - anyone know how to fix this?
the answers i've found on youtrack and stack overflow haven't helped
e
This answer probably doesn’t help you either 😞 Why do you junit tests need to rely on the current working directory? Usually you are better of using either resources from the classpath or temporary directories/files crated on the fly. Anyway: You can set the working directory in an IDEA run configuration.
t
You can set the working directory in an IDEA run configuration.
i tried that, but it doesn't work 🤔
i need to test that the server is able to resolve static files, both external and on the classpath - neither work in the child module at the moment
Turned out I could fix it by changing the build setup in the pom, not sure how exactly that solved it, but it did