Build failure in docs when building in a path with spaces (if sphinx installed)
-------------------------------------------------------------------------------

                 Key: GEOT-3166
                 URL: http://jira.codehaus.org/browse/GEOT-3166
             Project: GeoTools
          Issue Type: Bug
          Components: doc
            Reporter: Ben Caradoc-Davies


Yes, docs breaks the build!

If sphinx is available, docs are built. Build fails if building in a path with 
spaces, presumably because of unquoted property substitution.

{code}
[INFO] [antrun:run {execution: compile}]
[INFO] Executing tasks

build:

sphinx:
     [exec] Error: Cannot find source directory.
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] An Ant BuildException has occured: The following error occurred while 
executing this line:
/home/car605/geoserver/src with spaces/geotools-trunk/docs/build.xml:13: The 
following error occurred while executing this line:
/home/car605/geoserver/src with spaces/geotools-trunk/docs/build.xml:28: exec 
returned: 1
{code}

In build.xml, what happens if ${build.directory} contains spaces?
{code}
<arg line="-D release=${project.version} -b html -d 
${build.directory}/${id}/doctrees . ${build.directory}/${id}/html"/>
{code}

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Geotools-devel mailing list
Geotools-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to