You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Howard M. Lewis Ship (JIRA)" <ji...@apache.org> on 2009/01/24 02:17:59 UTC
[jira] Closed: (TAP5-346) Maven resource filtering pre-expands some
Tapestry expansions: docs should warn of this
[ https://issues.apache.org/jira/browse/TAP5-346?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Howard M. Lewis Ship closed TAP5-346.
-------------------------------------
Resolution: Fixed
Fix Version/s: 5.1.0.0
> Maven resource filtering pre-expands some Tapestry expansions: docs should warn of this
> ---------------------------------------------------------------------------------------
>
> Key: TAP5-346
> URL: https://issues.apache.org/jira/browse/TAP5-346
> Project: Tapestry 5
> Issue Type: Improvement
> Components: documentation
> Affects Versions: 5.0.15
> Reporter: Franz Amador
> Assignee: Howard M. Lewis Ship
> Priority: Minor
> Fix For: 5.1.0.0
>
>
> If Maven resource filtering is turned on in the pom.xml file, Maven will evaluate any Tapestry expansions that match properties in the pom.xml file. For example, the string "${name}" in my component .tml files was being expanded to the value of the name property in my pom.xml file. Utterly baffling until I found the explanation on Nabble. It would be very helpful to add a note about this in the sections of the docs that cover expansions. Even better would be to show the solution, which is to add an "excludes" block to the pom.xml, like this:
> <resource>
> <directory>src/main/resources</directory>
> <excludes>
> <exclude>**/*.tml</exclude>
> </excludes>
> <filtering>true</filtering>
> </resource>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
Re: [jira] Closed: (TAP5-346) Maven resource filtering pre-expands
some Tapestry expansions: docs should warn of this
Posted by Howard Lewis Ship <hl...@gmail.com>.
Maven bug.
On Tue, Mar 24, 2009 at 4:07 AM, Ulrich Stärk <ul...@spielviel.de> wrote:
> Somehow, during site generation, the </> entities got filtered out,
> thus the pom.xml example doesn't contain the <> signs around the xml tags.
> Indentation would be nice, too.
>
> Uli
>
> Howard M. Lewis Ship (JIRA) schrieb:
>>
>> [
>> https://issues.apache.org/jira/browse/TAP5-346?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
>> ]
>>
>> Howard M. Lewis Ship closed TAP5-346.
>> -------------------------------------
>>
>> Resolution: Fixed
>> Fix Version/s: 5.1.0.0
>>
>>> Maven resource filtering pre-expands some Tapestry expansions: docs
>>> should warn of this
>>>
>>> ---------------------------------------------------------------------------------------
>>>
>>> Key: TAP5-346
>>> URL: https://issues.apache.org/jira/browse/TAP5-346
>>> Project: Tapestry 5
>>> Issue Type: Improvement
>>> Components: documentation
>>> Affects Versions: 5.0.15
>>> Reporter: Franz Amador
>>> Assignee: Howard M. Lewis Ship
>>> Priority: Minor
>>> Fix For: 5.1.0.0
>>>
>>>
>>> If Maven resource filtering is turned on in the pom.xml file, Maven will
>>> evaluate any Tapestry expansions that match properties in the pom.xml file.
>>> For example, the string "${name}" in my component .tml files was being
>>> expanded to the value of the name property in my pom.xml file. Utterly
>>> baffling until I found the explanation on Nabble. It would be very helpful
>>> to add a note about this in the sections of the docs that cover expansions.
>>> Even better would be to show the solution, which is to add an "excludes"
>>> block to the pom.xml, like this:
>>> <resource>
>>> <directory>src/main/resources</directory>
>>> <excludes>
>>> <exclude>**/*.tml</exclude>
>>> </excludes>
>>> <filtering>true</filtering>
>>> </resource>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: dev-help@tapestry.apache.org
>
>
--
Howard M. Lewis Ship
Creator Apache Tapestry and Apache HiveMind
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org
Re: [jira] Closed: (TAP5-346) Maven resource filtering pre-expands
some Tapestry expansions: docs should warn of this
Posted by Ulrich Stärk <ul...@spielviel.de>.
Somehow, during site generation, the </> entities got filtered
out, thus the pom.xml example doesn't contain the <> signs around the
xml tags. Indentation would be nice, too.
Uli
Howard M. Lewis Ship (JIRA) schrieb:
> [ https://issues.apache.org/jira/browse/TAP5-346?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
>
> Howard M. Lewis Ship closed TAP5-346.
> -------------------------------------
>
> Resolution: Fixed
> Fix Version/s: 5.1.0.0
>
>> Maven resource filtering pre-expands some Tapestry expansions: docs should warn of this
>> ---------------------------------------------------------------------------------------
>>
>> Key: TAP5-346
>> URL: https://issues.apache.org/jira/browse/TAP5-346
>> Project: Tapestry 5
>> Issue Type: Improvement
>> Components: documentation
>> Affects Versions: 5.0.15
>> Reporter: Franz Amador
>> Assignee: Howard M. Lewis Ship
>> Priority: Minor
>> Fix For: 5.1.0.0
>>
>>
>> If Maven resource filtering is turned on in the pom.xml file, Maven will evaluate any Tapestry expansions that match properties in the pom.xml file. For example, the string "${name}" in my component .tml files was being expanded to the value of the name property in my pom.xml file. Utterly baffling until I found the explanation on Nabble. It would be very helpful to add a note about this in the sections of the docs that cover expansions. Even better would be to show the solution, which is to add an "excludes" block to the pom.xml, like this:
>> <resource>
>> <directory>src/main/resources</directory>
>> <excludes>
>> <exclude>**/*.tml</exclude>
>> </excludes>
>> <filtering>true</filtering>
>> </resource>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org