@extends(main) @set(title:"PlayRythm GAE mode demo")
The application demonstrate the effect when rythm.gae set to true
rythm.gae=true$play clean$play runtmp/rythm created. If no, then the rythm.gae mode worksrythm.gae=false or not configured, then there should have tmp/rythm createdtmp dir:
@{
String[] sa;
if (null == _play.tmpDir) {
// run in real GAE, thus no tmpDir created
sa = new String[]{};
} else {
sa = _play.tmpDir.list();
}
}
The current rythm.gae configuration is @gaeConf, so tmp/rythm should @(gaeConf ? "not exists" : "exists").
Test result:
@(getTemplateClass(false).getTemplateSource())