Skip to content

Classpath contains multiple versions of a dependency #945

@toinehartman

Description

@toinehartman

Describe the bug

Type-checking bird fails

To Reproduce

Steps to reproduce the behavior:

  1. Clone https://github.com/swat-engineering/bird and open the workspace
  2. Remove all TPLs (for example by running find . -iname *.tpl -exec rm -v {} \;
  3. Open bird-ide\src\main\rascal\lang\bird\LanguageServer.rsc
  4. Ctrl+S to initiate a type-check
  5. Observe the error "Module util::LanguageServer not found" (and missing declarations from this module)

Expected behavior
No missing import, since library modules from rascal-lsp should be on the path.

Desktop (please complete the following information):

  • Context: VS Code extension
  • Rascal Version: VS Code extension 0.13.0

Additional context

Path config:

projectRoot:|file:///c:/Users/toine/swat/projects/bird/bird-ide|
srcs:       [|file:///c:/Users/toine/swat/projects/bird/bird-ide/src/main/rascal|]
ignores:    []
libs:       [|jar+file:///C:/Users/toine/.vscode/extensions/usethesource.rascalmpl-0.13.0/assets/jars/rascal.jar!/|,|target://bird-core|,|mvn://org.rascalmpl--typepal--0.15.5|,|mvn://junit--junit--4.13.1|,|mvn://org.hamcrest--hamcrest-core--1.3|,|file:///c:/Users/toine/swat/projects/bird/bird-core/target/classes|,|file:///C:/Users/toine/.vscode/extensions/usethesource.rascalmpl-0.13.0/assets/jars/rascal-lsp.jar|,|jar+file:///C:/Users/toine/.vscode/extensions/usethesource.rascalmpl-0.13.0/assets/jars/rascal-lsp.jar!/|,|mvn://org.rascalmpl--typepal--0.15.2-RC16|]
bin:        |file:///c:/Users/toine/swat/projects/bird/bird-ide/target/classes|
resources:  []
messages:   []

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions