forked from NASAWorldWind/WorldWindJava
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathJavaWebStartAppletTemplate.jnlp
More file actions
64 lines (58 loc) · 2.89 KB
/
JavaWebStartAppletTemplate.jnlp
File metadata and controls
64 lines (58 loc) · 2.89 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
<?xml version="1.0" encoding="utf-8"?>
<!--
~ Copyright (C) 2013 United States Government as represented by the Administrator of the
~ National Aeronautics and Space Administration.
~ All Rights Reserved.
-->
<!--
~ Example configuration file for a Java Web Start applet that uses the World Wind Java SDK. Replace everything in
~ all caps below with your own information.
~
~ $Id: JavaWebStartAppletTemplate.jnlp 1168 2013-02-08 20:19:28Z dcollins $
-->
<jnlp href="THE NAME OF THIS FILE, E.G., MyApp.jnlp">
<!--
Provides a description of this application.
-->
<information>
<title>APP TITLE</title>
<vendor>YOUR VENDOR NAME</vendor>
<homepage href="YOUR WEB PAGE, E.G., example.com/myapp"/>
<description>APP DESCRIPTION</description>
<description kind="short">LONGER APP DESCRIPTION, CAN ASSUME THERE'S ROOM FOR A PARAGRAPH</description>
<offline-allowed/>
</information>
<!--
Requests a trusted application environment. The World Wind SDK core library requires access to the network and
the local filesystem. All World Wind JAR files are signed with a digital signature associated with NASA. The
application's JAR files must also be signed with a digital signature. The application's signature may be
different from the World Wind signature, provided that the World Wind JAR files are loaded by extension as shown
below.
-->
<security>
<all-permissions/>
</security>
<!--
Specifies the resources required by the World Wind SDK core library:
* Java Runtime Environment version 1.6 or newer, with a maximum heap size of at least 512 MB. The World Wind SDK
requires at least 512 MB of heap space. This heap size must be specified in the application's Web Start file.
* Application Jar file. This downloads and adds the application's JAR file to the class path at runtime.
* World Wind core Java Web Start component. This downloads and adds the World Wind SDK core JAR file and its
dependencies ot the class path at runtime.
-->
<resources>
<java version="1.6+" max-heap-size="512m"/>
<jar href="YOUR APPLICATION JAR FILE NAME, e.g., MyApp.jar" main="true"/>
<extension name="worldwind" href="http://worldwind.arc.nasa.gov/java/2.0.0/webstart/worldwind.jnlp"/>
</resources>
<!--
Indicates that this Java Web Start file describes an applet. The main-class element indicates the class who's
main method is executed when the applet launches. The width and height are overridden by the applet tag that
references this file.
-->
<applet-desc main-class="YOUR APPLICATION MAIN CLASS, e.g., com.example.MyBasicDemo"
name="YOUR APPLICATION NAME"
width="800" height="600">
<param name="separate_jvm" value="true"/>
</applet-desc>
</jnlp>