I have a question about loading properties from custom configuration files. I have tried
two different approaches to loading my oauth.properties
file but I can\
I'm not sure if conf is part of the classpath. So I would try /conf/oauth.properties
or put the file into the classpath. Furthermore you should use Play.application.classloader()
instead of Classloader.
About the include: I still think you need to call Play.application().configuration().get("clientID");
To analyze the situation you can start the app with -Dconfig.trace=loads
and analyse the configuration with Play.application().configuration().root().render()
.
Hope this give you enough hints so that you can solve your problem.