# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. # The ASF licenses this file to You under the Apache License, Version 2.0 # (the "License"); you may not use this file except in compliance with # the License. You may obtain a copy of the License at # # 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, # 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. Use tomcat-archetype to build a new level of Tomcat 1. Check out the target tomcat tag to local file system, for example, /home/forrestxm/src/asf/tomcat/tc6.0.x/tags/TOMCAT_6_0_35 2. Update run.sh with the new Tomcat version number: # Update TVER and TTAGVER with the Tomcat version number in appropriate format TVER=6.0.35 TTAGVER=6_0_35 3. Run build-archetype.sh to install the tomcat-parent-archetype into local maven repository 4. From parent directory of tomcat-archetype, execute run.sh (assumes that subversion 1.5 or greater) cd geronimo/external/trunk ./parent-archetype/run.sh /home/forrestxm/src/asf/tomcat/tc6.0.x/tags 5. Apply patches to tomcat-parent-6.0.35/