[Cdash] CDash using WebSVN: problems when ${CMAKE_SOURCE_DIR} != SVN repositoryroot

Martin Apel martin.apel at simpack.de
Thu Apr 30 11:39:27 UTC 2009


Hi all,

I tried to set up WebSVN to be used from within CDash for some project.
The directory layout of the project looks something like this:

<project-root>
   - develop
      - CMakeLists.txt
      - src
         - CMakeLists.txt

The important thing is, that the directory forming the root directory of
the svn repository is not the same as what ${CMAKE_SOURCE_DIR} evaluates to,
because all development files are located in a subdirectory. While
WebSVN works without problems for this repository, CDash seems to
generate wrong links,
when showing filenames somewhere.

Example:
If there is a file under develop/src/test.cpp, the link CDash generates
looks like this:
http://servername/websvn/diff.php?repname=Projectname&path=/src/test.cpp

where the develop directory is missing. The WebSVN path specified in the
configuration of CDash looks like this:
   http://servername/websvn/listing.php?repname=Projectname
Is there any way to specify the corresponding directory for
${CMAKE_SOURCE_DIR}, such that CDash would include the "develop"
directory into the file's path?

Regards,

Martin

____________
Virus checked by G DATA AntiVirus
Version: AVF 19.358 from 29.04.2009





More information about the CDash mailing list