Hi.

That did the trick, thanks!

But I'm wondering, why it wasn't enabled before. The archetype creates a
Class called DevelopmentModule.
In there one can find something like:

        configuration.add(SymbolConstants.PRODUCTION_MODE, false);

So I pretended, that production is false == development mode is on :).

But I'm glad it is working now. Thanks again!

Regards,
Veit

Am 23.05.2015 um 18:46 schrieb Stephen Nutbrown:
> Hi,
>
> Can you try adding this argument:
>
>  -Dtapestry.execution-mode=development
>
> Thanks,
> Steve
>
> On 23 May 2015 at 16:58, Veit Guna <veit.g...@gmx.de> wrote:
>> Hi.
>>
>> I'm a new user of tapestry and struggling to get tml files reloaded
>> during development.
>> I'm using Tomcat 8 with JDK 7 and the tapestry archetype demo using
>> version 5.3.8.
>>
>> I've configured a tomcat server within Eclipse WTP and normally using
>> other web development
>> frameworks it's enough to save a file and it gets automatically
>> published to tomcat
>> without a redeployment. So it uses HCR unter the hood. Simply reloading
>> the page and
>> voila. That works with classes and resources (pages etc.). Tomcat is
>> started in Debug mode.
>>
>> With tapestry, the class reloading works, but not with the .tml files.
>> If I look at the
>> internal deployment location of WTP (under .metadata), I can see that
>> the resources
>> get replaced correctly by Eclipse. But tapestry doesn't pick them up.
>>
>> I've also tried -Dorg.apache.tapestry.disable-caching=true on container
>> start, but without
>> luck.
>>
>> I want to avoid deploying via maven, restarting tomcat or reloading the
>> context.
>>
>> Does anybody have a clue what I'm missing?
>>
>> Regards,
>> Veit
>>
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
>> For additional commands, e-mail: users-h...@tapestry.apache.org
>>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to