@@ -114,17 +114,10 @@ <h4>runtime</h4>
114114
115115< p > This element is optional. If specified, the base directory of the fileset must point to the
116116root 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 >
128121
129122< p > If this element is omitted, a Java runtime environment will not be copied into the generated
130123bundle, and target systems must have a shared JRE installed in
@@ -172,9 +165,7 @@ <h4>argument</h4>
172165
173166< h3 > Examples</ h3 >
174167< 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 >
178169< pre >
179170<-- Import environment variables -->
180171<property environment="env"/>
@@ -189,11 +180,9 @@ <h3>Examples</h3>
189180 displayname="SwingSet 2"
190181 identifier="com.oracle.javax.swing.SwingSet2"
191182 shortversion="1.0"
183+ applicationCategory="public.app-category.developer-tools"
192184 mainclassname="SwingSet2">
193185 <runtime dir="${env.JAVA_HOME}"/>
194- <exclude name="db/"/>
195- <exclude name="lib/"/>
196- </runtime>
197186 <classpath file="/Library/Java/Demos/JFC/SwingSet2/SwingSet2.jar"/>
198187 <option value="-Dapple.laf.useScreenMenuBar=true"/>
199188 </bundleapp>
0 commit comments