shanedell commented on code in PR #1452:
URL: https://github.com/apache/daffodil-vscode/pull/1452#discussion_r2420788468


##########
vite/dev.vite.config.mjs:
##########
@@ -43,35 +43,46 @@ const packageData = jsoncParse(
   fs.readFileSync(path.resolve('package.json'), 'utf8')
 )
 const pkg_version = packageData['version']
-const daffodilVersion = packageData['daffodilVersion']
-const serverPackage = `daffodil-debugger-${daffodilVersion}-${pkg_version}`
-const zipFilePath = path.resolve(
-  `debugger/target/universal/${serverPackage}.zip`
-)
+const daffodilScalaVersions = packageData['daffodilScalaVersions']
 
 function unzipAfterBuild() {
   return {
     name: 'unzip-server-package',
     apply: 'build',
     async closeBundle() {
-      const serverPackageFolder = path.join(
-        path.resolve('dist/package'),
-        serverPackage
-      )
+      Object.entries(daffodilScalaVersions).forEach(
+        async ([_, scalaVersion]) => {
+          const serverPackage = 
`daffodil-debugger-${scalaVersion}-${pkg_version}`
+          const jvmFolderName = `jvm-${scalaVersion}`
+          const zipFilePath = path.resolve(
+            `debugger/target/${jvmFolderName}/universal/${serverPackage}.zip`
+          )

Review Comment:
   I created issue https://github.com/apache/daffodil-vscode/issues/1459 for 
this



-- 
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]

Reply via email to