AnsweredAssumed Answered

Virtual Workspace Path Variable

Question asked by YanikM on Feb 6, 2017
Latest reply on Feb 24, 2017 by Kader.M

Hello!

I'm trying to link a resource (file or folder) to a CCES project in relative form within CCES/Eclipse. The resource is a part of another project in workspace, but the workspace itself is located on another folder on the disc

 

The folders on disc (C:) look like this:

 

- Analog Devices\CrossCore Embedded Studio 2.5.0\

.

.

.

- CCES_workspace

   | -.metadata

   | - RemoteSystemFiles

.

.

.

- CCES_Projects

   | - Core0

      | - src

         | -file0.c

   | - Core1

      | - src

   | - Core2

      | -src

.

.

 

I want to add a linked file (file0.c) to Core1 and Core2 project using CCES resource variables such as WORKSPACE_LOC etc. but it doesn't work. When adding include resource in build settings the following syntax is used:

 

"${workspace_loc:/Host_Core0/include}"

 

And it works ok. But when adding a linked file via New->File->Advanced->Link to File, and trying to specify the location of the file, the location could not be resolved, since WORKSPACE_LOC  points to the workspace folder on disc and not to Eclipse folder.

 

Any advise?

Yanik

Outcomes