[ http://issues.apache.org/jira/browse/VELOCITY-422?page=all ]
Hilco Wijbenga updated VELOCITY-422:
------------------------------------
Attachment: texen.tar.bz2
The contents of the attached tarball is listed below.
The patch itself (code & documentation):
src/java/org/apache/velocity/texen/ant/TexenTask.java.diff
xdocs/docs/texen.xml.diff
Test stuff:
test/texen/compare/nested_elements.txt
test/texen/templates/nested_elements.vm
test/texen/templates/Control.vm.diff
test/texen-classpath/compare/nested_elements.txt
test/texen-classpath/jar-contents/nested_elements.vm
test/texen-classpath/jar-contents/Control.vm.diff
test/texen-classpath/test.jar
src/test/org/apache/velocity/test/TexenTestCase.java.diff
src/test/org/apache/velocity/test/TexenClasspathTestCase.java.diff
build/testcases.xml.diff
> Add support for <property> and <propertyset> nested elements to TexenTask.
> --------------------------------------------------------------------------
>
> Key: VELOCITY-422
> URL: http://issues.apache.org/jira/browse/VELOCITY-422
> Project: Velocity
> Type: Improvement
> Components: Texen
> Versions: 1.5
> Reporter: Hilco Wijbenga
> Priority: Minor
> Attachments: TexenTask.java.diff, texen.tar.bz2, texen.xml.diff
>
> I would like to be able to use nested <property> and <propertyset> elements
> as in
> <texen ...>
> <property name="..." value="..."/>
> <propertyset .../>
> </texen>
> and then have the properties available in the Velocity context.
> Note that Ant allows namespaces and dots whereas Velocity does not (i.e. dots
> have a different meaning). So an Ant property name like 'ns:a.b.c' would
> become something like ns_a_b_c in Velocity context.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]