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
Copy file name to clipboardExpand all lines: README.md
+73-3Lines changed: 73 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -37,7 +37,7 @@ ant -buildfile "C:\tools\script-runner\build.xml" -Dwebroot="C:\work\myproject"
37
37
38
38
-`-buildfile` specifies where script-runner is installed
39
39
-`-Dwebroot` is the directory containing your CFML code (can be relative to current directory)
40
-
-`-Dexecute` is the CFML script to run (relative to webroot)
40
+
-`-Dexecute` is the CFML script to run (relative to webroot, no leading slash required)
41
41
-**Note:** The script-runner always normalizes the webroot to an absolute path internally, regardless of whether you pass a relative or absolute path. All output and script execution will use this normalized absolute path.
42
42
43
43
### Basic Usage
@@ -50,10 +50,22 @@ Default `ant` will run the `sample/index.cfm` file
50
50
51
51
#### Lucee Version
52
52
53
-
-`-DluceeVersion=` - Lucee version (default: `6.2.2.91`). Examples: `6.2.2.91`, `light-6.2.2.91`, `zero-6.2.2.91`
Version Query Format: `(version)/(stable/rc/snapshot/lpha)/(jar/light/zero)`.
54
+
55
+
Examples:
56
+
57
+
-`7.0/stable/light`
58
+
-`0/stable/jar`
59
+
-`7.0.2/snapshot/zero`
60
+
55
61
-`-DluceeJar=` - Path to custom Lucee JAR (optional, overrides both luceeVersion and luceeVersionQuery). Example: `/full-path/to/lucee.jar`, but make sure you use the exact filename for the jar.
56
62
63
+
-`-DluceeVersion=` - Lucee version (default: `6.2.2.91`). Examples: `6.2.2.91`, `light-6.2.2.91`, `zero-6.2.2.91` or `7.0/stable/light`
64
+
65
+
**New** LuceeVersion now also handles Version Query format, `luceeVersionQuery` is still supported for backwards compat
66
+
67
+
-`-DluceeVersionQuery=` - Query-based version (optional, overrides luceeVersion).
68
+
57
69
#### Paths and Execution
58
70
59
71
-`-Dwebroot=` - Directory containing CFML code (default: `tests/`). On Windows, trailing backslashes (`\`) will be rejected with an error
@@ -85,8 +97,24 @@ These options are good for inspecting after a run, or setting up the `/lucee-ser
85
97
-`-Ddebugger=` - Enable Java debugger on port 5000 with suspend=y (default: false)
Copy file name to clipboardExpand all lines: action.yml
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -2,10 +2,10 @@ name: 'Lucee Script Runner'
2
2
description: 'Run Lucee via the command line'
3
3
inputs:
4
4
luceeVersion:
5
-
description: Lucee Version to run, i.e. "light-6.2.2.91", "5.4.6.9", "zero-6.2.2.91"
5
+
description: Lucee Version to run, i.e. "light-7.0.1.100", "5.4.6.9", "zero-6.2.4.24" or "7.0/snapshot/jar"
6
6
required: true
7
7
luceeVersionQuery:
8
-
description: Lucee Version Query to run (overrides luceeVersion, i.e. "5.4/stable/light", "6.1/snapshot/jar", "6/stable/zero" )
8
+
description: Lucee Version Query to run (overrides luceeVersion, i.e. "5.4/stable/light", "7.0/snapshot/jar", "6/stable/zero" ) for backwards compat, use luceeVersion instead
9
9
default: ""
10
10
luceeJar:
11
11
description: Full path to a local Lucee JAR file (overrides both luceeVersion and luceeVersionQuery)
0 commit comments