continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tryg...@apache.org
Subject svn commit: r164214 - /maven/continuum/trunk/continuum-plexus-application/update-from-target.sh
Date Fri, 22 Apr 2005 10:47:09 GMT
Author: trygvis
Date: Fri Apr 22 03:47:07 2005
New Revision: 164214

URL: http://svn.apache.org/viewcvs?rev=164214&view=rev
Log:
o Adding a script to update the exploded webapp from ../*/target/*.jar.

Added:
    maven/continuum/trunk/continuum-plexus-application/update-from-target.sh

Added: maven/continuum/trunk/continuum-plexus-application/update-from-target.sh
URL: http://svn.apache.org/viewcvs/maven/continuum/trunk/continuum-plexus-application/update-from-target.sh?rev=164214&view=auto
==============================================================================
--- maven/continuum/trunk/continuum-plexus-application/update-from-target.sh (added)
+++ maven/continuum/trunk/continuum-plexus-application/update-from-target.sh Fri Apr 22 03:47:07
2005
@@ -0,0 +1,19 @@
+#!/bin/bash
+
+copy()
+{
+  dir=$1
+
+  file=`find $dir -name \*.jar -printf %f`
+
+  if [ "$dir/$file" -nt "target/plexus-test-runtime/apps/continuum/lib/$file" ]
+  then
+    echo "Updating $file"
+    cp "$dir/$file" "target/plexus-test-runtime/apps/continuum/lib/$file"
+  fi
+}
+
+copy ../continuum-core/target/
+copy ../continuum-web/target/
+copy ../continuum-model/target/
+copy ../continuum-xmlrpc/target/



Mime
View raw message