diff options
author | Tor Norbye <tnorbye@google.com> | 2013-05-08 15:46:07 -0700 |
---|---|---|
committer | Tor Norbye <tnorbye@google.com> | 2013-05-08 15:46:07 -0700 |
commit | a6eac331b3d9f0d4168b12356ea256c83f4e9c05 (patch) | |
tree | 923ceb497c43ea183351321bb4b9e388851a7854 /build/update.cmd | |
parent | 934b9431b0b827a132df794e307fe5a2b70de00b (diff) | |
download | idea-a6eac331b3d9f0d4168b12356ea256c83f4e9c05.tar.gz |
Snapshot f5ae6e3be7e12e1ef9e12f48fe3a674266288e4e from master branch of git://git.jetbrains.org/idea/community.git
Change-Id: I756af70fb2910aa2687e94e28338fb9727bce518
Diffstat (limited to 'build/update.cmd')
-rw-r--r-- | build/update.cmd | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/build/update.cmd b/build/update.cmd index a49d2daf764d..74b499573283 100644 --- a/build/update.cmd +++ b/build/update.cmd @@ -31,6 +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 NOT ERRORLEVEL 0 GOTO failed DEL /Q /S %WORK_IDEA_HOME%\lib DEL /Q /S %WORK_IDEA_HOME%\plugins @@ -39,5 +40,10 @@ XCOPY %DEV_IDEA_HOME%\bin\win\*.dll %WORK_IDEA_HOME%\bin\ /Q /E /Y XCOPY %DEV_IDEA_HOME%\bin\win\fsnotifier.exe %WORK_IDEA_HOME%\bin\ /Q /E /Y XCOPY %DEV_IDEA_HOME%\bin\win\runnerw.exe %WORK_IDEA_HOME%\bin\ /Q /E /Y XCOPY %DEV_IDEA_HOME%\out\deploy\*.* %WORK_IDEA_HOME%\ /Q /E /Y +GOTO done +:failed +ECHO "Update failed; work IDEA build not modified." + +:done CD /D %WORK_IDEA_HOME%\bin |