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, [EMAIL PROTECTED] <[EMAIL PROTECTED]> 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
[EMAIL PROTECTED] CLASSPATH=%~dp0\build\classes
[EMAIL PROTECTED] 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




Reply via email to