Skip to content

Eclipse export generates wrong formatted Include Paths inside the .cproject #3529

@bittailor

Description

@bittailor

Description

  • Type: Bug
  • Priority: Minor

When exporting a application to eclipse mbed export -i eclipse_gcc_arm and importing it into an Eclipse workspace Eclipse shows lots of Invalid project path: warnings:

screen shot 2017-01-05 at 13 04 46

This is because the include paths are wrong formatted for eclipse. They are /./<path> instead of /<project>/<path>:

screen shot 2017-01-05 at 13 05 30

I locally fixed the generator to format it correctly (will do a pull request) and the warnings are gone:

screen shot 2017-01-05 at 14 09 24

and the paths look like this:

screen shot 2017-01-05 at 14 07 08


Bug

Target
NUCLEO_F401RE

Toolchain:
GCC_ARM

Toolchain version:
not relevant

mbed-cli version:
1.0.0

meed-os sha:
0789928

DAPLink version:
not relevant

Expected behavior
correct formatted Eclipse include paths

Actual behavior
wrong formatted Eclipse include paths

Steps to reproduce

  • exporting an application to eclipse mbed export -i eclipse_gcc_arm
  • importing it into an Eclipse workspace

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