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
-`-DluceeJar=` - Path to custom Lucee JAR (optional, overrides both luceeVersion and luceeVersionQuery). Example: `/full-path/to/lucee.jar`
55
+
-`-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
56
57
57
#### Paths and Execution
58
58
@@ -145,7 +145,7 @@ The `jfr` command-line tool is included in the JDK bin directory. For visual ana
**PowerShell:** Use double quotes for paths with spaces. Single quotes also work (especially in scripts to avoid variable expansion). Don’t mix and match.
@@ -161,73 +161,22 @@ The `jfr` command-line tool is included in the JDK bin directory. For visual ana
161
161
162
162
---
163
163
164
-
**Pro tip:** If you don’t know what you want, use `true` for CI or parallel runs, `false` for local dev.
165
-
166
-
167
-
168
-
**Command Prompt (Windows):**
169
-
170
-
Quotes are only needed if the path contains spaces. You can either quote just the value, or the entire parameter (both are valid). See the examples below:
171
-
172
-
-**No spaces in paths (no quotes needed):**
173
-
174
-
```cmd
175
-
ant -buildfile=C:\tools\script-runner\build.xml -Dwebroot=C:\work\myproject -Dexecute=test.cfm -DuniqueWorkingDir=true
176
-
```
177
-
178
-
-**Spaces in paths (quotes required):**
179
-
180
-
```cmd
181
-
ant -buildfile="C:\tools\script-runner\build.xml" -Dwebroot="C:\work\my project" -Dexecute="test.cfm" -DuniqueWorkingDir=true
182
-
183
-
REM Or quote the entire parameter (especially useful in batch files):
184
-
ant "-buildfile=C:\Program Files\script-runner\build.xml" "-Dwebroot=C:\My Projects\test" -Dexecute=test.cfm
185
-
```
186
-
187
-
**Bash/WSL (Linux):**
188
-
189
-
- Use forward slashes and Linux-style paths.
190
-
191
-
Quotes are only needed if the path contains spaces. See the two examples below:
192
-
193
-
-**No spaces in paths (no quotes needed):**
194
-
195
-
```bash
196
-
ant -buildfile /mnt/d/work/script-runner/build.xml -Dwebroot=/mnt/d/work/myproject -Dexecute=test.cfm -DuniqueWorkingDir=true
197
-
```
198
-
199
-
-**Spaces in paths (quotes required):**
200
-
201
-
```bash
202
-
ant -buildfile "/mnt/d/work/script-runner/build.xml" -Dwebroot="/mnt/d/work/my project" -Dexecute="test.cfm" -DuniqueWorkingDir=true
ant -buildfile=D:\work\script-runner\build.xml -Dwebroot=. -Dexecute=/test/index.cfm
170
+
ant -buildfile"D:\work\script-runner\build.xml" -Dwebroot=. -Dexecute=/test/index.cfm
222
171
223
172
# Testing with specific Lucee version
224
-
ant -buildfile=D:\work\script-runner\build.xml -DluceeVersionQuery=6.2/stable/jar -Dwebroot=D:\work\lucee-spreadsheet -Dexecute=/test/index.cfm
173
+
ant -buildfile"D:\work\script-runner\build.xml" -DluceeVersionQuery=6.2/stable/jar -Dwebroot="D:\work\lucee-spreadsheet" -Dexecute=/test/index.cfm
225
174
226
175
# Testing with a locally built Lucee JAR (for Lucee developers)
227
-
ant -buildfile=D:\work\script-runner\build.xml -DluceeJar="D:\work\lucee\loader\target\lucee.jar" -Dwebroot=D:\work\lucee-spreadsheet -Dexecute=/test/index.cfm
176
+
ant -buildfile"D:\work\script-runner\build.xml" -DluceeJar="D:\work\lucee\loader\target\lucee.jar" -Dwebroot="D:\work\lucee-spreadsheet" -Dexecute=/test/index.cfm
228
177
229
178
# With unique working directory for concurrent runs
230
-
ant -buildfile=D:\work\script-runner\build.xml -DuniqueWorkingDir=true -Dwebroot=D:\work\lucee-spreadsheet -Dexecute=/test/index.cfm
179
+
ant -buildfile"D:\work\script-runner\build.xml" -DuniqueWorkingDir=true -Dwebroot="D:\work\lucee-spreadsheet" -Dexecute=/test/index.cfm
ant -buildfile "C:\work\script-runner\build.xml" -Dexecute="debug.cfm"
354
303
355
-
`ant -buildfile="C:\work\script-runner" -Dexecute="debug.cfm" -DluceeVersion="light-6.2.2.91"` (`light` has no bundled extensions, `zero` has no extension or admin)
304
+
# With light version (no bundled extensions) or zero version (no extension or admin)
305
+
ant -buildfile "C:\work\script-runner\build.xml" -Dexecute="debug.cfm" -DluceeVersion="light-6.2.2.91"
0 commit comments