db-torque-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tfisc...@apache.org
Subject svn commit: r1515567 - /db/torque/torque4/trunk/torque-site/src/site/xdoc/documentation/codegen-reference/configuration.xml
Date Mon, 19 Aug 2013 19:18:44 GMT
Author: tfischer
Date: Mon Aug 19 19:18:44 2013
New Revision: 1515567

URL: http://svn.apache.org/r1515567
Log:
TORQUE-298 - documentation

Modified:
    db/torque/torque4/trunk/torque-site/src/site/xdoc/documentation/codegen-reference/configuration.xml

Modified: db/torque/torque4/trunk/torque-site/src/site/xdoc/documentation/codegen-reference/configuration.xml
URL: http://svn.apache.org/viewvc/db/torque/torque4/trunk/torque-site/src/site/xdoc/documentation/codegen-reference/configuration.xml?rev=1515567&r1=1515566&r2=1515567&view=diff
==============================================================================
--- db/torque/torque4/trunk/torque-site/src/site/xdoc/documentation/codegen-reference/configuration.xml
(original)
+++ db/torque/torque4/trunk/torque-site/src/site/xdoc/documentation/codegen-reference/configuration.xml
Mon Aug 19 19:18:44 2013
@@ -204,9 +204,17 @@
       (should only be used when overriding settings in existing 
       template sets).
       Each file in this directory defines one or more outlets.
-      Each outlet must have an unique name; it is recommended to use
-      namespaces for avoiding name conflicts if more than one template set 
-      is used. Also, the type of the outlet must be given (currently
+      Each outlet must have an unique name; it is possible to use
+      dot(.)-separated namespaces for avoiding name conflicts 
+      if more than one template set is used
+      (e.g. the outlet name org.apache.torque.someOutlet has the
+      namespace org.apache.torque and the unqualified name someOutlet).
+      For template-based outlets, the name attribute can be omitted;
+      the name is then calculated from the path of the template
+      relative to the templates directory
+      (e.g. the template with the relative path someDir/someTemplate.groovy
+      will get the name someDir.someTemplate if no explicit name is set).
+      Also, the type of the outlet must be given (currently
       supported are "velocity", "groovy", and "java"). 
       Depending on the type, further informations need to be given: 
       The velocity and groovy outlets need the path to the template 



---------------------------------------------------------------------
To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org
For additional commands, e-mail: torque-dev-help@db.apache.org


Mime
View raw message