Compiling Ray with recent (snapshot) version of Play

48 views
Skip to first unread message

Maxime Lévesque

unread,
Jun 2, 2012, 10:33:25 AM6/2/12
to roy...@googlegroups.com

Hi, this project looks really awesome BTW, so far attemps at bringing strong typing to the browser
have never been minimalistic, I lik the minimalism of Ray...

I tried building the Ray plugin with the instructions here : https://github.com/pufuwozu/ray
using a recent Play snapshot build (I have to use a recent Play to get some of the fixes)
is it possible that there are some breaking changes in recent Play ?

[info] Generating API documentation for main sources...
[info] Compiling 1 Scala source to /home/max/dev/main-sandbox/ray/target/scala-2.9.1/sbt-0.11.3/classes...
[error] /home/max/dev/main-sandbox/ray/src/main/scala/RoyBuild.scala:13: not enough arguments for method AssetsCompiler: (name: String, watch: sbt.package.File => sbt.PathFinder, filesSetting: sbt.SettingKey[sbt.PathFinder], naming: (String, Boolean) => String, compile: (sbt.package.File, Seq[String]) => (String, Option[String], Seq[sbt.package.File]), optionsSettings: sbt.SettingKey[Seq[String]])sbt.Project.Initialize[sbt.Task[Seq[java.io.File]]].
[error] Unspecified value parameter optionsSettings.
[error] /home/max/dev/main-sandbox/ray/src/main/scala/RoyBuild.scala:13: not enough arguments for method AssetsCompiler: (name: String, watch: sbt.package.File => sbt.PathFinder, filesSetting: sbt.SettingKey[sbt.PathFinder], naming: (String, Boolean) => String, compile: (sbt.package.File, Seq[String]) => (String, Option[String], Seq[sbt.package.File]), optionsSettings: sbt.SettingKey[Seq[String]])sbt.Project.Initialize[sbt.Task[Seq[java.io.File]]].
[error] Unspecified value parameter optionsSettings.
[error]   val RoyCompiler = AssetsCompiler("roy",
[error]   val RoyCompiler = AssetsCompiler("roy",
[error]                                   ^
[error]                                   ^
[error] one error found
[info] No documentation generated with unsucessful compiler run
[error] one error found
[error] {file:/home/max/dev/main-sandbox/ray/}ray/compile:doc: Scaladoc generation failed
[error] {file:/home/max/dev/main-sandbox/ray/}ray/compile:compile: Compilation failed
[error] Total time: 6 s, completed Jun 2, 2012 10:25:46 AM

Brian McKenna

unread,
Jun 4, 2012, 6:29:25 AM6/4/12
to roy...@googlegroups.com
Play 2.1 changed the asset compiler API. I updated the Ray plugin for
work about 2 weeks ago but I forgot to push the branch. I'll do that
first thing tomorrow morning.

Thanks for the reminder!

Brian McKenna

unread,
Jun 5, 2012, 8:09:16 PM6/5/12
to roy...@googlegroups.com
I've pushed a play-2.1 branch here:

https://github.com/pufuwozu/ray/tree/play-2.1

Let me know how it goes.

On 3 June 2012 00:33, Maxime Lévesque <maxime....@gmail.com> wrote:
>
Reply all
Reply to author
Forward
0 new messages