You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@continuum.apache.org by tr...@apache.org on 2005/04/22 12:47:09 UTC

svn commit: r164214 - /maven/continuum/trunk/continuum-plexus-application/update-from-target.sh

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/