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

List:       kde-commits
Subject:    kdebindings/kalyptus
From:       Richard Dale <Richard_Dale () tipitina ! demon ! co ! uk>
Date:       2003-12-31 14:10:22
Message-ID: 20031231141022.644C693EA () office ! kde ! org
[Download RAW message or body]

CVS commit by rdale: 

Stripped the cvs Id: tag from the @version string to prevent it being re-expanded on \
checkin to the kdebindings cvs. It now retains the version of the component from the \
kdelibs header


  M +7 -1      kalyptusCxxToJNI.pm   1.4


--- kdebindings/kalyptus/kalyptusCxxToJNI.pm  #1.3:1.4
@@ -2957,5 +2957,11 @@
 
                 if ( defined $docnode->{Author} ) { print CLASS " \@author ", \
                $docnode->{Author}, "\n" };
-                if ( defined $docnode->{Version} ) { print CLASS " \@version ", \
$docnode->{Version}, "\n" }; +                
+                if ( defined $docnode->{Version} ) {
+                        my $versionStr = $docnode->{Version};
+                        $versionStr =~ s/\$Id$]*) Exp \$/$1/;
+                        print CLASS " \@version $versionStr\n" 
+                };
+                
                 if ( defined $docnode->{ClassShort} ) { print CLASS " \@short ", \
$docnode->{ClassShort} =~ s!\\c\s+([\w\@&\\?;-]+)!<code>$1</code>!g, "\n" };  


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

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