@@ -114,17 +114,10 @@ <h4>runtime</h4>
114
114
115
115
< p > This element is optional. If specified, the base directory of the fileset must point to the
116
116
root directory of a valid Java runtime environment. The contents of the runtime will be copied to
117
- the < tt > Contents/PlugIns/</ tt > folder of the generated application bundle. By default, the
118
- following content will be excluded from the bundled runtime:</ p >
119
-
120
- < ul >
121
- < li > < tt > bin/</ tt > </ li >
122
- < li > < tt > jre/bin/</ tt > </ li >
123
- < li > < tt > man/</ tt > </ li >
124
- < li > < tt > src.zip</ tt > </ li >
125
- </ ul >
126
-
127
- < p > Additional content can be excluded using nested < code > <exclude></ code > elements.</ p >
117
+ the < tt > Contents/PlugIns/</ tt > folder of the generated application bundle. By default, only the
118
+ contents of the < tt > jre/</ tt > directory (minus < tt > jre/bin/</ tt > ) will be included in the bundled
119
+ application. Additional content can be included or excluded using nested
120
+ < code > <include></ code > and < code > <exclude></ code > elements, respectively.</ p >
128
121
129
122
< p > If this element is omitted, a Java runtime environment will not be copied into the generated
130
123
bundle, and target systems must have a shared JRE installed in
@@ -172,9 +165,7 @@ <h4>argument</h4>
172
165
173
166
< h3 > Examples</ h3 >
174
167
< p > Generate a launcher for the "Swing Set" demo, bundling the JRE defined by the < tt > JAVA_HOME</ tt >
175
- environment variable with the resulting executable. In addition to the default excludes, the
176
- contents of the < tt > db/</ tt > and < tt > lib/</ tt > folders will also be excluded from the bundled
177
- runtime:</ p >
168
+ environment variable with the resulting executable.</ p >
178
169
< pre >
179
170
<-- Import environment variables -->
180
171
<property environment="env"/>
@@ -189,11 +180,9 @@ <h3>Examples</h3>
189
180
displayname="SwingSet 2"
190
181
identifier="com.oracle.javax.swing.SwingSet2"
191
182
shortversion="1.0"
183
+ applicationCategory="public.app-category.developer-tools"
192
184
mainclassname="SwingSet2">
193
185
<runtime dir="${env.JAVA_HOME}"/>
194
- <exclude name="db/"/>
195
- <exclude name="lib/"/>
196
- </runtime>
197
186
<classpath file="/Library/Java/Demos/JFC/SwingSet2/SwingSet2.jar"/>
198
187
<option value="-Dapple.laf.useScreenMenuBar=true"/>
199
188
</bundleapp>
0 commit comments