Le 21 janv. 05, � 23:53, Dion Gillard a �crit :

Does this really work? Because...
[...] 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'.

Thanks Dion!

Your point raised another issue: testFile.jelly was actually never read or executed!
I'm moving tests for file-tag into testJelly (which uses jelly:junit hence is way more expressive!), removing testFile.jelly (because I got caught by it), adding a test for the append attribute, for which setter I'm removing the "s".


thanks Dion for your care!

paul


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to