Menu

#14 Doxygen does not like spaces in FILE_PATTERNS

open
None
5
2014-01-07
2009-01-20
No

Some of the properties in doxygen configuration (like path) need to be wrapped around by spaces .

Some of them like FILE_PATTERNS need to take spaces as such without wrapping etc.

EG:
doxygen does not like
FILE_PATTERNS = "*.java *.dox"
Instead it must be
FILE_PATTERNS = *.java *.dox
// Note the missing quotes around the pattern(s)

--
Emil (via email )

Discussion

  • Nobody/Anonymous

    The same with

    <property name="TAGFILES" value="a=b c=d e=f" />

     
  • Johnson Lau

    Johnson Lau - 2010-03-30

    Hi, all.

    I don't think it needs to add quotes in DoxygenConfig.java when a path-like property is met.
    Actually, XML itself or Ant property tag can receive a string with quotes if you use double quotes nested by single quotes. ('"SOMETHING"') Or you can simply use entity reference.
    So I removed the codes
    if (val.indexOf(' ') > -1) { val = "\"" + val + "\""; }
    and modify the configurations in Ant script, and it did works.

     
  • Eric Delaunay

    Eric Delaunay - 2014-01-07

    Hello,
    I uploaded a patch to support such list properties: it skip quoting a predefined set of properties which are known to contain space-delimited lists.
    See patch#5.

     

Log in to post a comment.