Not applicable
Aug 06, 2015
04:36 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Aug 06, 2015
04:36 AM
Hi all,
hopefully someone can help me with a DAVE related problem:
I have to use source and header files which are not directly located in the project directory itself but somewhere else. This is because the code is shared with some other microcontrollers which implement exactly the same algorithm. At the end of the development we want to use an automatic build process.
As revision control we use SVN.
Now the question: In DAVE Eclipse IDE I have the possibility to use a so-called Linked Folder where I can specify the directory in my filesystem. The problem is that this is an absolute path: C:home/sebastian/.......
If someone of my colleagues checks out the repository then of course the above path is not correct any more. I need DAVE to use relative paths in order to meet my target.
Thank you for helping!
Kind regards
Sebastian
hopefully someone can help me with a DAVE related problem:
I have to use source and header files which are not directly located in the project directory itself but somewhere else. This is because the code is shared with some other microcontrollers which implement exactly the same algorithm. At the end of the development we want to use an automatic build process.
As revision control we use SVN.
Now the question: In DAVE Eclipse IDE I have the possibility to use a so-called Linked Folder where I can specify the directory in my filesystem. The problem is that this is an absolute path: C:home/sebastian/.......
If someone of my colleagues checks out the repository then of course the above path is not correct any more. I need DAVE to use relative paths in order to meet my target.
Thank you for helping!
Kind regards
Sebastian
- Tags:
- IFX
4 Replies
Not applicable
Aug 06, 2015
05:26 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Aug 06, 2015
05:26 AM
OK, I made some success. First I thought the Variable PROJECT_LOC would be the solution. But I didn't expect that eclipse does not get on with ../..
I did the following:
Link to folder in the file system:
PROJECT_LOC/../../otherSourcePath
But the movement to the directory up with .. seems not to work.
Kind Regards
Sebastian
Sorry for creating this post in the wrong forum. I placed it here but actually it belongs to the DAVE forum. Sorry for that.
I did the following:
Link to folder in the file system:
PROJECT_LOC/../../otherSourcePath
But the movement to the directory up with .. seems not to work.
Kind Regards
Sebastian
Sorry for creating this post in the wrong forum. I placed it here but actually it belongs to the DAVE forum. Sorry for that.
Not applicable
Aug 19, 2015
03:56 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Aug 19, 2015
03:56 AM
Has nobody any idea how to achive this?
Aug 20, 2015
05:16 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Aug 20, 2015
05:16 AM
Hi,
You may try to set environment variable (different on each PC) and then use it in project paths. See attached pictures on how to achieve this. I hope it solves your problem.
rum
You may try to set environment variable (different on each PC) and then use it in project paths. See attached pictures on how to achieve this. I hope it solves your problem.
rum
Jun 13, 2019
03:19 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jun 13, 2019
03:19 AM
... Dave from the grave ...
It is possible, using DAVE 4.4.2:
- Select the main project which links to the external folder.
- Project
- Settings
- C/C++ General
- Paths and Symbols
- Source Location
- Link Folder
- input a name in Folder name under which the link is supposed to appear in
- open Advanced
- check Link to folder in file system
- Browse
- select folder
- edit the folder to be relative to project folder (e.g. "../common")
That's it. The .project file contain a new item when closing workspace or saving the project.
It is possible, using DAVE 4.4.2:
- Select the main project which links to the external folder.
- Project
- Settings
- C/C++ General
- Paths and Symbols
- Source Location
- Link Folder
- input a name in Folder name under which the link is supposed to appear in
- open Advanced
- check Link to folder in file system
- Browse
- select folder
- edit the folder to be relative to project folder (e.g. "../common")
That's it. The .project file contain a new item when closing workspace or saving the project.
common
2
$%7BPARENT-1-PROJECT_LOC%7D/common