matheshar / simple-build-tool

Automatically exported from code.google.com/p/simple-build-tool
Other
0 stars 0 forks source link

How to access resources folder? #139

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
My path to resources folder: "projectroot/resources" (override def 
mainResourcesPath = "resources")
To access some file that is located, for example in 
"projectroot/resources/sql/dump" I use Source.fromFile("resources/sql/dump"). 
However I understand that if I will change my project layout than program will 
fail. Is there proper way to access resources?

Original issue reported on code.google.com by jerihofr...@gmail.com on 12 Jan 2011 at 3:22

GoogleCodeExporter commented 8 years ago
Please use the mailing list for questions.

Original comment by dmhar...@gmail.com on 17 Jan 2011 at 2:48