Did you try: "\\share.host/foo/bar/%(algo)/%(hash)"? (probably you gonna need 
proper escaping).
Note, that UNC paths begin with "\\" and in this case they cannot be substitued 
with "//". Also - this is windows-only.

--
Gruesse,
Jakub




-----Original Message-----
From: cmake-boun...@cmake.org [mailto:cmake-boun...@cmake.org] On Behalf Of 
Magnus Therning
Sent: Dienstag, 12. November 2013 14:43
To: Cmake Mailing List
Subject: [CMake] ExternalData on unmounted Windows shares?

I'm trying to put some large-ish data files on a windows share and then 
reference them using the ExternalData module.  I'm running into problems 
setting the ExternalData_URL_TEMPLATES properly.  Neither 
"smb://share.host/foo/bar/%(algo)/%(hash)" nor 
"//share.host/foo/bar/%(algo)/%(hash)" work.  For the former ExternalData 
reports

  "unsupported protocol"

and for the latter

  "URL using bad/illegal format or missing URL"

Is there some way to point to an unmounted Windows share?

/M

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

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

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