diff options
author | Omair Majid <[email protected]> | 2011-02-22 14:51:52 -0500 |
---|---|---|
committer | Omair Majid <[email protected]> | 2011-02-22 14:51:52 -0500 |
commit | 8e88ad34510da82aadd0a0154a91bcf524b7a770 (patch) | |
tree | 5c0aa3d510c39a35586fcfdb859119b45ff2e963 /netx/net/sourceforge/jnlp/resources/Messages.properties | |
parent | d32aed6fa8210897f847a3c5f25067fb30c96720 (diff) |
Fix lookup of about.jnlp
javaws -about was previously looking for about.jnlp in JAVA_HOME. Since javaws
is not meant to be installed in JAVA_HOME, this makes no sense. This patch
makes javaws use the about.jnlp inside netx.jar (by loading it using the
classloader).
2011-02-22 Omair Majid <[email protected]>
* netx/net/sourceforge/jnlp/resources/Messages.properties: Add
RNoAboutJnlp.
* netx/net/sourceforge/jnlp/runtime/Boot.java: Remove NETX_ABOUT_FILE.
(getAboutFile): Look for about.jnlp using the classloader.
(getFile): Use localized error message string.
Diffstat (limited to 'netx/net/sourceforge/jnlp/resources/Messages.properties')
-rw-r--r-- | netx/net/sourceforge/jnlp/resources/Messages.properties | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/netx/net/sourceforge/jnlp/resources/Messages.properties b/netx/net/sourceforge/jnlp/resources/Messages.properties index c9628b9..cbb51b3 100644 --- a/netx/net/sourceforge/jnlp/resources/Messages.properties +++ b/netx/net/sourceforge/jnlp/resources/Messages.properties @@ -121,6 +121,7 @@ PBadHeapSize=Invalid value for heap size ({0}) # Runtime
BLaunchAbout=Launching about window...
BNeedsFile=Must specify a .jnlp file
+RNoAboutJnlp=Unable to find about.jnlp
BFileLoc=JNLP file location
BArgNA=Arguments not used for this type of JNLP file (ignored).
BParamNA=Parameters not used for this type of JNLP file (ignored).
|