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 629197 - EXTENSION_MAPPING not working for CSharp
EXTENSION_MAPPING not working for CSharp
Status: RESOLVED DUPLICATE of bug 567774
Product: doxygen
Classification: Other
Component: general
unspecified
Other Windows
: Normal normal
: ---
Assigned To: Dimitri van Heesch
Dimitri van Heesch
Depends on:
Blocks:
 
 
Reported: 2010-09-09 17:47 UTC by Ray Lefuel
Modified: 2012-11-18 11:12 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Ray Lefuel 2010-09-09 17:47:15 UTC
I've a single C# file with a cspp extension.  In the config file, I've set:

EXTENSION_MAPPING      = cspp=CSharp
and
FILE_PATTERNS          = *.cs *.cspp

When I run Doxygen with these settings, it states:

"Adding custom extension mapping: .cspp will be treated as language csharp" 

However, the file is not fully processed.  It documents the first enum listed in the file, and then quits.  I see the exact same behavior when I exclude the EXTENSION_MAPPING line altogether.

However, if I change the file's extension to cs, everything is documented properly, and more information is reported to the command window.

---

I have the exact same setup for a Java file with a jpp extension. In the config file, I've set:

EXTENSION_MAPPING      = jpp=Java
and
FILE_PATTERNS          = *.java *.jpp

However, in this case, everything works perfectly.
Comment 1 Dimitri van Heesch 2010-09-11 20:38:14 UTC
Confirmed. Should be fixed in the next subversion update.

As a workaround try:
EXTENSION_MAPPING = .cspp=CSharp

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