Hi, I cannot get any java.io.File when my application running. I have some png files located in my play app : "/app/my/package/file.png".
I'm trying to access them in my class with the following code : new File(Play.applicationPath.getPath() + "/app/my/package/file.png) but I cannot get the file. I tried a lot of other paths : - "/app/app/my/package/file.png" - "~/app/app/my/package/file.png" - etc... Of course if I run play locally the path works fine. I've browsed the cedar filesystem with "heroku run bash" command and the file is correctly in the path : "/app/app/my/package/file.png". Thank you for your help, Lukas -- You received this message because you are subscribed to the Google Groups "Heroku" group. To view this discussion on the web visit https://groups.google.com/d/msg/heroku/-/6kARXqHCgywJ. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/heroku?hl=en.
