You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@struts.apache.org by cr...@apache.org on 2006/07/02 06:27:40 UTC

svn commit: r418551 - in /struts/shale/trunk/maven/etc: ./ buildShaleNightlyMaven.sh

Author: craigmcc
Date: Sat Jul  1 21:27:39 2006
New Revision: 418551

URL: http://svn.apache.org/viewvc?rev=418551&view=rev
Log:
Commit the current nightly build script for Shale artifacts to the "etc"
directory.

Added:
    struts/shale/trunk/maven/etc/
    struts/shale/trunk/maven/etc/buildShaleNightlyMaven.sh   (with props)

Added: struts/shale/trunk/maven/etc/buildShaleNightlyMaven.sh
URL: http://svn.apache.org/viewvc/struts/shale/trunk/maven/etc/buildShaleNightlyMaven.sh?rev=418551&view=auto
==============================================================================
--- struts/shale/trunk/maven/etc/buildShaleNightlyMaven.sh (added)
+++ struts/shale/trunk/maven/etc/buildShaleNightlyMaven.sh Sat Jul  1 21:27:39 2006
@@ -0,0 +1,87 @@
+#!/bin/sh
+# ==============================================================================
+# buildShaleNightlyMaven -- Shale Nightly Builds (with Maven)
+# ==============================================================================
+
+# ==============================================================================
+# Setup
+# ==============================================================================
+
+export BUILD_HOME=/home/craigmcc/Build
+export CLASSPATH=.
+export TSTAMP=`date +%Y%m%d`
+
+echo \<html\>
+echo \<head\>
+echo \<title\>Shale Nightly Build \(with Maven\) For $TSTAMP\</title\>
+echo \</head\>
+echo \<body\>
+echo \<h1\>Shale Nightly Build \(with Maven\) For $TSTAMP\</h1\>
+
+# ==============================================================================
+# Update From Subversion Repository
+# ==============================================================================
+
+echo \<h2\>Update From Subversion Repository\</h2\>
+cd $BUILD_HOME/struts/current/shale
+echo \<pre\>
+svn update
+echo \</pre\>
+
+# ==============================================================================
+# Build and Deploy Framework Artifaces
+# ==============================================================================
+
+echo \<h2\>Build and Deploy Framework Artifacts\</h2\>
+cd $BUILD_HOME/struts/current/shale
+echo \<pre\>
+mvn clean site install deploy
+
+cd shale-apps
+mvn deploy -N
+cd ..
+
+cd shale-dist
+mvn assembly:assembly
+scp target/assembly/out/shale-framework-*.tar.gz \
+ craigmcc@people.apache.org:/www/cvs.apache.org/builds/struts/shale/shale-framework-$TSTAMP.tar.gz
+scp target/assembly/out/shale-framework-*.zip \
+ craigmcc@people.apache.org:/www/cvs.apache.org/builds/struts/shale/shale-framework-$TSTAMP.zip
+cd ..
+
+echo \</pre\>
+
+# ==============================================================================
+# Build and Deploy Sample Application Artifacts
+# ==============================================================================
+
+echo \<h2\>Build and Deploy Sample Application Artifacts\</h2\>
+cd $BUILD_HOME/struts/current/shale/shale-apps
+
+export APPS="shale-blank shale-clay-usecases shale-mailreader"
+export APPS="$APPS shale-sql-browser shale-usecases"
+
+for APP in $APPS; do
+
+  cd $APP
+  echo \<h3\>Processing sample application $APP\</h3\>
+  echo \<pre\>
+
+  mvn clean install deploy assembly:assembly
+  scp target/$APP-*.tar.gz \
+   craigmcc@people.apache.org:/www/cvs.apache.org/builds/struts/shale/$APP-$TSTAMP.tar.gz
+  scp target/$APP-*.zip \
+   craigmcc@people.apache.org:/www/cvs.apache.org/builds/struts/shale/$APP-$TSTAMP.zip
+
+  echo \</pre\>
+  cd ..
+
+done
+
+# ==============================================================================
+# Finish Up
+# ==============================================================================
+
+echo \<h2\>Job Completed\</h2\>
+echo \</body\>
+echo \</html\>

Propchange: struts/shale/trunk/maven/etc/buildShaleNightlyMaven.sh
------------------------------------------------------------------------------
    svn:executable = *