You are viewing a plain text version of this content. The canonical link for it is here.
Posted to scm@geronimo.apache.org by ke...@apache.org on 2009/06/29 05:00:07 UTC
svn commit: r789196 - in /geronimo/external/trunk/tomcat-archetype: run.sh
svn-actions.sh
Author: kevan
Date: Mon Jun 29 03:00:07 2009
New Revision: 789196
URL: http://svn.apache.org/viewvc?rev=789196&view=rev
Log:
Centralize location of Tomcat version numbers. Surely a better way to handle TTAGVER, but I'm .sh challenged
Modified:
geronimo/external/trunk/tomcat-archetype/run.sh
geronimo/external/trunk/tomcat-archetype/svn-actions.sh
Modified: geronimo/external/trunk/tomcat-archetype/run.sh
URL: http://svn.apache.org/viewvc/geronimo/external/trunk/tomcat-archetype/run.sh?rev=789196&r1=789195&r2=789196&view=diff
==============================================================================
--- geronimo/external/trunk/tomcat-archetype/run.sh (original)
+++ geronimo/external/trunk/tomcat-archetype/run.sh Mon Jun 29 03:00:07 2009
@@ -1,8 +1,10 @@
#!/bin/sh
-# Included as an example of how to set up a project. Needs to be copied to location you want to build the maven project.
-
+# Included as an example of how to set up a project. Works in *nix environments
+# Update TVER and TTAGVER with the Tomcat version number in appropriate format
TVER=6.0.18
+TTAGVER=6_0_18
+
GVER=${TVER}-SNAPSHOT
svn rm --force tomcat-parent-${TVER}
Modified: geronimo/external/trunk/tomcat-archetype/svn-actions.sh
URL: http://svn.apache.org/viewvc/geronimo/external/trunk/tomcat-archetype/svn-actions.sh?rev=789196&r1=789195&r2=789196&view=diff
==============================================================================
--- geronimo/external/trunk/tomcat-archetype/svn-actions.sh (original)
+++ geronimo/external/trunk/tomcat-archetype/svn-actions.sh Mon Jun 29 03:00:07 2009
@@ -16,7 +16,7 @@
RM="rm -rf"
fi
-TOMCAT_TAG=TOMCAT_6_0_18
+TOMCAT_TAG=TOMCAT_$TTAGVER
TOMCAT_BASE="https://svn.apache.org/repos/asf/tomcat/tc6.0.x/tags"