You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by br...@apache.org on 2005/05/01 06:43:32 UTC

svn commit: r165458 - in /maven/maven-1/core/trunk: ./ bootstrap.sh

Author: brett
Date: Sat Apr 30 21:43:31 2005
New Revision: 165458

URL: http://svn.apache.org/viewcvs?rev=165458&view=rev
Log:
add a simple script to bootstrap with, wrapping ant

Added:
    maven/maven-1/core/trunk/bootstrap.sh   (with props)
Modified:
    maven/maven-1/core/trunk/   (props changed)

Propchange: maven/maven-1/core/trunk/
------------------------------------------------------------------------------
--- svn:ignore (original)
+++ svn:ignore Sat Apr 30 21:43:31 2005
@@ -20,3 +20,4 @@
 bin
 .checkclipse
 checkstyle-checkclipse.xml
+bootstrap.txt

Added: maven/maven-1/core/trunk/bootstrap.sh
URL: http://svn.apache.org/viewcvs/maven/maven-1/core/trunk/bootstrap.sh?rev=165458&view=auto
==============================================================================
--- maven/maven-1/core/trunk/bootstrap.sh (added)
+++ maven/maven-1/core/trunk/bootstrap.sh Sat Apr 30 21:43:31 2005
@@ -0,0 +1,24 @@
+#!/bin/sh
+
+cygwin=false;
+case "`uname`" in
+  CYGWIN*) cygwin=true ;;
+esac
+
+if [ $cygwin ]; then
+  export MAVEN_HOME=`cygpath -pw $MAVEN_HOME`
+  export MAVEN_HOME_LOCAL=`cygpath -pw $MAVEN_HOME_LOCAL`
+fi
+
+ant -f build-bootstrap.xml >bootstrap.txt 2>&1 &
+
+sleep 1
+
+ps | grep $$ | grep -v grep | while read t1 t2
+do
+  if [ $t1 != $$ ]; then
+    tail -f --pid=$t1 bootstrap.txt
+    exit
+  fi
+done
+

Propchange: maven/maven-1/core/trunk/bootstrap.sh
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/maven-1/core/trunk/bootstrap.sh
------------------------------------------------------------------------------
    svn:executable = *

Propchange: maven/maven-1/core/trunk/bootstrap.sh
------------------------------------------------------------------------------
    svn:keywords = "Author Date Id Revision"



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org