locked
Symbolic Links in TFS? RRS feed

  • Question

  • Hi,

    is there something like symbolic links in ClearCase in TFVC?

    A symbolic link is a directory entry whose contents is a character string that specifies a full or relative pathname. The link acts as a pointer to a file or directory (or another symbolic link). Many UNIX functions and commands “chase” this pointer: a reference to a symbolic link becomes a reference to the object at the full or partial pathname specified by the link.
    (Taken from
    CASEVision™/ClearCase)

    In the CC database I want to migrat they are used to aviod redundency of common sources.

    Does anybody know?

    Tom

    Friday, July 14, 2006 2:54 PM

Answers

  • No, we don't have this in v1.  VSS had a similar feature called "sharing" -- you can search this forum for questions people have asked about migrating their VSS shares.  Broadly, there are two solutions:
    1. use relative paths throughout your build process
    2. use branching & merging
    #1 is simple and provides instant propagation of any changes, just like VSS shares and Unix symlinks.  #2 provides flexibility and versioning over time.

    You may also be interested in this product: http://www.componentsoftware.com/Products/TFSLinks/
    Friday, July 14, 2006 6:14 PM
    Moderator

All replies

  • There is no facility within TFVC to "share" files between projects or Team Projects, either through the mechanism in used in VSS or through the symbolic link mechanism. 

     

    - Steve

    Friday, July 14, 2006 6:10 PM
  • No, we don't have this in v1.  VSS had a similar feature called "sharing" -- you can search this forum for questions people have asked about migrating their VSS shares.  Broadly, there are two solutions:
    1. use relative paths throughout your build process
    2. use branching & merging
    #1 is simple and provides instant propagation of any changes, just like VSS shares and Unix symlinks.  #2 provides flexibility and versioning over time.

    You may also be interested in this product: http://www.componentsoftware.com/Products/TFSLinks/
    Friday, July 14, 2006 6:14 PM
    Moderator
  • Later versions don't seem to support symlinks either even though the latest versions of Windows do. What are the plans for symlinks? Without them there are lots of SVN projects that won't port! Thanks, Dave
    Monday, July 12, 2010 5:06 PM