On Fri, Nov 15, 2013 at 04:45:23PM -0500, Brad King wrote:
> 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.

That was a typo in my email, it's SHA256 in the file system.

>> -- 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.

No credentials are required, but I found another typo in my
CMakeLists.txt.  Fixing that made it work for me too.

I still need to check this a second time at work though.  There the
setup of shares is a bit more complicated (using MSDFS and such), it
also does require credentials.

/M

-- 
Magnus Therning                      OpenPGP: 0xAB4DFBA4 
email: mag...@therning.org   jabber: mag...@therning.org
twitter: magthe               http://therning.org/magnus

If you can explain how you do something, then you're very very bad at
it.
     -- John Hopfield

Attachment: pgpPah8bxa_fD.pgp
Description: PGP signature

--

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

Reply via email to