Commit bba0aa6
authored
fix(cli): drop bundlename hint from new-app sqlite datasources (#2304)
`wheels new` was emitting `bundleName: "org.xerial.sqlite-jdbc"` into
the generated config/app.cfm, which routes Lucee 7's datasource
resolver through BundleProvider. That code path currently fails on
all platforms because the upstream S3 listing at
bundle-download.s3.amazonaws.com contains a malformed entry
(`javassist-3.9.0.GA copy.jar`) whose space + " copy" suffix is both
an illegal URI character and an invalid OSGi version qualifier. The
listing parse throws, bundle resolution dies, and the SQLite driver
never loads — leaving fresh `wheels new` apps with a 0-byte database
and a `wheels migrate latest` that silently no-ops.
Removing the bundleName hint lets Lucee fall through to the standard
classpath, which resolves org.sqlite.JDBC normally as long as
sqlite-jdbc is on the lib path. Companion changes to bundle the JAR
in homebrew-wheels and chocolatey-wheels will follow.
Reported by a fresh-VM tutorial onboarding run on macOS arm64.
Note: cli/src/ (legacy CommandBox surface) still emits the same
bundleName hint and will need a matching change if that distribution
is still being shipped.1 parent 525a30e commit bba0aa6
1 file changed
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3458 | 3458 | | |
3459 | 3459 | | |
3460 | 3460 | | |
3461 | | - | |
| 3461 | + | |
| 3462 | + | |
| 3463 | + | |
3462 | 3464 | | |
3463 | 3465 | | |
3464 | 3466 | | |
| |||
3482 | 3484 | | |
3483 | 3485 | | |
3484 | 3486 | | |
3485 | | - | |
3486 | 3487 | | |
3487 | 3488 | | |
3488 | 3489 | | |
3489 | 3490 | | |
3490 | 3491 | | |
3491 | 3492 | | |
3492 | | - | |
3493 | 3493 | | |
3494 | 3494 | | |
3495 | 3495 | | |
| |||
0 commit comments