I am using the yabe Play Framework language tutorial and have encountered a problem adding tags. I'm not sure which code I added that caused the change, but now the Fixtures.loadModels (data.yml) code snippet is looking for the file in ... / some _folder / play-1.2.1 / modules / docviewer / app / data.yml instead of ... / some_folder / yabe_tutorial / conf / data.yml, as it should be.
Here is my code in the default package / yabe _tutorial / app:
@OnApplicationStart public class Bootstrap extends Job { public void doJob() { if (User.count() == 0) { Fixtures.delete(); Fixtures.loadModels("data.yml"); } } }
Are there any settings that I can use to change the directory that loadModels uses?
I am new to this, so I am very grateful for the help. Thanks!
source share