After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 547759 - Environment path variables containing dots seem not to be processed correctly
Environment path variables containing dots seem not to be processed correctly
Status: RESOLVED DUPLICATE of bug 670965
Product: doxygen
Classification: Other
Component: general
1.5.6
Other Windows
: Normal normal
: ---
Assigned To: Dimitri van Heesch
Dimitri van Heesch
Depends on:
Blocks:
 
 
Reported: 2008-08-14 12:24 UTC by Waldemar Mertke
Modified: 2012-03-03 15:04 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Waldemar Mertke 2008-08-14 12:24:18 UTC
Please describe the problem:
In MS Windows one can set environment variables containg dots in the name

C:\> set VAR.WITH.DOTS=D:\tmp
C:\> echo %VAR.WITH.DOTS%
D:\tmp

When I use such an environment variable in my Doxyfile doxygen doesn't expand them, e.g.:
TAGFILES = "my.tag=file:///$(VAR.WITH.DOTS)/doc/html"

Testet on Microsoft Windows XP SP2




Steps to reproduce:
On a MS Windows system
1. set an environment variable containing dots, e.g.:
set VAR.WITH.DOTS=D:\tmp
2. use the above environment variable in your Doxyfile, e.g.:
TAGFILES = "my.tag=file:///$(VAR.WITH.DOTS)/doc/html"
3. generate an HTML documentation as usual


Actual results:
Doxygen generated links to external documentation in the HTML contain *not* expanded variable
... href="file:///$%28VAR.WITH.DOTS%29%5Cdoc%5Chtml/myclass.html" ...

Expected results:
I would expect doxygen expanding the environment variable using the OS command shell.

Does this happen every time?
Yes

Other information:
Comment 1 tuure 2012-03-01 15:04:04 UTC
This problem seems still to persist in Doxygen 1.8.0 with special characters, not only "dot".

And nowadays, with Windows 7 64bit, unfortunately the standard location of the hhc.exe (HHC_LOCATION to create chm-files) is 

%ProgramFiles(x86)%\HTML Help Workshop\hhc.exe

(A curse on M$ for using parantheses in an env var name! *sigh*)

I have to use the environment variable since I cannot rely upon the fact that this folder is always on drive C:. Also I cannot define an own environment variable to work around the problem.

What to do?
Comment 2 Dimitri van Heesch 2012-03-03 15:04:53 UTC
I will added support for dots and (X86) type of constructs.

*** This bug has been marked as a duplicate of bug 670965 ***