assets-loader icon indicating copy to clipboard operation
assets-loader copied to clipboard

Compatibility with Play 2.3

Open jc7447 opened this issue 10 years ago • 6 comments

Hi,

I'm trying to migrate an app from play 2.2 to 2.3 and I'm facing this error :

Caused by: java.lang.NoSuchMethodError: com.ee.assets.Loader.scripts(Ljava/lang/String;Lscala/collection/Seq;)Lplay/twirl/api/Html;

It's caused by this line :

Helper.loader.scripts("js")("javascripts/my_dir")

That's certainly because Play has moved his template engine into a separate project.

Any plan for Play 2.3 support ?

jc7447 avatar Jul 11 '14 17:07 jc7447

Hi - Yes. Will need to see what it'll entail.

edeustace avatar Jul 11 '14 18:07 edeustace

Also they have changed how they work with client side assets - so would be opportune to research if it provides any options for this project.

edeustace avatar Jul 11 '14 18:07 edeustace

Hi, have you any plans to make your plugin compatible with play 2.3.x in style like sbt-web?

It could be connection of sbt-uglify, sbt-gzip and sbt-digest plugins :)

nonameplum avatar Sep 05 '14 06:09 nonameplum

Hi, I'd like to get started on it yes, but my project is still on 2.2.1 and I'm time-poor at the moment. So - yes at some point but probably not in the next month or so.

Ed

On Fri, Sep 5, 2014 at 7:52 AM, nonameplum [email protected] wrote:

Hi, have you any plans to make your plugin compatible with play 2.3.x in style like sbt-web?

It could be connection of sbt-uglify, sbt-gzip and sbt-digest plugins :)

— Reply to this email directly or view it on GitHub https://github.com/edeustace/assets-loader/issues/35#issuecomment-54591072 .

edeustace avatar Sep 05 '14 09:09 edeustace

Any Update?

HomeTriangle avatar Nov 19 '15 04:11 HomeTriangle

Hi @HomeTriangle - sorry it's pretty low priority for me at the moment. My project will probably be moving straight to play 2.4 soon, I might be able to have a look then, but I can't guarantee anything.

edeustace avatar Nov 19 '15 11:11 edeustace