def resource_paths(options={})
      if options[:include_pack_gs]
        cp_jars =       @jars.empty?       ? [] : @jars.collect {|j| j.local_path_pack_gz}
        cp_nativelibs = @nativelibs.empty? ? [] : @nativelibs.collect {|n| n.local_path_pack_gz}
        resources = cp_jars + cp_nativelibs
      else
        cp_jars =       @jars.empty?       ? [] : @jars.collect {|j| j.local_path}
        cp_nativelibs = @nativelibs.empty? ? [] : @nativelibs.collect {|n| n.local_path}
        resources = cp_jars + cp_nativelibs
      end
      #
      # FIXME: this should probably be more discriminatory
      #
      if options[:remove_jruby]
        resources = resources.reject {|r| r =~ /\/jruby\//}
      end
      resources
    end
def resource_paths(options={})
      if options[:include_pack_gs]
        cp_jars =       @jars.empty?       ? [] : @jars.collect {|j| j.local_path_pack_gz}
        cp_nativelibs = @nativelibs.empty? ? [] : @nativelibs.collect {|n| n.local_path_pack_gz}
        resources = cp_jars + cp_nativelibs
      else
        cp_jars =       @jars.empty?       ? [] : @jars.collect {|j| j.local_path}
        cp_nativelibs = @nativelibs.empty? ? [] : @nativelibs.collect {|n| n.local_path}
        resources = cp_jars + cp_nativelibs
      end
      #
      # FIXME: this should probably be more discriminatory
      #
      if options[:remove_jruby]
        resources = resources.reject {|r| r =~ /\/jruby\//}
      end
      resources
    end
Returns an array containing all the local paths for this jnlp's resources.

 Pass in the options hash: (:remove_jruby => true) and
 the first resource that contains the string /jruby/ will
 be removed from the returned array.

 Example:

   resource_paths(:remove_jruby => true)

 This is useful when the jruby-complete jar has been included
 in the jnlp and you don't want to require that jruby into this
 specific instance which is already running jruby.

 Here's an example of a jruby resource reference:

    "org/jruby/jruby/jruby__V1.0RC2.jar"

 Pass in the options hash: (:include_pack_gz => true) and the
 resources returned with be pack.gz jars instead of regular jars