Skip to content

paths seem to not get expanded for the sources field in referencedLibraries #4127

@hekar-lab

Description

@hekar-lab

When using the field sources in java.project.referencedLibraries expressions that should be expanded (i.e. ~ and ${ENV_VAR}) seem to not work properly.

Additional context

  • The expansions work properly for the include field.
  • I have tried to use absolute paths with no expansion and it works as intended.
  • As the expansion method seems to be the same for include and sources, I'm guessing that something goes wrong in how the JSON gets converted to a Java Object.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions