mirror of
https://github.com/corda/corda.git
synced 2024-12-18 20:47:57 +00:00
Fix DemoBench Windows installer (#3451)
Specify paths to build tools correctly or else bugfixes will not applied.
This commit is contained in:
parent
8c956c004f
commit
4cc4e3f01b
@ -11,7 +11,7 @@ if "%DIRNAME%" == "" set DIRNAME=.
|
||||
call %DIRNAME%\..\..\gradlew -PpackageType=exe javapackage %*
|
||||
if ERRORLEVEL 1 goto Fail
|
||||
@echo
|
||||
@echo Wrote installer to %DIRNAME%\build\javapackage\bundles\
|
||||
@echo Wrote installer to %DIRNAME%build\javapackage\bundles\
|
||||
@echo
|
||||
goto end
|
||||
|
||||
|
@ -29,14 +29,14 @@ if exist "%BUILDDIR%" rmdir /s /q "%BUILDDIR%"
|
||||
mkdir "%BUILDDIR%"
|
||||
|
||||
for /r "%SOURCEDIR%" %%j in (*.java) do (
|
||||
javac -O -d "%BUILDDIR%" "%%j"
|
||||
"%JAVA_HOME%\bin\javac" -O -d "%BUILDDIR%" "%%j"
|
||||
if ERRORLEVEL 1 (
|
||||
@echo "Failed to compile %%j"
|
||||
exit /b 1
|
||||
)
|
||||
)
|
||||
|
||||
jar uvf %1 -C "%BUILDDIR%" .
|
||||
"%JAVA_HOME%\bin\jar" uvf %1 -C "%BUILDDIR%" .
|
||||
if ERRORLEVEL 1 (
|
||||
@echo "Failed to update %1"
|
||||
exit /b 1
|
||||
|
Loading…
Reference in New Issue
Block a user