Return-Path:
X-Original-To: apmail-db-torque-dev-archive@www.apache.org
Delivered-To: apmail-db-torque-dev-archive@www.apache.org
Received: from mail.apache.org (hermes.apache.org [140.211.11.3])
by minotaur.apache.org (Postfix) with SMTP id 0A77610724
for ;
Tue, 23 Jul 2013 21:57:40 +0000 (UTC)
Received: (qmail 88567 invoked by uid 500); 23 Jul 2013 21:57:40 -0000
Delivered-To: apmail-db-torque-dev-archive@db.apache.org
Received: (qmail 88516 invoked by uid 500); 23 Jul 2013 21:57:40 -0000
Mailing-List: contact torque-dev-help@db.apache.org; run by ezmlm
Precedence: bulk
List-Unsubscribe:
List-Help:
List-Post:
List-Id: "Apache Torque Developers List"
Reply-To: "Apache Torque Developers List"
Delivered-To: mailing list torque-dev@db.apache.org
Received: (qmail 88508 invoked by uid 500); 23 Jul 2013 21:57:39 -0000
Received: (qmail 88505 invoked by uid 99); 23 Jul 2013 21:57:39 -0000
Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136)
by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Jul 2013 21:57:39 +0000
X-ASF-Spam-Status: No, hits=-2000.0 required=5.0
tests=ALL_TRUSTED
X-Spam-Check-By: apache.org
Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4)
by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Jul 2013 21:57:38 +0000
Received: from eris.apache.org (localhost [127.0.0.1])
by eris.apache.org (Postfix) with ESMTP id B274323888E7;
Tue, 23 Jul 2013 21:57:18 +0000 (UTC)
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Subject: svn commit: r1506313 -
/db/torque/torque4/trunk/torque-site/src/site/xdoc/documentation/codegen-reference/configuration.xml
Date: Tue, 23 Jul 2013 21:57:18 -0000
To: torque-commits@db.apache.org
From: tfischer@apache.org
X-Mailer: svnmailer-1.0.9
Message-Id: <20130723215718.B274323888E7@eris.apache.org>
X-Virus-Checked: Checked by ClamAV on apache.org
Author: tfischer
Date: Tue Jul 23 21:57:18 2013
New Revision: 1506313
URL: http://svn.apache.org/r1506313
Log:
TORQUE-296 improve docs for auto-defining outlets
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=1506313&r1=1506312&r2=1506313&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 Tue Jul 23 21:57:18 2013
@@ -207,9 +207,10 @@
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
- supported are "velocity" and "java"). Depending on the type, further
- informations need to be given: The velocity outlets need the path
- to the template (relative to the templates subdirectory),
+ 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
+ (relative to the templates subdirectory),
the java outlets need the class of the outlet class.
For example, this defines a java and a velocity outlet:
@@ -313,6 +314,8 @@
an outlet with the name peer.impl.peerImpl will be created.
No outlet will be defined automatically if an outlet definition
with the given name already exists.
+
+
Note that the outlet definitions which are created automatically
do not have mergepoint mappings,
so you will still have to map the mergepoint mappings explicitly
@@ -320,6 +323,14 @@
Also, the encoding of the templates will be assumed to be
the vm's default encoding.
+
+ If a template exists in two known languages
+ (e.g. myTemplate.vm and myTemplate.groovy), it is currently undefined
+ which template of the two will be used for automatic outlet definition.
+ So if automatic outlet definition is used for defining outlets,
+ make sure all templates have a different filename even when omitting
+ the suffix.
+