From 6069e787991de587979306af768738945046ff94 Mon Sep 17 00:00:00 2001 From: Kelly Rauchenberger Date: Thu, 14 Aug 2008 00:10:22 +0000 Subject: Client: Added Java Web Start support This has been discovered to be a much better way of Java distributation. Because of this, the loader script is no longer necessary. --- client/trunk/master.jnlp | 24 ++ client/trunk/nbproject/build-impl.xml | 3 +- .../nbproject/configs/JWS_generated.properties | 4 + client/trunk/nbproject/genfiles.properties | 6 +- client/trunk/nbproject/jnlp-impl.xml | 456 +++++++++++++++++++++ client/trunk/nbproject/project.properties | 20 +- client/trunk/nbproject/project.xml | 5 + client/trunk/packaging/instadisc | 20 - 8 files changed, 501 insertions(+), 37 deletions(-) create mode 100644 client/trunk/master.jnlp create mode 100644 client/trunk/nbproject/configs/JWS_generated.properties create mode 100644 client/trunk/nbproject/jnlp-impl.xml delete mode 100755 client/trunk/packaging/instadisc (limited to 'client/trunk') diff --git a/client/trunk/master.jnlp b/client/trunk/master.jnlp new file mode 100644 index 0000000..5f43198 --- /dev/null +++ b/client/trunk/master.jnlp @@ -0,0 +1,24 @@ + + + + ${APPLICATION.TITLE} + ${APPLICATION.VENDOR} + ${APPLICATION.DESC} + ${APPLICATION.DESC.SHORT} + + + + + + + + + + + + + + + + + diff --git a/client/trunk/nbproject/build-impl.xml b/client/trunk/nbproject/build-impl.xml index 3d947ad..a01a488 100644 --- a/client/trunk/nbproject/build-impl.xml +++ b/client/trunk/nbproject/build-impl.xml @@ -20,6 +20,7 @@ is divided into following sections: --> + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + $${APPLICATION.TITLE} + $${APPLICATION.VENDOR} + $${APPLICATION.DESC} + $${APPLICATION.DESC.SHORT} + + + + + + + + + + + + + + + + + +]]> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Test page for launching the application via JNLP + + +

Test page for launching the application via JNLP

+ Launch the application + + +]]>
+
+ +
diff --git a/client/trunk/nbproject/project.properties b/client/trunk/nbproject/project.properties index c7123aa..2ab451d 100644 --- a/client/trunk/nbproject/project.properties +++ b/client/trunk/nbproject/project.properties @@ -29,9 +29,7 @@ javac.classpath=\ ${libs.XML-RPC.classpath}:\ ${libs.BDB.classpath}:\ ${file.reference.commons-logging-1.1.jar}:\ - ${file.reference.ws-commons-util-1.0.2.jar}:\ - ${libs.beans-binding.classpath}:\ - ${libs.absolutelayout.classpath} + ${file.reference.ws-commons-util-1.0.2.jar} # Space-separated list of extra javac options javac.compilerargs=-Xlint:unchecked javac.deprecation=false @@ -53,20 +51,16 @@ javadoc.splitindex=true javadoc.use=true javadoc.version=false javadoc.windowtitle= -jnlp.codebase.type=local +jnlp.codebase.type=user jnlp.codebase.url=file:/home/hatkirby/NetBeansProjects/InstaDisc/dist/ -jnlp.enabled=false -jnlp.offline-allowed=false -jnlp.signed=false -# Property libs.absolutelayout.classpath is set here just to make sharing of project simpler. -# The library definition has always preference over this property. -libs.absolutelayout.classpath=../../../../usr/share/netbeans/6.0.1/java1/modules/ext/AbsoluteLayout.jar +jnlp.codebase.user=http://files.fourisland.com/projects/instadisc/ +jnlp.enabled=true +jnlp.icon=/home/hatkirby/instaDiscIconBig.png +jnlp.offline-allowed=true +jnlp.signed=true # Property libs.BDB.classpath is set here just to make sharing of project simpler. # The library definition has always preference over this property. libs.BDB.classpath=lib/je-3.3.62.jar -# Property libs.beans-binding.classpath is set here just to make sharing of project simpler. -# The library definition has always preference over this property. -libs.beans-binding.classpath=../../../../usr/share/netbeans/6.0.1/java1/modules/ext/beansbinding-1.2.1.jar # Property libs.XML-RPC.classpath is set here just to make sharing of project simpler. # The library definition has always preference over this property. libs.XML-RPC.classpath=lib/xmlrpc-client-3.1.jar:lib/xmlrpc-common-3.1.jar:lib/xmlrpc-server-3.1.jar diff --git a/client/trunk/nbproject/project.xml b/client/trunk/nbproject/project.xml index 652e0df..0cd1753 100644 --- a/client/trunk/nbproject/project.xml +++ b/client/trunk/nbproject/project.xml @@ -2,6 +2,11 @@ org.netbeans.modules.java.j2seproject + + + + + InstaDisc 1.6.5 diff --git a/client/trunk/packaging/instadisc b/client/trunk/packaging/instadisc deleted file mode 100755 index 8b8a420..0000000 --- a/client/trunk/packaging/instadisc +++ /dev/null @@ -1,20 +0,0 @@ -#!/bin/sh -# InstaDisc Client Loader -# -# Copyright 2008 Four Island - -PRG=$0 - -while [ -h "$PRG" ]; do - ls=`ls -ld "$PRG"` - link=`expr "$ls" : '^.*-> \(.*\)$' 2>/dev/null` - if expr "$link" : '^/' 2> /dev/null >/dev/null; then - PRG="$link" - else - PRG="`dirname "$PRG"`/$link" - fi -done - -progdir=`dirname "$PRG"` - -java -jar "$progdir/InstaDisc.jar" $* -- cgit 1.4.1