maven-m2-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From br...@apache.org
Subject cvs commit: maven-components/maven-core-it maven-core-it.sh
Date Wed, 15 Dec 2004 11:27:43 GMT
brett       2004/12/15 03:27:43

  Modified:    maven-core-it maven-core-it.sh
  Log:
  temporary fix for cygwin - need CommandLine to somehow call the cygwin m2
  
  Revision  Changes    Path
  1.17      +12 -0     maven-components/maven-core-it/maven-core-it.sh
  
  Index: maven-core-it.sh
  ===================================================================
  RCS file: /home/cvs/maven-components/maven-core-it/maven-core-it.sh,v
  retrieving revision 1.16
  retrieving revision 1.17
  diff -u -r1.16 -r1.17
  --- maven-core-it.sh	9 Sep 2004 11:13:11 -0000	1.16
  +++ maven-core-it.sh	15 Dec 2004 11:27:43 -0000	1.17
  @@ -18,5 +18,17 @@
     jvm_args="$jvm_args -Dmaven.home=$M2_HOME"
   fi
   
  +# OS specific support.  $var _must_ be set to either true or false.
  +cygwin=false;
  +case "`uname`" in
  +  CYGWIN*) cygwin=true ;;
  +esac
  +
  +# For Cygwin, ensure paths are in UNIX format before anything is touched
  +if $cygwin ; then
  +  [ -n "$JAVA_HOME" ] && JAVA_HOME=`cygpath -w "$JAVA_HOME"`
  +  export JAVA_HOME
  +fi
  +
   java $jvm_args -cp "$cp" $verifier
   
  
  
  

Mime
View raw message