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

Julien Jomier julien.jomier at kitware.com
Fri May 1 23:26:30 UTC 2009


David,

You are right, CTest should probably include the path to the repository 
used to update the file. We will investigate this.

Glad you like CDash :)

Julien

David Blado wrote:
> Hi Julien,
> 
> I believe that this is the same bug that I filed:
> http://public.kitware.com/Bug/view.php?id=7817
> 
> I understand that the &path= thing could help, but my problem is that I
> use one project in cdash to build multiple versions of the same product.
> So I can't simply put in &path=/branches/product/version and have it
> work for version 1, 2, and 3.  Perhaps the 'path' that cmake passes to
> cdash could include the full path since cmake has access to run
> something like svn info and parse out the URL so there is no need to
> assemble it in cdash.
> 
> Thoughts?  I second what Martin says...cdash is GREAT!
> 
> Cheers,
> David
> 
> -----Original Message-----
> From: cdash-bounces at public.kitware.com
> [mailto:cdash-bounces at public.kitware.com] On Behalf Of Martin Apel
> Sent: Thursday, April 30, 2009 8:52 AM
> To: Julien Jomier
> Cc: cdash at public.kitware.com
> Subject: Re: [Cdash] CDash using WebSVN: problems
> when${CMAKE_SOURCE_DIR}!= SVN repositoryroot
> 
> Hi Julien,
> 
> thanks for your quick reply. I had to write a slash before develop, but
> now it works.
> CDash is really nice :-)
> 
> Regards,
> 
> Martin
> 
> Julien Jomier wrote:
>> Hi Martin,
>>
>> You can add the '&path=develop' in the configuration for the project.
>>
>>
> http://servername/websvn/listing.php?repname=Projectname&path=develop
>> and that should do the trick. Otherwise let us know.
>>
>> Julien
>>
>> Martin Apel wrote:
>>   
>>> 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
>>>
>>>
>>> _______________________________________________
>>> Cdash mailing list
>>> Cdash at public.kitware.com
>>> http://public.kitware.com/cgi-bin/mailman/listinfo/cdash
>>>
>>>
>>>     
>> .
>>
>>   
> 
> 



More information about the CDash mailing list