ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hol...@apache.org
Subject cvs commit: jakarta-ant/src/script ant
Date Mon, 08 Apr 2002 00:45:29 GMT
holtdl      02/04/07 17:45:28

  Modified:    src/script ant
  Log:
  Add cygpath handling of JIKESPATH (PR 6943).
  
  Also remove superfluous if on ANT_OPTS setting.
  
  Revision  Changes    Path
  1.17      +3 -4      jakarta-ant/src/script/ant
  
  Index: ant
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/src/script/ant,v
  retrieving revision 1.16
  retrieving revision 1.17
  diff -u -r1.16 -r1.17
  --- ant	8 Apr 2002 00:10:40 -0000	1.16
  +++ ant	8 Apr 2002 00:45:28 -0000	1.17
  @@ -128,11 +128,10 @@
   
   # supply JIKESPATH to Ant as jikes.class.path
   if [ -n "$JIKESPATH" ] ; then
  -  if [ -n "$ANT_OPTS" ] ; then
  -    ANT_OPTS="$ANT_OPTS -Djikes.class.path=$JIKESPATH"
  -  else
  -    ANT_OPTS=-Djikes.class.path=$JIKESPATH
  +  if $cygwin ; then
  +    JIKESPATH=`cygpath --path --windows "$JIKESPATH"`
     fi
  +  ANT_OPTS="$ANT_OPTS -Djikes.class.path=$JIKESPATH"
   fi
   
   # For Cygwin, switch paths to Windows format before running java
  
  
  

--
To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message