linux - 如何向 SBT 添加插件? [Ubuntu]

标签 linux eclipse ubuntu sbt

我在此处按照有关如何将插件添加到 Eclipse for SBT 的说明进行操作:

https://github.com/typesafehub/sbteclipse

Add sbteclipse to your plugin definition file (or create one if doesn't exist). You can use either: the global file (for version 0.13 and up) at ~/.sbt/0.13/plugins/plugins.sbt the project-specific file at PROJECT_DIR/project/plugins.sbt

但是,该目录在 Ubuntu linux 中不存在。我所看到的只是 ~/.sbt 和其中一个名为/boot 的目录。我应该怎么办?/0.13 目录是否在我计算机上的其他位置?

最佳答案

是的,只需在 ~/.sbt/ 下的 boot 旁边创建文件夹并使用完整路径,正如文档中所要求的那样,只需执行

touch ~/.sbt/0.13/plugins/plugins.sbt

使用插件创建一个全局文件。

关于linux - 如何向 SBT 添加插件? [Ubuntu],我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/42258326/

相关文章:

c - 如何从 SensorTag CC3200STK 读取数据

linux - 循环设备文件的校验和是否完全可重现?

php - CentOS 5.7访问系统调用在apache web服务器检查文件存在时返回EACCES

linux - addr2line 在 Ubuntu 16.10 上不工作?

java - 在 Maven 存储库中找不到 SpringSecurityUser 类

python - 从书中学习python,在这里需要一点帮助

java - 如何在Eclipse中配置Mulesoft运行时服务器(Mulesoft插件)?

python-3.x - tkinter 的 askopenfilename 的替代方案

python - 使用 .service 文件 (ubuntu) 在启动时运行 Gunicorn 实例