def write_local_classpath_shell_script(filename="#{@name[/[A-Za-z0-9_-]*/]}_classpath.sh", options={})
      script = "export CLASSPATH=$CLASSPATH#{local_classpath(options)}"
      File.open(filename, 'w'){|f| f.write script}
    end
def write_local_classpath_shell_script(filename="#{@name[/[A-Za-z0-9_-]*/]}_classpath.sh", options={})
      script = "export CLASSPATH=$CLASSPATH#{local_classpath(options)}"
      File.open(filename, 'w'){|f| f.write script}
    end
Writes a shell script to the local filesystem
 that will export a modified CLASSPATH environmental
 variable with the paths to the resources used by
 this jnlp.

 Writes a jnlp to current working directory
 using name of original jnlp.

 Pass in the optional hash: (:remove_jruby => true) and
 the first resource that contains the string /jruby/ will
 be removed from the classapath shell script.

 Example:

   write_local_classpath_shell_scrip(:remove_jruby => true)