You are viewing a plain text version of this content. The canonical link for it is here.
Posted to torque-dev@db.apache.org by tf...@apache.org on 2013/08/19 21:18:44 UTC

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

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