Socket
Book a DemoInstallSign in
Socket

stepheneb-jnlp

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

stepheneb-jnlp

0.0.5.1
bundlerRubygems
Version published
Maintainers
1
Created
Source

== jnlp

A gem for encapsulating the content and resources referenced by Java Web Start jnlps

Complete rdoc available here: http://rubywebstart.rubyforge.org/jnlp/Jnlp/Jnlp.html

For more information about the structure of Java Web Start see:

http://java.sun.com/javase/6/docs/technotes/guides/javaws/developersguide/contents.html

To create a new Jnlp call Jnlp#new with a string that contains either a local path or a url.

Examples:

Creating a new Jnlp object from a local Java Web Start jnlp file.

j = Jnlp::Jnlp.new("authoring.jnlp")

Creating a new Jnlp object from a Java Web Start jnlp referenced with a url.

j = Jnlp::Jnlp.new("jnlp.concord.org/dev/org/concord/maven-jnlp/otrunk-sensor/otrunk-sensor.jnlp")

Once the Jnlp object is created you can call Jnlp#cache_resources to create a local cache of all the jar and nativelib resources.

The structure of the cache directory and the naming using for the jar and nativelib files is the same as that used by the Java Web Start Download Servlet, see:

http://java.sun.com/javase/6/docs/technotes/guides/javaws/developersguide/downloadservletguide.html

== Building the gem

=== First patch Hoe

Hoe versions 1.11.0 and 1.11.1 do not work with JRuby.

To build the gem you will need to apply this patch to Hoe: 0001-install_gem-nows-works-with-jruby-also.patch[http://gist.github.com/raw/87670/7bd12ecff3e27dd0a1a1d750b61d4efece372374/0001-install_gem-nows-works-with-jruby-also.patch]

=== The source code

The source code for the jnlp gem is on github[http://github.com/stepheneb/jnlp/tree/master].

git clone git://github.com/stepheneb/jnlp.git

FAQs

Package last updated on 10 Aug 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.