harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nathan Beyer" <ndbe...@apache.org>
Subject Re: svn commit: r544529 - in /harmony/enhanced/buildtest/branches/2.0: buildtest.bat buildtest.sh
Date Wed, 06 Jun 2007 04:41:20 GMT
Hey, I don't understand this change in the 'buildtest.bat' file below.

Why change the '%~dp0' to '.;%CD%'? Was this an over-zealous patch? I
added the '%~dp0' myself because the CD is an environment variable
that's no set anywhere and '%~dp0' is the expansion for getting the
current directory.

-Nathan


On 6/5/07, smishura@apache.org <smishura@apache.org> wrote:
> Author: smishura
> Date: Tue Jun  5 09:00:38 2007
> New Revision: 544529
>
> URL: http://svn.apache.org/viewvc?view=rev&rev=544529
> Log:
> Fix from HARMONY-3501 for classpath in scripts
>
> Modified:
>     harmony/enhanced/buildtest/branches/2.0/buildtest.bat
>     harmony/enhanced/buildtest/branches/2.0/buildtest.sh
>
> Modified: harmony/enhanced/buildtest/branches/2.0/buildtest.bat
> URL: http://svn.apache.org/viewvc/harmony/enhanced/buildtest/branches/2.0/buildtest.bat?view=diff&rev=544529&r1=544528&r2=544529
> ==============================================================================
> --- harmony/enhanced/buildtest/branches/2.0/buildtest.bat (original)
> +++ harmony/enhanced/buildtest/branches/2.0/buildtest.bat Tue Jun  5 09:00:38 2007
> @@ -6,7 +6,7 @@
>  @set ANT_OPTS=-XX:MaxPermSize=512m -Xmx1000M -Dhttp.proxyHost=my.proxy.com -Dhttp.proxyPort=1111
>
>  @set PATH=%SVN_HOME%\bin;%PATH%;%ANT_HOME%\bin
> -@set CLASSPATH=%~dp0\build\classes
> +@set CLASSPATH=.;%CD%\build\classes
>
>  @call "%COMPILER_CFG_SCRIPT%"
>  call ant %* 2>&1
>
> Modified: harmony/enhanced/buildtest/branches/2.0/buildtest.sh
> URL: http://svn.apache.org/viewvc/harmony/enhanced/buildtest/branches/2.0/buildtest.sh?view=diff&rev=544529&r1=544528&r2=544529
> ==============================================================================
> --- harmony/enhanced/buildtest/branches/2.0/buildtest.sh (original)
> +++ harmony/enhanced/buildtest/branches/2.0/buildtest.sh Tue Jun  5 09:00:38 2007
> @@ -6,7 +6,7 @@
>  export ANT_OPTS="-XX:MaxPermSize=512m -Xmx700M -Dhttp.proxyHost=my.proxy.com -Dhttp.proxyPort=1111"
>
>  export PATH=$SVN_HOME/bin:$PATH:$ANT_HOME/bin
> -export CLASSPATH=./build/classes
> +export CLASSPATH=.:$PWD/build/classes
>
>  $COMPILER_CFG_SCRIPT
>
>
>
>

Mime
View raw message