On 11/15/2013 04:17 PM, Magnus Therning wrote:
> I just reproduced it locally. Here's what I did:
I tested with a local share and corresponding url template:
file:////127.0.0.1/share$/%(algo)/%(hash)
It downloads at build time successfully for me.
> 4. Move the generated "SHA file" to C:\devo\shared$\SHA256\, in my case it
> became
>
> C:\devo\shared$\SHA26\9cf657b2a8e4a3deec1aa820dd60540d000bf1e6a5ae84920e93d698c293b2fc
That should be SHA256, not SHA26.
> -- Fetching
> "file:////127.0.0.1/shared$/SHA256/9cf657b2a8e4a3deec1aa820dd60540d000bf1e6a5ae84920e93d698c293b2fc"
> CMake Error at C:/Program Files (x86)/CMake
> 2.8/share/cmake-2.8/Modules/ExternalData.cmake:717 (message): Object
> SHA256=9cf657b2a8e4a3deec1aa820dd60540d000bf1e6a5ae84920e93d698c293b2fc not
> found at:
>
> file:////127.0.0.1/shared$/SHA256/9cf657b2a8e4a3deec1aa820dd60540d000bf1e6a5ae84920e93d698c293b2fc
> ("couldn't read a file:// file")
Is the mount available without any required credentials?
Load it in explorer as
\\127.0.0.1\shared$\SHA256
first to be sure.
>> ExternalData: Allow local stores without any URL templates
>> http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=8eb20eea
>
> Excellent, I hope that's slated for the next release then :)
It is. Meanwhile you can just put in a dummy URL template.
-Brad
--
Powered by www.kitware.com
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQ
Kitware offers various services to support the CMake community. For more
information on each offering, please visit:
CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake