Skip to content
This repository was archived by the owner on Nov 9, 2017. It is now read-only.
This repository was archived by the owner on Nov 9, 2017. It is now read-only.

osgi.enroute.configurer.simple.provider: failed to process @{resource:} macro on Windows #81

@cdelg

Description

@cdelg

Input

A simple configuration such as:
[ { "service.pid" : "xxx" "prop": "@{resource;configuration/file.txt}" } ]

Problem

lead to a Json parse exception on Windows because the macro is replaced by a path without escape characters: C:\User\cde... \configuration\file.txt (expected path: C:\User\cde\... \configuration\file.txt).

note

Also there is a difference between the documentation of the resource macro and what is currently being done:

  • documentation -> @{resource:} (colon)
  • code -> @{resource;} (semi-colon)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions