harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From py...@apache.org
Subject svn commit: r479710 - in /harmony/enhanced/classlib/trunk/doc: hyfooter.txt kernel/kernel.cfg svnrevision.sh vminterface/natives.cfg
Date Mon, 27 Nov 2006 18:25:29 GMT
Author: pyang
Date: Mon Nov 27 10:25:28 2006
New Revision: 479710

URL: http://svn.apache.org/viewvc?view=rev&rev=479710
Log:
Add script to show svn revision number of source file on the generated documents, add creation
time to footer

Added:
    harmony/enhanced/classlib/trunk/doc/svnrevision.sh   (with props)
Modified:
    harmony/enhanced/classlib/trunk/doc/hyfooter.txt
    harmony/enhanced/classlib/trunk/doc/kernel/kernel.cfg
    harmony/enhanced/classlib/trunk/doc/vminterface/natives.cfg

Modified: harmony/enhanced/classlib/trunk/doc/hyfooter.txt
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/doc/hyfooter.txt?view=diff&rev=479710&r1=479709&r2=479710
==============================================================================
--- harmony/enhanced/classlib/trunk/doc/hyfooter.txt (original)
+++ harmony/enhanced/classlib/trunk/doc/hyfooter.txt Mon Nov 27 10:25:28 2006
@@ -1,7 +1,8 @@
 <hr size="1">
 <address style="text-align: center;">
   <small>
-    (c) Copyright 2005 The Apache Software Foundation or its licensors, as applicable.
+    <p>Genereated on $datetime by Doxygen.</p>
+    <p>(c) Copyright 2005, 2006 The Apache Software Foundation or its licensors, as
applicable. </p>
   </small>
 </address>
 </body>

Modified: harmony/enhanced/classlib/trunk/doc/kernel/kernel.cfg
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/doc/kernel/kernel.cfg?view=diff&rev=479710&r1=479709&r2=479710
==============================================================================
--- harmony/enhanced/classlib/trunk/doc/kernel/kernel.cfg (original)
+++ harmony/enhanced/classlib/trunk/doc/kernel/kernel.cfg Mon Nov 27 10:25:28 2006
@@ -9,8 +9,7 @@
 # 
 #     http://www.apache.org/licenses/LICENSE-2.0
 # 
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
+# Unless required by applicable law or agreed to in writing, software # distributed under
the License is distributed on an "AS IS" BASIS,
 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 # See the License for the specific language governing permissions and
 # limitations under the License.
@@ -40,6 +39,15 @@
 
 PROJECT_NUMBER         = 1.0
 
+# The FILE_VERSION_FILTER tag can be used to specify a program or script that 
+# doxygen should invoke to get the current version for each file (typically 
+# from the version control system). Doxygen will invoke the program by executing 
+# (via popen()) the command command input-file, where command is the value of 
+# the FILE_VERSION_FILTER tag, and input-file is the name of an input file 
+# provided by doxygen. Whatever the program writes to standard output is used as 
+# the file version.
+FILE_VERSION_FILTER    = "sh doc/svnrevision.sh"
+
 # The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute)
 # base path where the generated documentation will be put.
 # If a relative path is entered, it will be relative to the location
@@ -120,7 +128,7 @@
 # path before files name in the file list and in the header files. If set
 # to NO the shortest path that makes the file name unique will be used.
 
-FULL_PATH_NAMES        = NO
+FULL_PATH_NAMES        = YES
 
 # If the FULL_PATH_NAMES tag is set to YES then the STRIP_FROM_PATH tag
 # can be used to strip a user-defined part of the path. Stripping is
@@ -129,7 +137,7 @@
 # If left blank the directory from which doxygen is run is used as the
 # path to strip.
 
-STRIP_FROM_PATH        =
+STRIP_FROM_PATH        = modules/luni-kernel/src/main/java
 
 # The STRIP_FROM_INC_PATH tag can be used to strip a user-defined part of
 # the path mentioned in the documentation of a class, which tells

Added: harmony/enhanced/classlib/trunk/doc/svnrevision.sh
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/doc/svnrevision.sh?view=auto&rev=479710
==============================================================================
--- harmony/enhanced/classlib/trunk/doc/svnrevision.sh (added)
+++ harmony/enhanced/classlib/trunk/doc/svnrevision.sh Mon Nov 27 10:25:28 2006
@@ -0,0 +1,2 @@
+#!/bin/sh
+svn status --verbose $1 | sed -n 's/[^0-9]*\([0-9]*\)[^0-9]*\([0-9]*\).*/revision r\1\/r\2/p'

Propchange: harmony/enhanced/classlib/trunk/doc/svnrevision.sh
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: harmony/enhanced/classlib/trunk/doc/vminterface/natives.cfg
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/doc/vminterface/natives.cfg?view=diff&rev=479710&r1=479709&r2=479710
==============================================================================
--- harmony/enhanced/classlib/trunk/doc/vminterface/natives.cfg (original)
+++ harmony/enhanced/classlib/trunk/doc/vminterface/natives.cfg Mon Nov 27 10:25:28 2006
@@ -40,6 +40,15 @@
 
 PROJECT_NUMBER         = 1.0
 
+# The FILE_VERSION_FILTER tag can be used to specify a program or script that 
+# doxygen should invoke to get the current version for each file (typically 
+# from the version control system). Doxygen will invoke the program by executing 
+# (via popen()) the command command input-file, where command is the value of 
+# the FILE_VERSION_FILTER tag, and input-file is the name of an input file 
+# provided by doxygen. Whatever the program writes to standard output is used as 
+# the file version.
+FILE_VERSION_FILTER    = "sh doc/svnrevision.sh"
+
 # The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute) 
 # base path where the generated documentation will be put. 
 # If a relative path is entered, it will be relative to the location 



Mime
View raw message