Skip to content

Commit

Permalink
fixed bug in windows script
Browse files Browse the repository at this point in the history
  • Loading branch information
datasetutil committed Jun 13, 2015
1 parent 3905c4e commit c19c5f1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions run.bat
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
SET BASEDIR=%~dp0.
cd %BASEDIR%

FOR /F "delims=|" %%I IN ('DIR /B /O:D') DO SET LATEST_JAR=%%I
FOR /F "delims=|" %%I IN ('DIR datasetutils*.jar /B /O:D') DO SET LATEST_JAR=%%I
echo %LATEST_JAR%

java -cp .;%LATEST_JAR% com.sforce.dataset.util.UpgradeChecker

FOR /F "delims=|" %%I IN ('DIR /B /O:D') DO SET LATEST_JAR=%%I
FOR /F "delims=|" %%I IN ('DIR datasetutils*.jar /B /O:D') DO SET LATEST_JAR=%%I
echo %LATEST_JAR%

java -Xmx1G -jar %LATEST_JAR% --server true

0 comments on commit c19c5f1

Please sign in to comment.