Changes for page Custom Project Templates
Last modified by Bastian Triller on 2009/04/11 21:03
From version 26.1
edited by Mike Schrag
on 2007/10/07 10:11
on 2007/10/07 10:11
Change comment:
There is no comment for this version
To version 25.1
edited by Mike Schrag
on 2007/12/11 19:46
on 2007/12/11 19:46
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -91,6 +91,6 @@ 91 91 92 92 {{/code}} 93 93 94 -In addition to variables inside of Velocity templates, you can also use template inputs in folder names. For instance, the Wonder Application template has an input named "basePackage" (of type Package), which creates a magic variable named "basePackage//folder" (where the dots are turned into slashes), and the Source folder on the filesystem is named "Wonder Application/Sources/$basePackage//folder".94 +In addition to variables inside of Velocity templates, you can also use template inputs in folder names. However, because $ is not allowed on some filesystems, we instead surround the variable names with "" (for instance $someVariable would be someVariable in the filename or path). As an example, the Wonder Application template has an input named "basePackage" (of type Package), which creates a magic variable named "basePackage//folder" (where the dots are turned into slashes), and the Source folder on the filesystem is named "Wonder Application/Sources/basePackage//folder". 95 95 96 96 Happy templating!