I have been looking at this webpage: 
http://www.kitware.com/products/html/CDashSubprojects.html. I have created a 
Project.xml file to list my subprojects. Right now I am just trying to use 
Project.xml to add subprojects to a dashboard. I am trying to submit the file 
to the dashboard like so:

#Stuff
ctest_submit(FILES "${CTEST_BINARY_DIRECTORY}/Project.xml")
#Stuff

ctest_update()
ctest_configure()
ctest_submit(PARTS Update Configure)
ctest_build(BUILD "${CTEST_BINARY_DIRECTORY}")
ctest_test(BUILD "${CTEST_BINARY_DIRECTORY}")

I am getting this error:
Cannot create directory /Testing/Temporary
Cannot create log file: LastSubmit.log
   Error when uploading file: /home/dizou/build_dir/Project.xml
   Error message was: Couldn't resolve host ''
   Problems when submitting via HTTP

If I comment out "ctest_submit(FILES "${CTEST_BINARY_DIRECTORY}/Project.xml")", 
everything gets submitted to the dashboard ok.
Am I putting Project.xml in the wrong directory? Should I be putting the 
command in a seperate script?

Thanks for the help.

Lockheed Martin / ARL CISD
Aberdeen Proving Ground, MD 21005
Phone: 410-278-7751
Email: di....@us.army.mil

_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to