00001 * 00002 /*! 00003 * @file ./dist-src.sh 00004 * 00005 * @brief Distribute Boot JVM source package. 00006 * 00007 * Clean up all build targets so that only source remains. 00008 * Then create pre-formatted documentation for installation 00009 * by @b config.sh and bundle into a tar file. 00010 * 00011 * Use @link ./dist-bin.sh dist-bin.sh@endlink to distribute 00012 * the binary package. 00013 * 00014 * Use @link ./dist-doc.sh dist-doc.sh@endlink to distribute 00015 * the documentation package. 00016 * 00017 * 00018 * @see @link ./common.sh ./common.sh@endlink 00019 * 00020 * @attention Make @e sure that all Eclipse project files are in 00021 * the "open" state when creating a distribution. 00022 * This will ensure immediate access to them by 00023 * Eclipse users without having to change anything. 00024 * 00025 * @todo A Windows .BAT version of this script needs to be written 00026 * 00027 * 00028 * @section Control 00029 * 00030 * \$URL: https://svn.apache.org/path/name/dist-src.sh $ \$Id: dist-src.sh 0 09/28/2005 dlydick $ 00031 * 00032 * Copyright 2005 The Apache Software Foundation 00033 * or its licensors, as applicable. 00034 * 00035 * Licensed under the Apache License, Version 2.0 ("the License"); 00036 * you may not use this file except in compliance with the License. 00037 * You may obtain a copy of the License at 00038 * 00039 * http://www.apache.org/licenses/LICENSE-2.0 00040 * 00041 * Unless required by applicable law or agreed to in writing, 00042 * software distributed under the License is distributed on an 00043 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, 00044 * either express or implied. 00045 * 00046 * See the License for the specific language governing permissions 00047 * and limitations under the License. 00048 * 00049 * @version \$LastChangedRevision: 0 $ 00050 * 00051 * @date \$LastChangedDate: 09/28/2005 $ 00052 * 00053 * @author \$LastChangedBy: dlydick $ 00054 * Original code contributed by Daniel Lydick on 09/28/2005. 00055 * 00056 * @section Reference 00057 * 00058 */ /* 00059 * (Use #! and #/ with dox_filter.sh to fool Doxygen into 00060 * parsing this non-source text file for the documentation set. 00061 * Use the above open comment to force termination of parsing 00062 * since it is not a Doxygen-style 'C' comment.) 00063 * 00064 * 00065 *################################################################## 00066 * 00067 * Script setup. 00068 * 00069 * Suppress attempts to interrupt 00070 *################################################################## 00071 * 00072 * Check for common Eclipse output directory at normal level. 00073 * 00074 * Notice that each JNI implmementation will have its own directory 00075 * tree with its own scripts and its own 'bin' directory, while Eclipse 00076 * generates the directory in question, which 'clean.sh jni' does not 00077 * clean up. 00078 * 00079 *################################################################## 00080 * 00081 * Prepare for distribution, then strip out _all_ output, 00082 * rebuild documentation in _all_ formats, archive it, and 00083 * then delete it. Package the result in final 'tar' file. 00084 * 00085 * For the 'vi' users on the team 00086 *################################################################## 00087 * 00088 * Done. 00089 * 00090 * 00091 * EOF 00092