You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by EC <ch...@gmail.com> on 2010/10/21 11:02:44 UTC
How can I reload HTML in app engine?
Hi,
I am using app engine development server (eclipse). Is there a way to reload
the HTML files when I change them on the disk? We need to disable resource
monitoring thread in app engine, so cache eviction does not happen.
getResourceSettings().setResourcePollFrequency(null);
I also cannot set resource loading folder since app engine does not allow
file system access.
Is there a way that in development mode things don’t get into the cache in
the first place, so every resource request goes directly to disk?
Thanks
Re: How can I reload HTML in app engine?
Posted by Clint Checketts <ch...@gmail.com>.
The instructions that I followed were here:
http://agilewombat.blogspot.com/2010/01/wicket-on-google-app-engine.html
Snippet from that post below. Note how he creates his own RequestCycle that
enables modification watching when in DevelopmentMode:
class MyWebRequestCycle extends WebRequestCycle {
MyWebRequestCycle(final WebApplication application,
final WebRequest request, final Response response) {
super(application, request, response);
}
@Override
protected void onBeginRequest() {
if (getApplication().getConfigurationType().equals(Application.DEVELOPMENT))
{
final GaeModificationWatcher resourceWatcher =
(GaeModificationWatcher) getApplication()
.getResourceSettings().getResourceWatcher(true);
resourceWatcher.checkResources();
}
}
}
-Clint
On Thu, Oct 21, 2010 at 9:54 PM, Ernesto Reinaldo Barreiro <
reiern70@gmail.com> wrote:
> Is you have success and-or find some easier solution can you ports
> here? I will start using GAE on a regular basis soon...
>
> Ernesto
>
> On Thu, Oct 21, 2010 at 11:51 PM, EC <ch...@gmail.com> wrote:
> > What a hack. Those things should be simple. I will give it a try.
> >
> > On Thu, Oct 21, 2010 at 4:37 AM, Ernesto Reinaldo Barreiro <
> > reiern70@gmail.com> wrote:
> >
> >> Maybe [1] contains some info?
> >>
> >> Ernesto
> >>
> >> 1-http://kimenye.blogspot.com/2009/06/google-app-engine-wicket.html
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>
Re: How can I reload HTML in app engine?
Posted by Ernesto Reinaldo Barreiro <re...@gmail.com>.
Is you have success and-or find some easier solution can you ports
here? I will start using GAE on a regular basis soon...
Ernesto
On Thu, Oct 21, 2010 at 11:51 PM, EC <ch...@gmail.com> wrote:
> What a hack. Those things should be simple. I will give it a try.
>
> On Thu, Oct 21, 2010 at 4:37 AM, Ernesto Reinaldo Barreiro <
> reiern70@gmail.com> wrote:
>
>> Maybe [1] contains some info?
>>
>> Ernesto
>>
>> 1-http://kimenye.blogspot.com/2009/06/google-app-engine-wicket.html
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: How can I reload HTML in app engine?
Posted by EC <ch...@gmail.com>.
What a hack. Those things should be simple. I will give it a try.
On Thu, Oct 21, 2010 at 4:37 AM, Ernesto Reinaldo Barreiro <
reiern70@gmail.com> wrote:
> Maybe [1] contains some info?
>
> Ernesto
>
> 1-http://kimenye.blogspot.com/2009/06/google-app-engine-wicket.html
Re: How can I reload HTML in app engine?
Posted by Ernesto Reinaldo Barreiro <re...@gmail.com>.
Maybe [1] contains some info?
Ernesto
1-http://kimenye.blogspot.com/2009/06/google-app-engine-wicket.html
On Thu, Oct 21, 2010 at 11:02 AM, EC <ch...@gmail.com> wrote:
> Hi,
>
> I am using app engine development server (eclipse). Is there a way to reload
> the HTML files when I change them on the disk? We need to disable resource
> monitoring thread in app engine, so cache eviction does not happen.
>
> getResourceSettings().setResourcePollFrequency(null);
>
>
> I also cannot set resource loading folder since app engine does not allow
> file system access.
>
>
>
> Is there a way that in development mode things don’t get into the cache in
> the first place, so every resource request goes directly to disk?
>
>
>
> Thanks
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: How can I reload HTML in app engine?
Posted by Ian Marshall <Ia...@GMail.com>.
If you don't get an answer here, do you want to try posting on
http://groups.google.com/group/google-appengine-java
then then click the "Discussions" link to see if you get any joy there?
--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/How-can-I-reload-HTML-in-app-engine-tp3005241p3005424.html
Sent from the Users forum mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org