You don't have to copy the templates anywhere. It still may not
explain why class reloading is slow for you, but file IO is fairly
expensive and thus should be avoided.

Kalle


On Wed, May 25, 2011 at 1:17 AM, Davor Hrg <hrgda...@gmail.com> wrote:
> Hi,
>
> your suggestion did improve reload when only template is changed.
>
> Still 6 seconds reload happens when I change page class.
> Hope this is also abnormal and someone has some suggestions
> how to fix it as well.
>
>
> to clarify :
> adding exclude ** for resources will stop eclipse from doing anything there,
> and this was wrong until I restored defaults for m2eclipse.
> by doing this maven added it's own resource processing to the build.
> After that templates get copied as soon as edited,
> Unlike with eclipse builder page reload is very fast 200ms for a page that
> reloaded 6 seconds
> before the changes were made.
>
>
> Davor Hrg
>
>
> On Tue, May 24, 2011 at 7:49 PM, Bryan Lewis <jbryanle...@gmail.com> wrote:
>
>> I put it back into the src/main/resources line of .classpath, like:
>>
>>    <classpathentry excluding="**" kind="src" output="target/classes"
>> path="src/main/resources"/>
>>
>> My templates are being copied to the expected place, like ...
>> target\classes\com\companyname\appname\pages\PageName.tml.
>>
>> Maybe there's something else amiss with your maven/build configuration.
>> Does your pom.xml have the <resources> section?  Maybe compare your
>> configuration with a small new one like the Tapestry quickstart.
>>
>>
>>
>> On Tue, May 24, 2011 at 1:37 PM, Davor Hrg <hrgda...@gmail.com> wrote:
>>
>> > I also removed excluding ** for src/main/resurces
>> >
>> > but without it templates do not get copied to calsses dir
>> >
>> > where did you put back the excluding ** ?
>> >
>> >
>> > Davor Hrg
>> >
>>
>

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

Reply via email to