[CMake] Question about Project.xml file when using subprojects

David Cole david.cole at kitware.com
Mon Mar 7 19:12:37 EST 2011


Are you calling ctest_start(Experimental) or ctest_start(Nightly) before
callng ctest_submit...?


On Mon, Mar 7, 2011 at 4:32 PM, Zou, Di (Cont, ARL/CISD) <di.zou at us.army.mil
> wrote:

> 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.zou at 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20110307/d435b370/attachment.htm>


More information about the CMake mailing list