shanedell commented on code in PR #1471:
URL: https://github.com/apache/daffodil-vscode/pull/1471#discussion_r2455226063
##########
vite.config.mjs:
##########
@@ -122,12 +112,19 @@ function copyToPkgDirPlugin() {
const serverPackageFolders = []
scalaVersions.forEach((scalaVersion) => {
- serverPackageFolders.push(
- path.join(
- path.resolve('dist/package'),
- `daffodil-debugger-${scalaVersion}-${pkg_version}`
- )
+ const serverPackage = `daffodil-debugger-${scalaVersion}-${pkg_version}`
+ const jvmFolderName = `jvm-${scalaVersion}`
+ const stageFilePath = path.resolve(
+ `debugger/target/${jvmFolderName}/universal/stage`
+ )
+ const serverPackageFolder = path.join(
+ path.resolve('dist/package/dist/debuggers'),
Review Comment:
So the extension will always look inside `dist/debuggers` for the debuggers,
during debugging of the extension or using the VSIX. The path is only
`dist/package/dist/debuggers` when preparing a package. `dist/package` is just
where we copy all the files that we want packaged into the VSIX and then we
`cd` into that directory to actually create the VSIX.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]