Gabriel95 / scalafx

Automatically exported from code.google.com/p/scalafx
Other
0 stars 0 forks source link

sbt fail to run due to forking configuration #113

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Download the latest snapshot
2. Run "sbt clean compile package make-pom package-src"
3. This error is produced

[error] /Users/hanxue/Github/scalafx/project/build.scala:113: overloaded method 
value in with alternatives:
[error]   (scope: sbt.Scope)sbt.SettingKey[Boolean] <and>
[error]   (c: sbt.ConfigKey)sbt.SettingKey[Boolean] <and>
[error]   (t: sbt.Scoped)sbt.SettingKey[Boolean] <and>
[error]   (p: sbt.Reference)sbt.SettingKey[Boolean]
[error]  cannot be applied to (run.type)
[error]       fork in run := true,
[error]            ^
[error] one error found
[error] (compile:compile) Compilation failed

Workaround:
Change line 113 of project/build.scala from

      fork in run := true,

to 

      fork := true,

What version of the product are you using? On what operating system?
SBT 0.13.0
Scala 2.10.3
Mac OS X Mavericks

Original issue reported on code.google.com by leehan...@gmail.com on 29 Nov 2013 at 8:41

GoogleCodeExporter commented 8 years ago
Cannot reproduce the issue. Tested on Windows 7 and Ubuntu 13.10, everything 
works fine.

Original comment by jpsacha on 30 Nov 2013 at 5:48

GoogleCodeExporter commented 8 years ago
Can you confirm that it is still an issue on Mac OS X with SBT 0.13.1?

Original comment by jpsacha on 12 Dec 2013 at 3:55

GoogleCodeExporter commented 8 years ago
Cannot reproduce.

Original comment by jpsacha on 3 Jan 2014 at 4:47