anchor.diff:  :runServer
   cd %CARBON_HOME%
   
  -FOR %%C in ("%CARBON_HOME%\resources\editor\services\*.jar") DO set CARBON_CLASSPATH=!CARBON_CLASSPATH!;".\resources\editor\services\%%~nC%%~xC"
  -
   rem ---------- Add jars to classpath ----------------
   
  -rem set CARBON_CLASSPATH=.\bin\bootstrap;%CARBON_CLASSPATH%
  +set CARBON_CLASSPATH=.\bin\bootstrap;%CARBON_CLASSPATH%
   
   set JAVA_ENDORSED=".\bin\bootstrap\endorsed";"%JAVA_HOME%\jre\lib\endorsed";"%JAVA_HOME%\lib\endorsed"
   
  -set CMD_LINE_ARGS=-Xbootclasspath/a:%CARBON_XBOOTCLASSPATH% -Xms256m -Xmx1024m -XX:+HeapDumpOnOutOfMemoryError
  --XX:HeapDumpPath="%CARBON_HOME%\logs\heap-dump.hprof"  -Dcom.sun.management.jmxremote -classpath %CARBON_CLASSPATH%
  -%JAVA_OPTS% -Djava.endorsed.dirs=%JAVA_ENDORSED%  -Dsp.home="%CARBON_HOME%"  -Djava.command="%JAVA_HOME%\bin\java" -Djava.opts="%JAVA_OPTS%" -Djava.io.tmpdir="%CARBON_HOME%\tmp" -Dcarbon.classpath=%CARBON_CLASSPATH% -Dfile.encoding=UTF8 -Deditor.port=9091 -DenableCloud=false -Dworkspace.port=8289
  +set CMD_LINE_ARGS=-Xbootclasspath/a:%CARBON_XBOOTCLASSPATH% -Xms256m -Xmx1024m -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath="%CARBON_HOME%\logs\heap-dump.hprof"  -Dcom.sun.management.jmxremote -classpath %CARBON_CLASSPATH% %JAVA_OPTS% -Djava.endorsed.dirs=%JAVA_ENDORSED%  -Dcarbon.home="%CARBON_HOME%"  -Djava.command="%JAVA_HOME%\bin\java" -Djava.opts="%JAVA_OPTS%" -Djava.io.tmpdir="%CARBON_HOME%\tmp" -Dcarbon.classpath=%CARBON_CLASSPATH% -Druntime=editor -Dfile.encoding=UTF8
   
   :runJava
  -"%JAVA_HOME%\bin\java" %CMD_LINE_ARGS% org.wso2.stream.processor.tooling.service.workspace.app.WorkspaceServiceRunner
  -%CMD%
  +echo JAVA_HOME environment variable is set to %JAVA_HOME%
  +echo CARBON_HOME environment variable is set to %CARBON_HOME%
  +"%JAVA_HOME%\bin\java" %CMD_LINE_ARGS% org.wso2.carbon.launcher.Main %CMD%
   if "%ERRORLEVEL%"=="121" goto runJava
   :end
   goto endlocal
  
positive.code: goto jdk16
  
  :unknownJdk
  echo Starting WSO2 Data Analytics Server tooling (in unsupported JDK)
  echo [ERROR] WSO2 Data Analytics Server tooling is supported only on JDK 1.8
  goto jdk16
  
  :jdk16
  
negative.code: rem Slurp the command line arguments. This loop allows for an unlimited number
  rem of arguments (up to the command line limit, anyway).
  
  
  :setupArgs
  if ""%1""=="""" goto doneStart
  
  if ""%1""==""-run""     goto commandLifecycle
  if ""%1""==""--run""    goto commandLifecycle
  if ""%1""==""run""      goto commandLifecycle
  
  if ""%1""==""-restart""  goto commandLifecycle
  if ""%1""==""--restart"" goto commandLifecycle
  if ""%1""==""restart""   goto commandLifecycle
  
  if ""%1""==""debug""    goto commandDebug
  if ""%1""==""-debug""   goto commandDebug
  if ""%1""==""--debug""  goto commandDebug
  
  if ""%1""==""version""   goto commandVersion
  if ""%1""==""-version""  goto commandVersion
  if ""%1""==""--version"" goto commandVersion
  
  shift
  goto setupArgs
  
  rem ----- commandVersion -------------------------------------------------------
  :commandVersion
  shift
  type "%CARBON_HOME%\bin\kernel-version.txt"
  goto end
  
  rem ----- commandDebug ---------------------------------------------------------
  :commandDebug
  