anchor.diff:        '';
     }
   
  -  // removeAttrs args ["antProperties" "buildInputs" "pkgs"] // 
  +  // removeAttrs args ["antProperties" "buildInputs" "pkgs" "jarWrappers"] // 
   
     {
       name = name + (if src ? version then "-" + src.version else "");
  
positive.code:       done
      '';
  
      generateWrappersPhase = '' 
        header "Generating jar wrappers"
      '' + (stdenv.lib.concatMapStrings (w: ''
  
        cat >> $out/bin/${w.name} <<EOF
        #! /bin/sh
        export JAVA_HOME=$jre
        $jre/bin/java ${if w ? mainClass then "-cp $out/lib/java/${w.jar} ${w.mainClass}" else "-jar $out/lib/java/${w.jar}"} \$@
        EOF
  
        chmod a+x $out/bin/${w.name} || exit 1
  
negative.code: 
  let
    antFlags = "-f ${buildfile} " + stdenv.lib.concatMapStrings ({name, value}: "-D${name}=${value} " ) antProperties ;
    lib = stdenv.lib;
  in
  stdenv.mkDerivation (
  
    {
      inherit jre ant;
      showBuildStats = true;
  
      postPhases =
  