geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From djen...@apache.org
Subject svn commit: r783428 - /geronimo/sandbox/djencks/tomcat-archetype/trunk/svn-actions.sh
Date Wed, 10 Jun 2009 17:04:57 GMT
Author: djencks
Date: Wed Jun 10 17:04:57 2009
New Revision: 783428

URL: http://svn.apache.org/viewvc?rev=783428&view=rev
Log:
modify svn script to svn cp and rm if basic structure has been added to svn

Modified:
    geronimo/sandbox/djencks/tomcat-archetype/trunk/svn-actions.sh

Modified: geronimo/sandbox/djencks/tomcat-archetype/trunk/svn-actions.sh
URL: http://svn.apache.org/viewvc/geronimo/sandbox/djencks/tomcat-archetype/trunk/svn-actions.sh?rev=783428&r1=783427&r2=783428&view=diff
==============================================================================
--- geronimo/sandbox/djencks/tomcat-archetype/trunk/svn-actions.sh (original)
+++ geronimo/sandbox/djencks/tomcat-archetype/trunk/svn-actions.sh Wed Jun 10 17:04:57 2009
@@ -1,9 +1,14 @@
 #!/bin/sh
 
 # Script to copy the tomcat source to the appropriate places in the mavenized project
-
-SVN_CMD="svn export"
-RM="rm -rf"
+if [ -d .svn ]
+then
+  SVN_CMD="svn co"
+  RM="svn rm"
+else
+  SVN_CMD="svn export"
+  RM="rm -rf"
+fi
 
 TOMCAT_VERSION=TOMCAT_6_0_18
 
@@ -18,9 +23,12 @@
 $RM catalina/src/main/java/org/apache/catalina/cluster
 $RM catalina/src/main/java/org/apache/catalina/ha
 $RM catalina/src/main/java/org/apache/catalina/tribes
+# does not exist?
 $RM catalina/src/main/java/org/apache/catalina/launcher
+# does not exist?
 $RM catalina/src/main/java/org/apache/catalina/storeconfig
 $RM catalina/src/main/java/org/apache/naming/factory/webservices
+#formerly coyote jar
 $SVN_CMD $TOMCAT/java/org/apache/coyote catalina/src/main/java/org/apache/coyote
 $SVN_CMD $TOMCAT/java/org/apache/tomcat/jni catalina/src/main/java/org/apache/tomcat/jni
 $SVN_CMD $TOMCAT/java/org/apache/jk catalina/src/main/java/org/apache/jk



Mime
View raw message