00001 /*! 00002 * @file ./getsvndata.sh 00003 * 00004 * @brief Report unique list of all versions of all source files 00005 * compiled into a binary. 00006 * 00007 * Generate report of all versions of source files that have been 00008 * compiled and are found in a compiled object file or a linked binary. 00009 * A sorted, unique list of URL-based file names and revision numbers 00010 * is displayed, showing @e exactly which revisions of which files 00011 * are present in the binary. 00012 * 00013 * @note Notice that there should @e never be two different revisions 00014 * of @e any file found in a static or dynamic library. However, 00015 * a linked binary @e may have such difference, either by design 00016 * or accidentally. Use @link 00017 * ./getsvndups.sh getsvndups.sh@endlink 00018 * to show this type of analysis. 00019 * 00020 * The macro @link #ARCH_COPYRIGHT_APACHE() ARCH_COPYRIGHT_APACHE@endlink 00021 * generates the appropriate data from the expansion of SubVersion (SVN) 00022 * keywords that are stored in a static string in each compiled object 00023 * file. This data is promoted at link time to be stored in the 00024 * linked binary explicitly for use by this reporting script. 00025 * 00026 * @see getsvndups.sh 00027 * 00028 * @todo A Windows .BAT version of this script needs to be written 00029 * 00030 * 00031 * @section Control 00032 * 00033 * \$URL: https://svn.apache.org/path/name/getsvndata.sh $ \$Id: getsvndata.sh 0 09/28/2005 dlydick $ 00034 * 00035 * Copyright 2005 The Apache Software Foundation 00036 * or its licensors, as applicable. 00037 * 00038 * Licensed under the Apache License, Version 2.0 ("the License"); 00039 * you may not use this file except in compliance with the License. 00040 * You may obtain a copy of the License at 00041 * 00042 * http://www.apache.org/licenses/LICENSE-2.0 00043 * 00044 * Unless required by applicable law or agreed to in writing, 00045 * software distributed under the License is distributed on an 00046 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, 00047 * either express or implied. 00048 * 00049 * See the License for the specific language governing permissions 00050 * and limitations under the License. 00051 * 00052 * @version \$LastChangedRevision: 0 $ 00053 * 00054 * @date \$LastChangedDate: 09/28/2005 $ 00055 * 00056 * @author \$LastChangedBy: dlydick $ 00057 * Original code contributed by Daniel Lydick on 09/28/2005. 00058 * 00059 * @section Reference 00060 * 00061 */ /* 00062 * (Use #! and #/ with dox_filter.sh to fool Doxygen into 00063 * parsing this non-source text file for the documentation set. 00064 * Use the above open comment to force termination of parsing 00065 * since it is not a Doxygen-style 'C' comment.) 00066 * 00067 * 00068 *####################################################################### 00069 * 00070 * Check script syntax 00071 * 00072 *####################################################################### 00073 * 00074 * Scan requested file(s) and report SVN 00075 * 00076 *####################################################################### 00077 * 00078 * EOF 00079