mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Don't corrupt IDEA installation if update task has failed (better test on Windows)
This commit is contained in:
+1
-1
@@ -31,7 +31,7 @@ CD %DEV_IDEA_HOME%
|
||||
SET ANT_HOME=%DEV_IDEA_HOME%\lib\ant
|
||||
SET EXEC_ANT="%JAVA_HOME%\bin\java.exe" -Dant.home=%ANT_HOME% -classpath "%ANT_HOME%\lib\ant-launcher.jar" org.apache.tools.ant.launch.Launcher
|
||||
CALL %EXEC_ANT% -f build/update.xml %*
|
||||
IF errorlevel 1 GOTO failed
|
||||
IF NOT ERRORLEVEL 0 GOTO failed
|
||||
|
||||
DEL /Q /S %WORK_IDEA_HOME%\lib
|
||||
DEL /Q /S %WORK_IDEA_HOME%\plugins
|
||||
|
||||
Reference in New Issue
Block a user