English 中文(简体)
2. 小型、全面的SBT项目,有gin
原标题:Minimal full SBT project with plugins
  • 时间:2011-07-01 16:29:25
  •  标签:
  • scala
  • sbt

So sbt (0.10) produces the weirdest errors when I try to create a project that has any kind of configuration, not even copying the wiki examples works…

是否收集了最低限度的、可行的项目? (不是基本/快速<代码>。 页: 1 阴道 s似乎已经过时或错误。

My attempt at integrating scalariform failed with SBT not being able to compile import sbt._ in project/plugins/Plugins.scala?! (without any other custom files in the tree. That should have worked as far as I understand it…)

Basically I need a project with scalariform and the -deprecated compiler option (that didn t even work in quick mode…)

最佳回答

如果你使用<0.10.x(xsbt),你就不得不等待。 目前,金字不兼容:

如果您使用<0.7.x,sbt-scalariform的指示。 github page should work.

问题回答

暂无回答




相关问题
How to flatten a List of different types in Scala?

I have 4 elements:List[List[Object]] (Objects are different in each element) that I want to zip so that I can have a List[List[obj1],List[obj2],List[obj3],List[obj4]] I tried to zip them and I ...

To use or not to use Scala for new Java projects? [closed]

I m impressed with Twitter and investigating to use Scala for a new large scale web project with Hibernate and Wicket. What do you think about Scala, and should I use it instead of Java? EDIT: And, ...

Why does Scala create a ~/tmp directory when I run a script?

When I execute a Scala script from the command line, a directory named "tmp" is created in my home directory. It is always empty, so I simply deleted it without any apparent problem. Of course, when I ...

Include jar file in Scala interpreter

Is it possible to include a jar file run running the Scala interpreter? My code is working when I compile from scalac: scalac script.scala -classpath *.jar But I would like to be able to include a ...

Scala and tail recursion

There are various answers on Stack Overflow which explain the conditions under which tail recursion is possible in Scala. I understand the limitations and how and where I can take advantage of tail ...

热门标签