+ Reply to Thread
Results 1 to 5 of 5

Thread: Dave - Linked Folder

  1. #1

    Dave - Linked Folder

    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
    Last edited by Sebastian83; Aug 6th, 2015 at 06:04 AM.

  2. #2
    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:

    But the movement to the directory up with .. seems not to work.

    Kind Regards

    Sorry for creating this post in the wrong forum. I placed it here but actually it belongs to the DAVE forum. Sorry for that.
    Last edited by Sebastian83; Aug 7th, 2015 at 02:00 AM.

  3. #3
    Has nobody any idea how to achive this?

  4. #4
    New Member New Member rum will become famous soon enough
    Join Date
    Jul 2014

    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.

    ?????? ?????? C2.JPG‎   C1.JPG‎  

  5. #5
    Beginner Beginner ErnieT is on a distinguished road
    Join Date
    Feb 2018
    ... 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.


+ Reply to Thread

All content and materials on this site are provided “as is“. Infineon makes no warranties or representations with regard to this content and these materials of any kind, whether express or implied, including without limitation, warranties or representations of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. No license, whether express or implied, is granted by Infineon. Use of the information on this site may require a license from a third party, or a license from Infineon.

Infineon accepts no liability for the content and materials on this site being accurate, complete or up- to-date or for the contents of external links. Infineon distances itself expressly from the contents of the linked pages, over the structure of which Infineon has no control.

Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Usage Terms of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Usage Terms of this site. Infineon reserves the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.