This is an automated email from the ASF dual-hosted git repository. ntimofeev pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/cayenne.git
commit 6a4f0fa2f25f5c32e4671b53f0d63a90cdefc0d0 Author: Faizel Dakri <fai...@me.com> AuthorDate: Mon May 11 13:47:35 2020 -0500 Updated comment to match new feature --- .../main/java/org/apache/cayenne/gen/ClassGenerationAction.java | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/cayenne-cgen/src/main/java/org/apache/cayenne/gen/ClassGenerationAction.java b/cayenne-cgen/src/main/java/org/apache/cayenne/gen/ClassGenerationAction.java index 2e80289..1ba7095 100644 --- a/cayenne-cgen/src/main/java/org/apache/cayenne/gen/ClassGenerationAction.java +++ b/cayenne-cgen/src/main/java/org/apache/cayenne/gen/ClassGenerationAction.java @@ -79,9 +79,10 @@ public class ClassGenerationAction { /** Optionally allows user-defined tools besides {@link ImportUtils} for working with velocity templates.<br/> - To use this feature, set the java system property {@code -Dorg.apache.velocity.tools=tools.properties} - And create the file "tools.properties" in the working directory or in the - root of the classpath with content like this: + To use this feature, either set the java system property {@code -Dorg.apache.velocity.tools=tools.properties} + or set the {@code externalToolConfig} property to "tools.properties" in {@code CgenConfiguration}. Then + create the file "tools.properties" in the working directory or in the root of the classpath with content + like this: <pre> tools.toolbox = application tools.application.myTool = com.mycompany.MyTool</pre>