抑扬音和 sbt

发布于 2024-09-16 01:59:51 字数 229 浏览 0 评论 0原文

有人在 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

单挑你×的.吻 2024-09-23 01:59:51

你把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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文