You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by bo...@apache.org on 2006/03/15 08:34:16 UTC

svn commit: r385990 - /myfaces/maven/trunk/build-world-1.1.2.sh

Author: bommel
Date: Tue Mar 14 23:34:15 2006
New Revision: 385990

URL: http://svn.apache.org/viewcvs?rev=385990&view=rev
Log:
added build 1.1.2 nightly script

Added:
    myfaces/maven/trunk/build-world-1.1.2.sh   (with props)

Added: myfaces/maven/trunk/build-world-1.1.2.sh
URL: http://svn.apache.org/viewcvs/myfaces/maven/trunk/build-world-1.1.2.sh?rev=385990&view=auto
==============================================================================
--- myfaces/maven/trunk/build-world-1.1.2.sh (added)
+++ myfaces/maven/trunk/build-world-1.1.2.sh Tue Mar 14 23:34:15 2006
@@ -0,0 +1,81 @@
+#!/usr/bin/env bash
+
+set -e
+#set -x
+core_repo="http://svn.apache.org/repos/asf/myfaces/core/branches/1_1_2/"
+shared_repo="http://svn.apache.org/repos/asf/myfaces/shared/branches/2_0_0/"
+#tomahawk_repo="http://svn.apache.org/repos/asf/myfaces/tomahawk/trunk"
+
+usage()
+{
+  echo "Usage: $0"
+  exit 1
+}
+
+if [ -r ./settings ]
+then
+  source ./settings
+fi
+
+if [ -z "$NIGHTLY_ROOT2" ]
+then
+  echo "NIGHTLY_ROOT2 must be set"
+  exit 1
+fi
+
+root="$NIGHTLY_ROOT2"
+
+mkdir -p $root
+
+##############################################################################
+# Do some checks of the enviroment
+##############################################################################
+
+if [ -z "$JAVA_HOME" ]
+then
+  echo "JAVA_HOME must be set."
+fi
+
+if [ -z "`which java`" ]
+then
+  echo "Could not find 'java' in the path."
+  echo "PATH: $PATH"
+  exit 1
+fi
+
+
+##############################################################################
+# Check out the sources
+##############################################################################
+
+cd $root
+
+#  myfaces
+
+echo "Updating the myfaces checkout."
+
+svn co $core_repo core
+svn co $shared_repo shared
+#svn co $tomahawk_repo tomahawk
+
+
+##############################################################################
+# Build
+##############################################################################
+
+
+echo "Building myfaces 1.1.2 ."
+cd shared
+mvn -Pgenerate-assembly -U clean install
+cd ../core
+mvn -Pgenerate-assembly -U clean install
+cd assembly
+mvn clean assembly:assembly org.apache.myfaces.maven:wagon-maven-plugin:deploy
+
+#cd ../../tomahawk
+#mvn -Pgenerate-assembly clean -U install
+#cd assembly
+#mvn clean assembly:assembly org.apache.myfaces.maven:wagon-maven-plugin:deploy
+#cd ../examples/assembly
+#mvn clean assembly:assembly org.apache.myfaces.maven:wagon-maven-plugin:deploy
+cd ../..

Propchange: myfaces/maven/trunk/build-world-1.1.2.sh
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: myfaces/maven/trunk/build-world-1.1.2.sh
------------------------------------------------------------------------------
    svn:executable = *