Hello,

2009/5/25 Christian Senk <senk.christ...@googlemail.com>

> Hi,
>
> you may increment your build number by one, and use the Application version
> symbol.
>
> configuration.add(SymbolConstants.APPLICATION_VERSION, "0.0.7");


Where do I put this line?


>
> the version is part of the path to the assets.


So, if I now have

    src/main/webapp/css/my.css

I must create

    src/main/webapp/css/0.0.7/my.css

Is this correct?

What about href in my layout component? It looks like this now:

        <link rel="stylesheet" type="text/css"
href="${asset:context:css/my.css}" />

I want to avoid modifying templates and code in multiple places when css
changes. Is this possible?

Thanks,
Borut


>
> Borut Bolčina schrieb:
>
>  Hello,
>>
>> we have a T5.0.18 in production. Now I want to "deliver" changed CSS to
>> all
>> existing users, so there must be a way of versioning CSS and other
>> assests.
>>
>> There is nothing at
>> http://tapestry.apache.org/tapestry5/guide/assets.htmlabout
>> versioning, although I think this functionality exists. Can someone
>> point me to an example of how to organize and configure my app to handle
>> versioned assets? Do I have to create different directories etc?
>>
>> -Borut
>>
>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
>
>

Reply via email to