You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@continuum.apache.org by br...@apache.org on 2005/08/02 07:44:53 UTC
svn commit: r226955 - in /maven/continuum/trunk: build.sh
continuum-core-it/run.sh
Author: brett
Date: Mon Aug 1 22:44:49 2005
New Revision: 226955
URL: http://svn.apache.org/viewcvs?rev=226955&view=rev
Log:
cygwin methods required
Added:
maven/continuum/trunk/continuum-core-it/run.sh (with props)
Modified:
maven/continuum/trunk/build.sh
Modified: maven/continuum/trunk/build.sh
URL: http://svn.apache.org/viewcvs/maven/continuum/trunk/build.sh?rev=226955&r1=226954&r2=226955&view=diff
==============================================================================
--- maven/continuum/trunk/build.sh (original)
+++ maven/continuum/trunk/build.sh Mon Aug 1 22:44:49 2005
@@ -4,5 +4,14 @@
set -x
(
+case "`uname`" in
+ CYGWIN*)
+ # required for the integration tests - would be better for them to download a distro, extract and run against it
+ [ -n "$ANT_HOME" ] && ANT_HOME=`cygpath -w $ANT_HOME`
+ [ -n "$MAVEN_HOME" ] && MAVEN_HOME=`cygpath -w $MAVEN_HOME`
+ [ -n "$M2_HOME" ] && M2_HOME=`cygpath -w $M2_HOME`
+ ;;
+esac
+
m2 -Denv=test clean:clean install "$@"
) 2>&1 | tee result.log
Added: maven/continuum/trunk/continuum-core-it/run.sh
URL: http://svn.apache.org/viewcvs/maven/continuum/trunk/continuum-core-it/run.sh?rev=226955&view=auto
==============================================================================
--- maven/continuum/trunk/continuum-core-it/run.sh (added)
+++ maven/continuum/trunk/continuum-core-it/run.sh Mon Aug 1 22:44:49 2005
@@ -0,0 +1,17 @@
+#!/bin/bash
+
+set -e
+set -x
+
+(
+case "`uname`" in
+ CYGWIN*)
+ # required for the integration tests - would be better for them to download a distro, extract and run against it
+ [ -n "$ANT_HOME" ] && ANT_HOME=`cygpath -w $ANT_HOME`
+ [ -n "$MAVEN_HOME" ] && MAVEN_HOME=`cygpath -w $MAVEN_HOME`
+ [ -n "$M2_HOME" ] && M2_HOME=`cygpath -w $M2_HOME`
+ ;;
+esac
+
+ m2 -Denv=test clean:clean install "$@"
+) 2>&1 | tee result.log
Propchange: maven/continuum/trunk/continuum-core-it/run.sh
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: maven/continuum/trunk/continuum-core-it/run.sh
------------------------------------------------------------------------------
svn:executable = *
Propchange: maven/continuum/trunk/continuum-core-it/run.sh
------------------------------------------------------------------------------
svn:keywords = "Author Date Id Revision"