Windows 版 SBT 中 unmanagedSources 参数的语法是什么?
首先,我的非托管源代码不在标准结构中。它是:
src/com/domain/...
而不是
src/main/java/com/domain/...
这会导致任何问题吗?
其次,我尝试了一些选项,包括
unmanagedSources in Compile += file("c:/codebase/src")
unmanagedSources in Compile += file("/codebase/src")
unmanagedSources in Compile += file("c:\\codebase\\src")
对于上述所有选项,我收到“无法找到”错误
Firstly my unmanaged source is not in the standard structure. It is:
src/com/domain/...
instead of
src/main/java/com/domain/...
Would this cause any problems?
Secondly I have tried a few options including
unmanagedSources in Compile += file("c:/codebase/src")
unmanagedSources in Compile += file("/codebase/src")
unmanagedSources in Compile += file("c:\\codebase\\src")
For all the above I get 'could not be found' errors
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
只要正确配置,它就不会引起问题。您可以在项目设置中尝试类似以下内容:
baseDirectory,顾名思义,是项目的基本目录,请参阅 Keys 类。
It should not cause problems, as long as you configure it correctly. You could try something like the following in your project settings:
baseDirectory, as the name implies, is the base directory of your project, see the Keys class.