Skip to content

Uvision5: export from within a sub folder #5357

@chrissnow

Description

@chrissnow

Description

  • Type: Bug
  • Priority: Minor

Bug

Target
Any
Toolchain:
ARM, possibly others

Expected behavior
Export's a valid project, or refuses to export or exports to the current directory.
Actual behavior
Export's a project but the paths are all wrong

Steps to reproduce

mbed import mbed-os-example-blinky
cd mbed-os-example-blinky
mbed export -i uvision5

Works as expected and creates a project in the normal place.
sample file ref.

<FilePath>.\mbed-os\drivers\BusIn.cpp</FilePath>

However move into a subdirectory.

cd mbed-os
mbed export -i uvision5

Which is successful and creates the project in the normal place but..
Sample file ref

<FilePath>..\mbed-os\drivers\BusIn.cpp</FilePath>

Notice the ..\ which should be .\

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions