Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Using Scalate with Play 1.2.3
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  6 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Matt Raible  
View profile  
 More options Aug 24 2011, 11:23 pm
From: Matt Raible <mrai...@gmail.com>
Date: Wed, 24 Aug 2011 20:23:39 -0700 (PDT)
Local: Wed, Aug 24 2011 11:23 pm
Subject: Using Scalate with Play 1.2.3
Hey all,

I'm trying to use Scalate with the latest version of Play and having
issues. I've posted some questions to the Scalate user group, but
haven't received any responses.

http://groups.google.com/group/scalate/browse_thread/thread/398cee019...

Is anyone using the latest versions of Play and Scalate successfully?

If not the latest versions, which versions are successfully working?

Thanks,

Matt


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Pascal Voitot Dev  
View profile  
 More options Aug 25 2011, 4:24 am
From: Pascal Voitot Dev <pascal.voitot....@gmail.com>
Date: Thu, 25 Aug 2011 10:24:04 +0200
Local: Thurs, Aug 25 2011 4:24 am
Subject: Re: [play-framework] Using Scalate with Play 1.2.3

Don't know your answer but you can try default scala template, it works well
even if not yet fully  documented!
Regards
Pascal
Le 25 août 2011 10:11, "Matt Raible" <mrai...@gmail.com> a écrit :

> Hey all,

> I'm trying to use Scalate with the latest version of Play and having
> issues. I've posted some questions to the Scalate user group, but
> haven't received any responses.

http://groups.google.com/group/scalate/browse_thread/thread/398cee019...

> Is anyone using the latest versions of Play and Scalate successfully?

> If not the latest versions, which versions are successfully working?

> Thanks,

> Matt

> --
> You received this message because you are subscribed to the Google Groups

"play-framework" group.
> To post to this group, send email to play-framework@googlegroups.com.
> To unsubscribe from this group, send email to

play-framework+unsubscribe@googlegroups.com.
> For more options, visit this group at

http://groups.google.com/group/play-framework?hl=en.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Guillaume Bort  
View profile  
 More options Aug 25 2011, 4:30 am
From: Guillaume Bort <guillaume.b...@gmail.com>
Date: Thu, 25 Aug 2011 10:30:15 +0200
Local: Thurs, Aug 25 2011 4:30 am
Subject: Re: [play-framework] Using Scalate with Play 1.2.3
Hi Matt,

Looking at the Scalate module code, I don't think it can work as is
with Play Scala 0.9.1. The latest version is more than 1 year old, and
we have made a lot of changes in the API.

Which Scalate flavor do you try to use?

--
Guillaume Bort, http://guillaume.bort.fr

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Matt Raible  
View profile  
 More options Aug 25 2011, 10:02 am
From: Matt Raible <mrai...@gmail.com>
Date: Thu, 25 Aug 2011 07:02:51 -0700 (PDT)
Local: Thurs, Aug 25 2011 10:02 am
Subject: Re: Using Scalate with Play 1.2.3
I tried to use SSP initially, but was hoping to move to Scaml/Jade
after I got that working.

I tried to build everything locally, but received the following
errors.

$ ant
Buildfile: /Users/mraible/dev/play-scalate/build.xml

clean:
  [delete] Deleting directory /Users/mraible/dev/play-scalate/tmp

build:
   [mkdir] Created dir: /Users/mraible/dev/play-scalate/tmp/classes
  [scalac] Compiling 10 source files to /Users/mraible/dev/play-
scalate/tmp/classes
  [scalac] /Users/mraible/dev/play-scalate/src/play/mvc/
ScalateController.scala:5: error: not found: type ScalaController
  [scalac] abstract class ScalateController extends ScalaController
with Provider {
  [scalac]                                          ^
  [scalac] /Users/mraible/dev/play-scalate/src/play/mvc/
ScalateController.scala:12: error: type Template is not a member of
package play.mvc.results
  [scalac]   private lazy val not_reached: play.mvc.results.Template =
null
  [scalac]                                                  ^
  [scalac] /Users/mraible/dev/play-scalate/src/play/mvc/scalate/
PlayContext.scala:148: error: value LocalvariablesNamesEnhancer is not
a member of package play.classloading.enhancers
  [scalac]     import
play.classloading.enhancers.LocalvariablesNamesEnhancer.LocalVariablesNames Tracer
  [scalac]                                        ^
  [scalac] /Users/mraible/dev/play-scalate/src/play/mvc/scalate/
Provider.scala:8: error: value LocalvariablesNamesEnhancer is not a
member of package play.classloading.enhancers
  [scalac] import
play.classloading.enhancers.LocalvariablesNamesEnhancer.LocalVariablesNames Tracer
  [scalac]                                    ^
  [scalac] four errors found

BUILD FAILED
/Users/mraible/dev/play-scalate/build.xml:34: Compile failed with 4
errors; see the compiler error output for details.

Total time: 9 seconds

What's the best way to get things working again? Fork the github
project and update for Play Scala 0.9.1? Do you know if the maintainer
of play-scalate is still active?

Thanks,

Matt

On Aug 25, 2:30 am, Guillaume Bort <guillaume.b...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Florian  
View profile   Translate to Translated (View Original)
 More options Aug 25 2011, 11:35 am
From: Florian <flor...@scheel.eu>
Date: Thu, 25 Aug 2011 08:35:05 -0700 (PDT)
Local: Thurs, Aug 25 2011 11:35 am
Subject: Re: [play-framework] Using Scalate with Play 1.2.3

Hi Guillaume!

What do you think about moving from Play-Scala templates to Scalate?

I'd like to use Scaml, too. And perhaps you could integrate your new
template system into Scalate to keep everything compatible.

Best regards
Florian


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Guillaume Bort  
View profile  
 More options Aug 25 2011, 12:16 pm
From: Guillaume Bort <guillaume.b...@gmail.com>
Date: Thu, 25 Aug 2011 18:16:34 +0200
Local: Thurs, Aug 25 2011 12:16 pm
Subject: Re: [play-framework] Re: Using Scalate with Play 1.2.3

> Do you know if the maintainer
> of play-scalate is still active?

I don't think so, but you can try to contact him. The integration of
Scalate is pretty difficult if you plan to get the same kind of
experience than the native Play scala template regarding auto-reload
and error reports.

You can try to port the module to 0.9.1, basically all it has to do is
to provide a plugin that detect changes to scaml file, and recompile
them. No special integration with the Play API is needed.

--
Guillaume Bort, http://guillaume.bort.fr

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »