@echo off

@rem save current directory
@set OLDDIR=%CD%

echo Generating Eclipse configuration files...
cd %VSS_PROJECT_HOME%
call mvn eclipse:clean eclipse:eclipse -U -s %MAVEN_SETTINGS_FILE%
@set MYERROR=%ERRORLEVEL%

chdir /d %OLDDIR%
EXIT /B %MYERROR%