Re: using Scalate in a project using unfiltered 0.3.1

I don't think the Unfiltered Scalate project is published anywhere for Scala 2.8.1. At one point we setup Unfiltered Scalate to build in 2.8.0 only because Scalate was the only thing that required Scala 2.8, and everything else could build under 2.7, and I think we need to explicitly add 2.8.1 for Scalate as well. Check this out:

Re: using Scalate in a project using unfiltered 0.3.1

Administrator

On 01/27/2011 08:00 PM, Dustin Whitney [via Databinder] wrote:

I don't think the Unfiltered Scalate project is
published anywhere for Scala 2.8.1.

That's right. We could have relied on the expected binary
compatibility of Scala 2.8.0<->2.8.1 to publish an artifact
with the old Scalate, but I didn't get around to hacking the build
for it. You could similarly try to use the unfiltered-scalate_2.8.0
module with scala 2.8.1, but it's a lot easier to just use 2.8.0 for
the time being unless there is something specific you need from
2.8.1.

Nathan

At one point we setup Unfiltered Scalate to build in
2.8.0 only because Scalate was the only thing that required Scala
2.8, and everything else could build under 2.7, and I think we
need to explicitly add 2.8.1 for Scalate as well. Check this out:

I don't think the Unfiltered Scalate project is
published anywhere for Scala 2.8.1.

That's right. We could have relied on the expected binary
compatibility of Scala 2.8.0<->2.8.1 to publish an artifact
with the old Scalate, but I didn't get around to hacking the build
for it. You could similarly try to use the unfiltered-scalate_2.8.0
module with scala 2.8.1, but it's a lot easier to just use 2.8.0 for
the time being unless there is something specific you need from
2.8.1.

Nathan

At one point we setup Unfiltered Scalate to build in
2.8.0 only because Scalate was the only thing that required Scala
2.8, and everything else could build under 2.7, and I think we
need to explicitly add 2.8.1 for Scalate as well. Check this out:

I don't think the
Unfiltered Scalate project is published anywhere for Scala
2.8.1.

That's right. We could have relied on the expected binary
compatibility of Scala 2.8.0<->2.8.1 to publish an
artifact with the old Scalate, but I didn't get around to
hacking the build for it. You could similarly try to use the
unfiltered-scalate_2.8.0 module with scala 2.8.1, but it's a
lot easier to just use 2.8.0 for the time being unless there
is something specific you need from 2.8.1.

Nathan

At one point we setup Unfiltered Scalate to
build in 2.8.0 only because Scalate was the only thing
that required Scala 2.8, and everything else could build
under 2.7, and I think we need to explicitly add 2.8.1 for
Scalate as well. Check this out:

Re: using Scalate in a project using unfiltered 0.3.1

As for the exception, that's some strange class loading issue. The best way to get around it is to explicitly load the class before your server starts up. I add this bit of code before starting my server.

import scala.tools.nsc._new Global(new Settings)

when you do that the class becomes available to the Scalate classloader. We should probably do this for the user.