[2.0] is there an equivalent of http.path play 1.x setting?

549 views
Skip to first unread message

sas

unread,
Jun 27, 2012, 1:48:46 PM6/27/12
to play-fr...@googlegroups.com

Guillaume Bort

unread,
Jun 27, 2012, 4:44:08 PM6/27/12
to play-fr...@googlegroups.com
Yep,

application.context=/myapp/
> --
> You received this message because you are subscribed to the Google Groups
> "play-framework" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/play-framework/-/EpqDpMCf2qcJ.
> To post to this group, send email to play-fr...@googlegroups.com.
> To unsubscribe from this group, send email to
> play-framewor...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/play-framework?hl=en.



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

sas

unread,
Aug 10, 2012, 11:44:27 AM8/10/12
to play-fr...@googlegroups.com
It doesn't work for me

I tried setting application.context in application.conf file, and also passing -Dapplication.context to target/start staged app

the workaround I found so far was to manually edit every ruote, but it's pretty annoying

am I missing anything?

saludos

sas

sas

unread,
Aug 12, 2012, 10:47:36 AM8/12/12
to play-fr...@googlegroups.com
I had a look at the source code nad  I couln't find anything about application.context

is this a planned feature, or there's already some way to achieve it?

saludos

sas

Mathias Clerc

unread,
Aug 12, 2012, 8:46:27 PM8/12/12
to play-fr...@googlegroups.com
This is in trunk only you won't find it in the 2.0.X releases.
The commit which added it is :
https://github.com/playframework/Play20/commit/da6bbc4

2012/8/12 sas <ope...@gmail.com>:
> https://groups.google.com/d/msg/play-framework/-/R3pf5PPzhEgJ.

sas

unread,
Aug 12, 2012, 9:25:37 PM8/12/12
to play-fr...@googlegroups.com
thanks a lot

in the meantime, I managed to get away with this quick fix


I still couldn't find out how to deal with the reversed routes, but I think I'll just wait for the 2.1 version, unless somebody con tell me a not-so-hard way to achieve it

saludos

sas
Reply all
Reply to author
Forward
0 new messages