You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 14, 2025. It is now read-only.
Copy file name to clipboardExpand all lines: docs/modules/ROOT/pages/ref/actionfile/action-guide.adoc
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -28,7 +28,7 @@ actions:
28
28
text: Hello {{user-name}} on {{os-name}}.
29
29
```
30
30
31
-
The `{{user-name}}` and `{{os-name}}` variables are replaced with actual values by the Handlebars template engine.
31
+
The `{\{user-name}}` and `{\{os-name}}` variables are replaced with actual values by the Handlebars template engine.
32
32
Command line options passed to user-defined command are exposed as variables to be used by the template engine.
33
33
34
34
For more information on predefined template engine variables, see the xref:ref/usercommand/user-command-guide.adoc#_template_engine[Template Engine] section.
Copy file name to clipboardExpand all lines: docs/modules/ROOT/pages/ref/usercommand/user-command-guide.adoc
+16-16Lines changed: 16 additions & 16 deletions
Original file line number
Diff line number
Diff line change
@@ -192,27 +192,27 @@ In the previous example, the `{{capitalizeFirst feature}}` template variable is
192
192
193
193
By default, several system variables are exposed to the template engine:
194
194
195
-
* `System.getProperties()` is available as `{{system-properties}}`
196
-
* `System.getenv()` is available as `{{system-environment}}`
197
-
* The current time (defined by `new Date().toString()`) is available as `{{now}}`
198
-
* The `java.io.tmpdir` system property is available as `{{tmp-dir}}`
199
-
* The `file.separator` system property is available as `{{file-separator}}`* The `os.name` system property is available as `{{os-name}}`
200
-
* The `user.name` system property is available as `{{user.name}}`
195
+
* `System.getProperties()` is available as `{\{system-properties}}`
196
+
* `System.getenv()` is available as `{\{system-environment}}`
197
+
* The current time (defined by `new Date().toString()`) is available as `{\{now}}`
198
+
* The `java.io.tmpdir` system property is available as `{\{tmp-dir}}`
199
+
* The `file.separator` system property is available as `{\{file-separator}}`* The `os.name` system property is available as `{\{os-name}}`
200
+
* The `user.name` system property is available as `{\{user.name}}`
201
201
202
-
The Java package name where the Spring Boot main application class resides is available as `{{root-package}}`.
202
+
The Java package name where the Spring Boot main application class resides is available as `{\{root-package}}`.
203
203
204
-
The directory where the Spring Boot main application class resides is available as `{{root-package-dir}}`.
204
+
The directory where the Spring Boot main application class resides is available as `{\{root-package-dir}}`.
205
205
206
206
The Maven model also exposes several variables:
207
207
208
-
* `{{artifact-id}}`
209
-
* `{{artifact-version}}`
210
-
* `{{artifact-path}}`
211
-
* `{{project-name}}`
212
-
* `{{project-descriptoin}}`
213
-
* `{{maven-model}` - This is the https://maven.apache.org/ref/3.9.0/maven-model/apidocs/org/apache/maven/model/Model.html[org.apache.maven.model.Model] class.
214
-
* `{{maven-properties}}` - This is a Java properties object that has, as keys, the values of each entry in the POM's `<properties>` section.
215
-
* `{{java-version}}` - This looks for a Maven Property named `java.version` in the POM. If the value is `1.8`, it is converted to a value of `8`.
208
+
* `{\{artifact-id}}`
209
+
* `{\{artifact-version}}`
210
+
* `{\{artifact-path}}`
211
+
* `{\{project-name}}`
212
+
* `{\{project-descriptoin}}`
213
+
* `{\{maven-model}}` - This is the https://maven.apache.org/ref/3.9.0/maven-model/apidocs/org/apache/maven/model/Model.html[org.apache.maven.model.Model] class.
214
+
* `{\{maven-properties}}` - This is a Java properties object that has, as keys, the values of each entry in the POM's `<properties>` section.
215
+
* `{\{java-version}}` - This looks for a Maven Property named `java.version` in the POM. If the value is `1.8`, it is converted to a value of `8`.
0 commit comments