13 มกราคม 2555 21:19
We are migrating from SVN to TFS and we have lots of symlinks in SVN. As TFS doesn't support symlinks we are using .tpattributes to create symlinks. The problem that we have here is that we need local symlinks, not symlinks which are absolute to the source path.
I have two files, A, B both of them are checked into source control. Lets say they are under /trunk/src/lib
When i use .tpattributes and specify A:link=B, symlink gets created as
A -> /trunk/src/lib/B.
Instead i need a symlink which will be created like A->B, so i tried using local-link in .tpattributes like A:local-link=B, but for some reason the symlink doesn't get created. How can a create a symlink which will like A->B using .tpattributes
19 มกราคม 2555 12:15เจ้าของI'm sorry, TEE does not support local symbolic links. The documentation mistakenly describes this feature, but it is not available in TEE 2010 or 2010 SP1. You'll have to use a shell script or some other automation to create them before you need them.
- ทำเครื่องหมายเป็นคำตอบโดย Shaw TerwilligerOwner 19 มกราคม 2555 12:15
19 มกราคม 2555 14:40Thanks Shaw! Will it be supported in future versions? Also, will the documentation be updated so that it doesn't cause problems for users?
14 ธันวาคม 2555 15:42
I have not tried TEE 2010, but TEE 2012 supports it. I use it as follows:
The catch is you have to create a file named "libMyLib" add it to TFS and check it in. Delete the local copy of "libMyLib" and the next get should get "libMyLib-1.0.a" and create a symlink named "libMyLib" that points to "./libMyLib-1.0a".