抑扬音和 sbt
有人在 sbt 项目中成功使用过 Circumflex ORM 吗?如何指定我的 Circumflex 属性,例如“orm.connection.driver”?未拾取properties.cx 文件,因为我的运行时类路径显然仅包含sbt-launch-0.7.3.jar。
Has anyone successfully used Circumflex ORM from an sbt project? How can I specify my Circumflex properties, such as 'orm.connection.driver'? A properties.cx file is not picked up as my runtime classpath apparently contains only sbt-launch-0.7.3.jar.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
你把properties.cx文件放在哪里?假设 Circumflex 使用正常的类路径加载,它可能应该放在 src/main/resources 中。我没有使用过 Circumflex,所以也许它正在做一些奇怪的事情,但这将是 SBT 项目中属性的典型位置。
Where are you placing the properties.cx file? Assuming Circumflex is using normal classpath loading, it should probably go in src/main/resources. I have not used Circumflex, so perhaps it is doing something odd, but that would be the typical location for properties in an SBT project.