def write_local_jnlp(filename=@local_jnlp_name)
      destination = File.expand_path(filename)
      unless @local_jnlp_href == destination
        @local_jnlp_href = destination
        @local_jnlp_name = File.basename(destination)
        self.generate_local_jnlp
      end
      File.open(filename, 'w') {|f| f.write to_local_jnlp }
    end
def write_local_jnlp(filename=@local_jnlp_name)
      destination = File.expand_path(filename)
      unless @local_jnlp_href == destination
        @local_jnlp_href = destination
        @local_jnlp_name = File.basename(destination)
        self.generate_local_jnlp
      end
      File.open(filename, 'w') {|f| f.write to_local_jnlp }
    end
Writes a local file-based jnlp.

 Will write jnlp to current working directory
 using name of original jnlp with "local-" prefix.