[prev in list] [next in list] [prev in thread] [next in thread] 

List:       doxygen-users
Subject:    Re: [Doxygen-users] Input filter language
From:       "Pascal Blanchette" <pascal () maestrovision ! com>
Date:       2009-02-26 14:16:18
Message-ID: HKEPLLAMKJBFFIPNDNBKOEBACEAA.pascal () maestrovision ! com
[Download RAW message or body]

I finally found the issue. It is actually related to Bug 567774. I was
setting EXTENSION_MAPPING to "as=Java" in my config file. When I changed it
to ".as=Java" it all worked perfectly as expected.

The doxygen manual should be updated.

Thanks for the help,
Pascal

-----Original Message-----
From: Pascal Blanchette [mailto:pascal@maestrovision.com]
Sent: 25 fevrier 2009 10:29
To: doxygen-users@lists.sourceforge.net
Subject: Re: [Doxygen-users] Input filter language


I tried with and without the OPTIMIZE_OUTPUT_JAVA flag. It did not have any
effect on my issue. But as far as I know, this flag only controls some
language strings in the outputted HTML. It does not affect the parsing.

I just updated to 1.5.8 because I saw the new EXTENSION_MAPPING flag. I
Tries using "as=Java" but it dod not fix the issue. In the resulting HTML I
still see results as if the file was parsed as C code. For instance, if I go
to the file tab and click on a file, I see the file defines a class (with
thr correct name) BUT I also see the file is declaring a variable name
"package maestrov app server".

If I look at the source (after filter processing) the package declaration is
as follow "package maestrov.app.server;". If I add some import statements,
the HTML output reports my file is declaring variable named import. This
leads me to believe that the EXTENSION_MAPPING is not behaving as it should
(or I don't understand correctly what it should be doing).

Like before, I also tried to save the output of my filter in a .java file
and feed that to Doxygen. The result was exactly what I was expecting.

As for the new parser suggested by Roger Spooner, I don't really want to
have to build a custom build of Doxygen. But if it makes it's way in the
official release, we will probaly switch to using it instead.


Pascal


-----Original Message-----
From: Clemens Feige [mailto:c.feige@osypkamed.com]
Sent: 25 fevrier 2009 05:28
To: doxygen-users@lists.sourceforge.net
Subject: Re: [Doxygen-users] Input filter language


Pascal Blanchette:
> ...
> Is there a way to force Doxygen to use native java parsing instead of the
> C++ parsing to process the result of an input filter?

Hi Pascal.

Have you set the <OPTIMIZE_OUTPUT_JAVA> option in the config file?

Clemens

----------------------------------------------------------------------------
--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Doxygen-users mailing list
Doxygen-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/doxygen-users


----------------------------------------------------------------------------
--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Doxygen-users mailing list
Doxygen-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/doxygen-users


------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Doxygen-users mailing list
Doxygen-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/doxygen-users
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic