Does this really work? Because...
On 21 Jan 2005 20:42:16 -0000, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> polx 2005/01/21 12:42:16
>
> Modified: jelly/src/java/org/apache/commons/jelly/tags/core
> FileTag.java
> jelly/src/test/org/apache/commons/jelly testFile.jelly
> Log:
> Fixing issue JELLY-191 raised by Marc Dexet.
> "FileTag should allow appending to a file".
> It is now possible to use and append boolean attribute.
[snip]
> +
> + /**
> + * Sets wether to append at the end of the file
> + * (not really something you normally do with an XML file).
> + */
> + public void setAppends(boolean doAppend) {
> + this.doAppend = doAppend;
> + }
> +
The method here is called setAppends (note the 's').
> 1.5 +11 -1
> jakarta-commons/jelly/src/test/org/apache/commons/jelly/testFile.jelly
[snip]
> +<set var="size" value="${f.length()}"/>
> +<file name="target/test_iso.xml" encoding="ISO-8859-1" append="true">
> + <include uri="dummy.xml"/>
> +</file>
And note the attribute used above of 'append' , with no 's'.
?
--
http://www.multitask.com.au/people/dion/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]