anchor.diff:  
   set SCHED_DIR="%BASE_TEMP_DIR%\sched"
   
  +set JAVA="%JAVA_HOME%\bin\java"
  +
  +set LIB_DIR=%CD%\..\..\dist\lib
  +set CP=%LIB_DIR%\jetty-6.1.18.jar
  +set CP=%CP%;%LIB_DIR%\jetty-util-6.1.18.jar
  +set CP=%CP%;%LIB_DIR%\servlet-api-2.5-6.1.11.jar
  +set CP=%CP%;%LIB_DIR%\ProActive_SRM-common.jar
  +
   mkdir %REST_DIR%
   IF %VERBOSE% == true (
       echo Deploying REST Server in %REST_DIR% 
  
positive.code:     set APPS=%APPS% %SCHED_DIR% 
  )
  
  set JAVA="%JAVA_HOME%\bin\java"
  
  set LIB_DIR=%CD%\..\..\lib
  set CP=%LIB_DIR%\ProActive\jetty-6.1.18.jar
  set CP=%CP%;%LIB_DIR%\ProActive\jetty-util-6.1.18.jar
  set CP=%CP%;%LIB_DIR%\ProActive\servlet-api-2.5-6.1.11.jar
  set CP=%CP%;%CD%\..\..\dist\lib\ProActive_SRM-common.jar
  
  set CLASS=org.ow2.proactive.utils.JettyLauncher
  
  set LOG=
  
negative.code: goto :eof
  
  :unzip
      REM Using jruby interpreter to unzip since Windows doesn't have a built-in ZIP command
  
      SETLOCAL
      SET CLASSPATH=%LIB_DIR%\jruby.jar;%LIB_DIR%\ProActive_Scheduler-client.jar;%LIB_DIR%\ProActive_SRM-common.jar;%CLASSPATH%
      SET CMD="Java::org.ow2.proactive.scheduler.common.util.ZipUtils.unzip(Java::java.util.zip.ZipFile.new('%1'),Java::java.io.File.new('%2'))"
      "%JAVA_HOME%\bin\java" org.jruby.Main -e %CMD%     
      ENDLOCAL
  
      goto :eof
  
  :set_property
      REM Using jruby interpreter to change a specified property in the specified file
      REM %1 - path of the properties file
      REM %2 - property name
      REM %3 - property value
  
      SETLOCAL enabledelayedexpansion
      SET path=%1
  
      REM escape quotes in path
      Set path=!path:"=!
  
      set CLASSPATH=%LIB_DIR%\jruby.jar
      set CMD="f=Java::java.io.File.new('%path%');prop=Java::java.util.Properties.new();prop.load(Java::java.io.FileInputStream.new(f));prop.setProperty('%2','%3');prop.store(Java::java.io.FileOutputStream.new(f),'')"
      "%JAVA_HOME%\bin\java" org.jruby.Main -e %CMD%
      ENDLOCAL
  
      goto :eof
  
  :createTempDir
  