You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@velocity.apache.org by wg...@apache.org on 2007/06/24 15:42:47 UTC
svn commit: r550225 - /velocity/texen/trunk/xdocs/docs/index.xml
Author: wglass
Date: Sun Jun 24 06:42:46 2007
New Revision: 550225
URL: http://svn.apache.org/viewvc?view=rev&rev=550225
Log:
Update docs to clarify use of context properties file. TEXEN-9.
Modified:
velocity/texen/trunk/xdocs/docs/index.xml
Modified: velocity/texen/trunk/xdocs/docs/index.xml
URL: http://svn.apache.org/viewvc/velocity/texen/trunk/xdocs/docs/index.xml?view=diff&rev=550225&r1=550224&r2=550225
==============================================================================
--- velocity/texen/trunk/xdocs/docs/index.xml (original)
+++ velocity/texen/trunk/xdocs/docs/index.xml Sun Jun 24 06:42:46 2007
@@ -163,7 +163,7 @@
<table border="0">
<tr>
- <th>Name</th>
+ <th>Property Name</th>
<th>Description</th>
</tr>
<tr>
@@ -223,21 +223,18 @@
</tr>
<tr>
<td>contextProperties</td>
- <td>Set the context properties that will be
- fed into the initial context be the
+ <td>Define additional context property file(s) that will be
+ fed into the initial context before the
generating process starts.
+ Use commas to separate multiple files.
<p>
- We are going to do something special
- for properties that have a "file.contents"
- suffix: for these properties will pull
- in the contents of the file and make
- them available in the context. So for
- a line like the following in a properties file:
+ Property keys that end in the suffix ".file.contents" are handled specially:
+ for these properties the contents of the file are stored the context
+ as a variable with the name of the key without the suffix.
+
+ So for a line like the following in a properties file:
<pre>license.file.contents = license.txt</pre>
- We will pull in the contents of license.txt
- and make it available in the context as
- $license. This should make texen a little
- more flexible.
+ The contents of license.txt is made available in the context as $license.
</p></td>
</tr>
</table>