JeremyYao commented on issue #1198:
URL: 
https://github.com/apache/daffodil-vscode/issues/1198#issuecomment-2722087417

   Updated the `"daffodilVersion"` line in `package.json` to "3.10.0". Then 
running `yarn` and running `yarn package` causes the following errors in 
Parse.scala
   
   ```PowerShell
   PS C:\Users\jeremy.yao\repos\daffodil-vscode-ctc> yarn package
   yarn run v1.22.22
   warning [email protected]: The engine "vscode" appears 
to be invalid.
   $ yarn install && yarn compile && yarn webpack:pkg
   [1/5] Validating package.json...
   warning [email protected]: The engine "vscode" appears 
to be invalid.
   [2/5] Resolving packages...
   success Already up-to-date.
   warning [email protected]: The engine "vscode" appears 
to be invalid.
   $ yarn nodeclean && yarn gen-version-ts && yarn webpack:svelte && yarn 
compile:tdmlEditorJS
   warning [email protected]: The engine "vscode" appears 
to be invalid.
   $ run-func build/yarn-scripts.ts nodeclean
   warning [email protected]: The engine "vscode" appears 
to be invalid.
   $ run-func build/yarn-scripts.ts genVersionTS
   warning [email protected]: The engine "vscode" appears 
to be invalid.
   $ webpack -c ./src/svelte/webpack.config.js
   assets by path *.woff2 743 KiB
     asset 46febb2685fe621c1a9c.woff2 675 KiB [emitted] [immutable] [from: 
src/svelte/src/resources/icons/material-icons.wo
     asset 4831bb8abc92879df659.woff2 48.1 KiB [emitted] [immutable] [from: 
src/svelte/src/resources/fonts/SpaceGrotesk-Var
     asset 57234ce675330fa60781.woff2 20.5 KiB [emitted] [immutable] [from: 
src/svelte/src/resources/fonts/RedHatMono-Regul
   assets by chunk 277 KiB (name: index)
     asset index.js 257 KiB [emitted] [minimized] (name: index)
     asset ../../styles.css 20.1 KiB [emitted] [minimized] (name: index)
   Entrypoint index 277 KiB (743 KiB) = ../../styles.css 20.1 KiB index.js 257 
KiB 3 auxiliary assets
   orphan modules 38.9 KiB (javascript) 743 KiB (asset) 23.9 KiB (runtime) 
[orphan] 138 modules
   runtime modules 937 bytes 4 modules
   cacheable modules 655 KiB (javascript) 23.4 KiB (css/mini-extract)
     javascript modules 655 KiB
       modules by path ./src/svelte/src/components/ 502 KiB 58 modules
       modules by path ./src/svelte/src/utilities/ 27.2 KiB 9 modules
       modules by path ./node_modules/ 100 KiB 5 modules
       modules by path ./src/svelte/src/stores/*.ts 24.5 KiB 3 modules
       ./src/svelte/src/views/dataEditor/index.ts 929 bytes [built] [code 
generated]
     css modules 23.4 KiB 26 modules
   webpack 5.97.1 compiled successfully in 9193 ms
   warning [email protected]: The engine "vscode" appears 
to be invalid.
   $ esbuild src/tdmlEditor/webview/webview.js 
--outfile=dist/views/tdmlEditor/webview/webview.js --bundle --platform=node 
   
     dist\views\tdmlEditor\webview\webview.js  242.2kb
   
   $ tsc -p ./ && yarn sbt
   warning [email protected]: The engine "vscode" appears 
to be invalid.
   $ sbt debugger/Universal/packageBin
   [info] welcome to sbt 1.10.6 (Oracle Corporation Java 17.0.12)
   [info] loading settings for project daffodil-vscode-ctc-build-build-build 
from metals.sbt...
   [info] loading project definition from 
C:\Users\jeremy.yao\repos\daffodil-vscode-ctc\project\project\project
   [info] loading settings for project daffodil-vscode-ctc-build-build from 
metals.sbt...
   [info] loading project definition from 
C:\Users\jeremy.yao\repos\daffodil-vscode-ctc\project\project
   [success] Generated .bloop\daffodil-vscode-ctc-build-build.json
   [success] Total time: 3 s, completed Mar 13, 2025, 12:52:08 PM
   [info] loading settings for project daffodil-vscode-ctc-build from 
metals.sbt, plugins.sbt...
   [info] loading project definition from 
C:\Users\jeremy.yao\repos\daffodil-vscode-ctc\project
   [success] Generated .bloop\daffodil-vscode-ctc-build.json
   [success] Total time: 3 s, completed Mar 13, 2025, 12:52:12 PM
   [info] loading settings for project daffodil-debugger from build.sbt...
   [info] set current project to daffodil-debugger (in build 
file:/C:/Users/jeremy.yao/repos/daffodil-vscode-ctc/)
   [info] Wrote 
C:\Users\jeremy.yao\repos\daffodil-vscode-ctc\debugger\target\scala-2.12\daffodil-debugger_2.12-1.4.1-SNAPS
   [info] compiling 9 Scala sources and 22 Java sources to 
C:\Users\jeremy.yao\repos\daffodil-vscode-ctc\debugger\target\sc
   [error] 
C:\Users\jeremy.yao\repos\daffodil-vscode-ctc\debugger\src\main\scala\org.apache.daffodil.debugger.dap\Parse.sca
   [error]               .get(URI.create(startElement.schemaLocation.uriString))
   [error]                                                           ^
   [error] 
C:\Users\jeremy.yao\repos\daffodil-vscode-ctc\debugger\src\main\scala\org.apache.daffodil.debugger.dap\Parse.sca
   [error]                   startElement.schemaLocation.uriString,
   [error]                                               ^
   [error] 
C:\Users\jeremy.yao\repos\daffodil-vscode-ctc\debugger\src\main\scala\org.apache.daffodil.debugger.dap\Parse.sca
   [error]  found   : Any
   [error]  required: 
org.apache.daffodil.debugger.dap.DAPodil.VariablesReference
   [error]         schemaScope <- schemaScope(schemaScopeId, startElement.state)
   [error]                                    ^
   [error] 
C:\Users\jeremy.yao\repos\daffodil-vscode-ctc\debugger\src\main\scala\org.apache.daffodil.debugger.dap\Parse.sca
   [error]  found   : Any
   [error]  required: 
org.apache.daffodil.debugger.dap.DAPodil.VariablesReference
   [error]         parseScope <- parseScope(parseScopeId, startElement)
   [error]                                  ^
   [error] 
C:\Users\jeremy.yao\repos\daffodil-vscode-ctc\debugger\src\main\scala\org.apache.daffodil.debugger.dap\Parse.sca
   [error]  found   : Any
   [error]  required: org.apache.daffodil.debugger.dap.DAPodil.Frame.Id
   [error]         frameId,
   [error]         ^
   [error] 
C:\Users\jeremy.yao\repos\daffodil-vscode-ctc\debugger\src\main\scala\org.apache.daffodil.debugger.dap\Parse.sca
   [error]  found   : Any
   [error]  required: com.microsoft.java.debug.core.protocol.Types.StackFrame
   [error]         stackFrame,
   [error]         ^
   [error]  found   : Any
   [error]  required: 
org.apache.daffodil.debugger.dap.DAPodil.VariablesReference
   [error]           dataScope(dataScopeId, startElement.state)
   [error]                     ^
   [error] 
C:\Users\jeremy.yao\repos\daffodil-vscode-ctc\debugger\src\main\scala\org.apache.daffodil.debugger.dap\Parse.sca
   [error]         URI.create(loc.uriString).normalize,
   [error]                        ^
   [error] 
C:\Users\jeremy.yao\repos\daffodil-vscode-ctc\debugger\src\main\scala\org.apache.daffodil.debugger.dap\Parse.sca
   [error]       frameIds: Next[DAPodil.Frame.Id],
   [error]       ^
   [error] 9 errors found
   [error] (debugger / Compile / compileIncremental) Compilation failed
   [error] Total time: 10 s, completed Mar 13, 2025, 12:52:24 PM
   error Command failed with exit code 1.
   info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this 
command.
   error Command failed with exit code 1.
   info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this 
command.
   error Command failed with exit code 1.
   info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this 
command.
   ```
   
   The [Daffodil 3.10.0 API 
](https://daffodil.apache.org/docs/latest/scaladoc/index.html)doesn't seem to 
be comprehensive or include all of the Daffodil library packages. 
   
   Other notes:
   
   - SchemaFileLocation in ScheamFileLocatable.scala under 
org.apache.daffodil.lib.exceptions seems to have removed URI-related data 
members from 3.8.0 to 3.10.0
   
   


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