Well, the title says it all. By default Ebean generates the SQL files on the root of my project. I want to place them on my resources folder, but I could not find any in the default config file, neither in the Ebean webpage, neither googling for it.

You guys know how to achieve this?

P.S - I'm not using Play, just Ebean.

有帮助吗?

解决方案

this isn't supported - i was looking for this feature myself and can't find any reference to an output directory in ServerConfig.java or the code that generates/writes the ddl itself.

you should be able to change the default working directory programatically to place the files elsewhere.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top