tapestry-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Edward Gruber <christianedwardgru...@gmail.com>
Subject Re: Advantages of various .tml storage locations?
Date Fri, 05 Dec 2008 17:53:40 GMT
I believe you are correct.

Christian.

On 5-Dec-08, at 12:38 , Jonathan Barker wrote:

>
> Correct me if I'm wrong: specifying the resources directory in this  
> way
> means that the original (default) src/main/resources will not be  
> used, so if
> you want to mix-and-match resource locations then you need to also  
> specify
> src/main/resources.
>
> I wouldn't want someone tripping on that issue.
>
> Jonathan
>
>
>> -----Original Message-----
>> From: Andreas Andreou [mailto:andreoua@gmail.com]
>> Sent: Friday, December 05, 2008 11:06
>> To: Tapestry users
>> Subject: Re: Advantages of various .tml storage locations?
>>
>> http://tacos.sourceforge.net/tacos4.1/tacos-core/quick-
>> start/resolvers.html
>> implements that for T4.1
>> but the maven instructions mentioned there are what you're after...  
>> it
>> boils down to redefining the
>> resources location like this:
>>
>>    <build>
>>        ...
>>        <resources>
>>            <resource>
>>                <directory>src/main/java</directory>
>>                <excludes>
>>                    <exclude>**/*.java</exclude>
>>                </excludes>
>>            </resource>
>>            ...
>>        </resources>
>>        ...
>>    </build>
>>
>>
>> On Fri, Dec 5, 2008 at 1:05 PM, Maximilian Weißböck
>> <Maximilian.Weissboeck@sphinx.at> wrote:
>>> I would much prefer solution number 1. as it keeps things
>>> on the same place that belong together.
>>>
>>> Sadly maven build does not work with this solution.
>>> Is there any maven guru how knows how to "fix" this?
>>>
>>> Thanks, Max
>>>
>>>> -----Ursprüngliche Nachricht-----
>>>> Von: yimmy149@gmail.com [mailto:yimmy149@gmail.com] Im Auftrag von
>> James
>>>> Hillyerd
>>>> Gesendet: Donnerstag, 4. Dezember 2008 23:06
>>>> An: Tapestry users
>>>> Betreff: Advantages of various .tml storage locations?
>>>>
>>>> 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
>>>
>>>
>>
>>
>>
>> --
>> Andreas Andreou - andyhot@apache.org - http://blog.andyhot.gr
>> Tapestry / Tacos developer
>> Open Source / JEE Consulting
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
>> For additional commands, e-mail: users-help@tapestry.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>


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


Mime
View raw message