views:

517

answers:

2

I have recently made use of the SrcSrv feature in the Debugging Tools For Windows, but have noticed that when I index the pdb with SVNIndex.cmd it does not pick up any of the files that are from an external link.

Any suggestions ?

A: 

Have you found an solution for this problem?

I try to set up source indexing and a private symbol server right now, and i also have a lot of externals in my subversion projects. So when theres no way that the externals also are checked out automatically, there's not much sense in indexing the symbols for me.

Btw: i still dont got the indexing working right now, cause i always get the message

SSIndex.cmd [INFO ] : ... zero source files found ...

If you have found a solution (or can give me a hint, where my problem could lie) it would be nice!

StefanB
Nope, has not been that NB to me yet.. but as for the zero source files, things I have noticed are that you must index from the absolute path that you did the build, not just the same source in a different location. Hope that helps a bit. Please let me know if you get any joy on the extern
Stephen Bailey
just wrote a new answer, cause this one should work! Problem has been the relative path.. i use absolut ones now, so its working fine atm, thanks!
StefanB
+2  A: 

Finally i got some time again to figure everything out:

To also get the files included with svn:externals property indexed, you just have to add the directories of them to /source= switch! easier than i thought! so if you have an external in "Ext1" dir under your Projectdir, just call ssindex.cmd with /source=Projectdir;Ext1 and you get all files in Ext1 also indexed.

I wrote a simple perl script, that handles the creation of the commandline for me, so you dont have to add any new external entry.

HTH, Stefan!

StefanB
Come on - you know you want to add the perl script in here :-)
Stephen Bailey
here it is: http://www.zeintlinger.at/srcindexer.zipJust hand over the projectdir and it should index every external too. there is not so much error handling in it, so check the output. (i have it under my postbuild actions ("srcindexer.cmd $(ProjectDir)") then you have output in build log. stefan
StefanB
Thanks muchly, will add it to my build scripts :-)
Stephen Bailey