
Security News
New Website “Is It Really FOSS?” Tracks Transparency in Open Source Distribution Models
A new site reviews software projects to reveal if they’re truly FOSS, making complex licensing and distribution models easy to understand.
== 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
Unknown package
We found that stepheneb-jnlp demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Security News
A new site reviews software projects to reveal if they’re truly FOSS, making complex licensing and distribution models easy to understand.
Security News
Astral unveils pyx, a Python-native package registry in beta, designed to speed installs, enhance security, and integrate deeply with uv.
Security News
The Latio podcast explores how static and runtime reachability help teams prioritize exploitable vulnerabilities and streamline AppSec workflows.