WebStart
From Rxtx
(Difference between revisions)
(New page: This page is currently a stub for information on WebStart (JNLP) and RxTx. '''To Do''' * Skeleton JNLP for Application and Libraries * Signing * Possibly an Ant build file * Gotchas) |
|||
Line 7: | Line 7: | ||
* Possibly an Ant build file | * Possibly an Ant build file | ||
* Gotchas | * Gotchas | ||
+ | |||
+ | JNLP For your application: | ||
+ | |||
+ | <pre> | ||
+ | <?xml version="1.0" encoding="utf-8"?> | ||
+ | <jnlp codebase="http://myserver/webstart/applications" | ||
+ | href="gpsviewer.jnlp"> | ||
+ | <information> | ||
+ | <title>GPSViewer</title> | ||
+ | <vendor>ajmas</vendor> | ||
+ | <homepage href="http://mysite/"/> | ||
+ | <description>Program displaying data from NMEA compatible GPS device</description> | ||
+ | <description kind="short">Displays data from a NMEA GPS device</description> | ||
+ | <offline-allowed/> | ||
+ | </information> | ||
+ | <security> | ||
+ | <all-permissions/> | ||
+ | </security> | ||
+ | <resources> | ||
+ | <j2se href="http://java.sun.com/products/autodl/j2se" version="1.5+"/> | ||
+ | <jar href="geonavapps.jar" main="true"/> | ||
+ | <jar href="geonav.jar" main="false"/> | ||
+ | <extension name="rxtx" href="http://myserver/webstart/rxtx/rxtx.jnlp" /> | ||
+ | </resources> | ||
+ | |||
+ | <application-desc main-class="osj.geonav.gpsviewer.GPSViewer"/> | ||
+ | </jnlp> | ||
+ | </pre> | ||
+ | |||
+ | JNLP for library: | ||
+ | |||
+ | <pre> | ||
+ | <?xml version="1.0" encoding="utf-8"?> | ||
+ | <jnlp codebase="http://myserver/webstart/rxtx/" | ||
+ | href="rxtx.jnlp"> | ||
+ | <information> | ||
+ | <title>RXTX</title> | ||
+ | <vendor>ajmas</vendor> | ||
+ | <homepage href="http://www.rxtx.org"/> | ||
+ | <description>Java API for serial port communication</description> | ||
+ | <description kind="short">Java API for serial port communication.</description> | ||
+ | <offline-allowed/> | ||
+ | </information> | ||
+ | <security> | ||
+ | <all-permissions/> | ||
+ | </security> | ||
+ | <resources> | ||
+ | <jar href="rxtx-comm.jar" /> | ||
+ | </resources> | ||
+ | <resources os="Windows" arch="x86"> | ||
+ | <nativelib href="rxtx-comm-natives-windows-i586.jar" /> | ||
+ | </resources> | ||
+ | <resources os="Linux" arch="i686"> | ||
+ | <nativelib href="rxtx-comm-natives-linux-i686-32.jar" /> | ||
+ | </resources> | ||
+ | <resources os="Linux" arch="i386"> | ||
+ | <nativelib href="rxtx-comm-natives-linux-i686-32.jar" /> | ||
+ | </resources> | ||
+ | <resources os="Linux" arch="x86"> | ||
+ | <nativelib href="rxtx-comm-natives-linux-i686-32.jar" /> | ||
+ | </resources> | ||
+ | <resources os="Mac OS X" > | ||
+ | <nativelib href="rxtx-comm-natives-macosx-universal.jar" /> | ||
+ | </resources> | ||
+ | <component-desc /> | ||
+ | </jnlp> | ||
+ | </pre> |
Revision as of 03:11, 19 February 2008
This page is currently a stub for information on WebStart (JNLP) and RxTx.
To Do
- Skeleton JNLP for Application and Libraries
- Signing
- Possibly an Ant build file
- Gotchas
JNLP For your application:
<?xml version="1.0" encoding="utf-8"?> <jnlp codebase="http://myserver/webstart/applications" href="gpsviewer.jnlp"> <information> <title>GPSViewer</title> <vendor>ajmas</vendor> <homepage href="http://mysite/"/> <description>Program displaying data from NMEA compatible GPS device</description> <description kind="short">Displays data from a NMEA GPS device</description> <offline-allowed/> </information> <security> <all-permissions/> </security> <resources> <j2se href="http://java.sun.com/products/autodl/j2se" version="1.5+"/> <jar href="geonavapps.jar" main="true"/> <jar href="geonav.jar" main="false"/> <extension name="rxtx" href="http://myserver/webstart/rxtx/rxtx.jnlp" /> </resources> <application-desc main-class="osj.geonav.gpsviewer.GPSViewer"/> </jnlp>
JNLP for library:
<?xml version="1.0" encoding="utf-8"?> <jnlp codebase="http://myserver/webstart/rxtx/" href="rxtx.jnlp"> <information> <title>RXTX</title> <vendor>ajmas</vendor> <homepage href="http://www.rxtx.org"/> <description>Java API for serial port communication</description> <description kind="short">Java API for serial port communication.</description> <offline-allowed/> </information> <security> <all-permissions/> </security> <resources> <jar href="rxtx-comm.jar" /> </resources> <resources os="Windows" arch="x86"> <nativelib href="rxtx-comm-natives-windows-i586.jar" /> </resources> <resources os="Linux" arch="i686"> <nativelib href="rxtx-comm-natives-linux-i686-32.jar" /> </resources> <resources os="Linux" arch="i386"> <nativelib href="rxtx-comm-natives-linux-i686-32.jar" /> </resources> <resources os="Linux" arch="x86"> <nativelib href="rxtx-comm-natives-linux-i686-32.jar" /> </resources> <resources os="Mac OS X" > <nativelib href="rxtx-comm-natives-macosx-universal.jar" /> </resources> <component-desc /> </jnlp>