anchor.diff:  set launcher=javaw.exe
   goto shift1
   :notGui
  +
  +if not "%firstArg%"=="-gui2" goto notGui2
  +set appjar=findbugsGUI.jar
  +set mainClass=edu.umd.cs.findbugs.gui2.Driver
  +set launcher=javaw.exe
  +goto shift1
  +:notGui2
   
   if not "%firstArg%"=="-textui" goto notTextui
   set appjar=findbugs.jar
  
positive.code: set workHardArg=
  set args=
  set javaProps=
  set maxheap=256
  
  :: Try finding the default FINDBUGS_HOME directory
  :: from the directory path of this script
  
negative.code: 
  :found_home
  :: Launch FindBugs!
  
  if not "%mainClass%"=="" goto invokeMainClass
  %start% "%javahome%%launcher%" %debugArg% %conserveSpaceArg% %workHardArg% %javaProps% "-Dfindbugs.home=%FINDBUGS_HOME%" -Xmx%maxheap%m %jvmargs% -jar "%FINDBUGS_HOME%\lib\%appjar%" %args%
  goto end
  
  :invokeMainClass
  %start% "%javahome%%launcher%" %debugArg% %conserveSpaceArg% %workHardArg% %javaProps% "-Dfindbugs.home=%FINDBUGS_HOME%" -Xmx%maxheap%m %jvmargs% -cp "%FINDBUGS_HOME%\lib\%appjar%" %mainClass% %args%
  goto end
  
  :: ----------------------------------------------------------------------
  