tapestry-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Juan E. Maya" <maya.j...@gmail.com>
Subject Re: Advantages of various .tml storage locations?
Date Thu, 04 Dec 2008 23:08:54 GMT
I like to keep them inside resource just because is easier to go there than
to go all the way to WEB-INF.

On Thu, Dec 4, 2008 at 11:15 PM, Christian Edward Gruber <
christianedwardgruber@gmail.com> wrote:

> Um... I didn't think you did/should store .tml's in /src/main/java.  If you
> do, and you build with Maven, then they probably won't be copied over.
>
> But I think src/main/resources are primarily for components, because
> components can be built without having a web-app there - they're part of a
> library, but pages are only part of a webapp, and so are in
> /src/main/webapp.
>
> Christian.
>
>
> On 4-Dec-08, at 17:06 , James Hillyerd wrote:
>
>  What are the pros/cons of keeping page .tml in:
>>
>> 1. src/main/java
>>
>>  vs
>>
>> 2. src/main/resources
>>
>>  vs
>>
>> 3. src/main/webapp
>>
>> ?
>>
>>
>> I see JumpStart uses #1, and the tutorial uses #3.  Seems like it would
>> easier to use #1 or #2 so at least the components and pages .tml are in
>> the
>> same directory tree.
>>
>> Thanks.
>>
>> -james
>>
>> --
>> James A. Hillyerd <james@hillyerd.com>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message