Ah. I see. SVN keeps the initial "$Rev: " and trailing "$" so it can re-do
the substitution on the next commit/checkout.
Is there a way you can embed that $Rev$ in a Doxygen ALIAS invocation:
\mymacro{$Rev$}
You define the ALIAS such that it puts HTML comments (assuming you're using
HTML output) around the parts you don't want? Then SVN can do the substitution
inside your macro invocation, and your macro effectively hides the $Rev: and $
parts of the result.
Just grasping at straws, but maybe there's an idea in there somewhere. :)
From: Kraus Philipp [mailto:philipp.kr...@flashpixx.de]
Sent: Friday, October 05, 2012 5:30 PM
To: doxygen-users@lists.sourceforge.net
Subject: Re: [Doxygen-users] project number with svn
Am 05.10.2012 um 22:58 schrieb
<michael.bro...@thomsonreuters.com<mailto:michael.bro...@thomsonreuters.com>>
<michael.bro...@thomsonreuters.com<mailto:michael.bro...@thomsonreuters.com>>:
Does this help?:
http://svnbook.red-bean.com/en/1.4/svn.advanced.props.special.keywords.html
Basically: your SVN commit/checkout replaces the keywords (like $Revision$) in
your files with the correct values AT THAT TIME.
Please read my first posting complet, I know the functionality of SVN. But
$Rev$ or $Revision$ replaces a string, not a number, but I would like only the
number.
So in my code, I use some string replacing, but on doxygen I can't it directly.
From: Kraus Philipp [mailto:philipp.kr...@flashpixx.de]
Sent: Friday, October 05, 2012 3:40 PM
To:
doxygen-users@lists.sourceforge.net<mailto:doxygen-users@lists.sourceforge.net>
Subject: [Doxygen-users] project number with svn
Hello,
I have created a doxygen configuration file for my project and I would like to
set the PROJECT_NUMBER
with the SVN revision number. I have setup the $Rev$ keyword and add it to
the keyword list. SVN push the revision number into the doxygen configuration
file but at the moment it shows $Rev: <number> $
so is there a solution to tell Doxygen, that it should remove the $Rev: and the
$
chars before the documentation is build?
Thanks
Phil
This email was sent to you by Thomson Reuters, the global news and information
company. Any views expressed in this message are those of the individual
sender, except where the sender specifically states them to be the views of
Thomson Reuters.
------------------------------------------------------------------------------
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
_______________________________________________
Doxygen-users mailing list
Doxygen-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/doxygen-users