You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by bu...@apache.org on 2012/07/12 09:00:12 UTC
[Bug 53538] New: Doc: Examples for FilterChains use incorrect syntax
https://issues.apache.org/bugzilla/show_bug.cgi?id=53538
Priority: P2
Bug ID: 53538
Assignee: notifications@ant.apache.org
Summary: Doc: Examples for FilterChains use incorrect syntax
Severity: normal
Classification: Unclassified
Reporter: dominik.stadler@gmx.at
Hardware: PC
Status: NEW
Version: 1.8.4
Component: Documentation
Product: Ant
The page http://ant.apache.org/manual/Types/filterchain.html contains many
examples that use ${} in the property-attribute, e.g.
property="${src.file.head}"
I think this is wrong, it should be stated without ${}
property="src.file.head"
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 53538] Doc: Examples for FilterChains use incorrect syntax
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=53538
Antoine Levy-Lambert <an...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Version|1.8.4 |1.9.0
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 53538] Doc: Examples for FilterChains use incorrect syntax
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=53538
--- Comment #2 from Dominik Stadler <do...@gmx.at> ---
It may be possible to use it this way, but it is possible in almost all places
where properties are used.
Thanks for update, but I think it is very confusing to even use this
functionality here. I would like these examples to show me the minimum amount
of XML necessary to use it, not a combination of various Ant-features that I am
not interested at the moment.
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 53538] Doc: Examples for FilterChains use incorrect syntax
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=53538
Jan Mat <ja...@materne.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
--- Comment #1 from Jan Mat <ja...@materne.de> ---
This is a confusion:
Where <loadfile property="src.file.head"> loads the content into a property
named "src.file.head" the instruction <loadfile property="${src.file.head}">
is still valid. The content is loaded into a property which name is defined by
another property.
<loadfile property="src.file.head" ... />
<echo message="src.file.head"/>
vs.
<property name="src.file.head" value="content"/>
<loadfile property="${src.file.head}" ... />
<echo message="${content}"/>
I put a note into the manual.
Thanks for pointing to the confusional part.
svn rev. 1478660
--
You are receiving this mail because:
You are the assignee for the bug.