Removing DoubleDict DoubleList LongDict LongList from Reference
@@ -0,0 +1,195 @@
|
||||
<!--
|
||||
Copyright 2012, Oracle and/or its affiliates. All rights reserved.
|
||||
|
||||
DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
|
||||
This code is free software; you can redistribute it and/or modify it
|
||||
under the terms of the GNU General Public License version 2 only, as
|
||||
published by the Free Software Foundation. Oracle designates this
|
||||
particular file as subject to the "Classpath" exception as provided
|
||||
by Oracle in the LICENSE file that accompanied this code.
|
||||
|
||||
This code is distributed in the hope that it will be useful, but WITHOUT
|
||||
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
version 2 for more details (a copy is included in the LICENSE file that
|
||||
accompanied this code).
|
||||
|
||||
You should have received a copy of the GNU General Public License version
|
||||
2 along with this work; if not, write to the Free Software Foundation,
|
||||
Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
|
||||
Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
|
||||
or visit www.oracle.com if you need additional information or have any
|
||||
questions.
|
||||
-->
|
||||
|
||||
<html lang="en-us">
|
||||
|
||||
<head>
|
||||
<meta http-equiv="Content-Language" content="en-us">
|
||||
<link rel="stylesheet" type="text/css" href="http://ant.apache.org/manual/stylesheets/style.css">
|
||||
<title>AppBundler Task</title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<h2><a name="appbundler">AppBundler</a></h2>
|
||||
<h3>Description</h3>
|
||||
<p>Generates a native launcher for a Java application.</p>
|
||||
|
||||
<h3>Parameters</h3>
|
||||
<table border="1" cellpadding="2" cellspacing="0">
|
||||
<tr>
|
||||
<td valign="top"><b>Attribute</b></td>
|
||||
<td valign="top"><b>Description</b></td>
|
||||
<td align="center" valign="top"><b>Required</b></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td valign="top">outputdirectory</td>
|
||||
<td valign="top">The output folder for the generated bundle.</td>
|
||||
<td align="center" valign="top">Yes</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td valign="top">name</td>
|
||||
<td valign="top">The name of the application.
|
||||
Corresponds to the <code>CFBundleName</code> key in the <tt>Info.plist</tt> file.</td>
|
||||
<td align="center" valign="top">Yes</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td valign="top">displayname</td>
|
||||
<td valign="top">The display name of the application.
|
||||
Corresponds to the <code>CFBundleDisplayName</code> key in the <tt>Info.plist</tt> file.</td>
|
||||
<td align="center" valign="top">Yes</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td valign="top">identifier</td>
|
||||
<td valign="top">An identifier string that specifies the application type.
|
||||
Corresponds to the <code>CFBundleIdentifier</code> key in the <tt>Info.plist</tt> file.</td>
|
||||
<td align="center" valign="top">Yes</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td valign="top">icon</td>
|
||||
<td valign="top">The icon file for the application.
|
||||
Corresponds to the <code>CFBundleIconFile</code> key in the <tt>Info.plist</tt> file.</td>
|
||||
<td align="center" valign="top">No</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td valign="top">shortversion</td>
|
||||
<td valign="top">The release version number string for the application.
|
||||
Corresponds to the <code>CFBundleShortVersionString</code> key in the <tt>Info.plist</tt>
|
||||
file.</td>
|
||||
<td align="center" valign="top">No</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td valign="top">signature</td>
|
||||
<td valign="top">The four-letter code identifying the application creator.
|
||||
Corresponds to the <code>CFBundleSignature</code> key in the <tt>Info.plist</tt> file.</td>
|
||||
<td align="center" valign="top">No</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td valign="top">copyright</td>
|
||||
<td valign="top">The copyright notice for the application.
|
||||
Corresponds to the <code>NSHumanReadableCopyright</code> key in the <tt>Info.plist</tt>
|
||||
file.</td>
|
||||
<td align="center" valign="top">No</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td valign="top">applicationCategory</td>
|
||||
<td valign="top">The application category.
|
||||
Corresponds to the <code>LSApplicationCategoryType</code> key in the <tt>Info.plist</tt>
|
||||
file.</td>
|
||||
<td align="center" valign="top">No</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td valign="top">mainclassname</td>
|
||||
<td valign="top">The name of the bundled application's main class.</td>
|
||||
<td align="center" valign="top">Yes</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<h3>Parameters specified as nested elements</h3>
|
||||
<h4>runtime</h4>
|
||||
<p>A <a href="http://ant.apache.org/manual/Types/fileset.html">fileset</a> representing the Java
|
||||
runtime environment to embed in the application.</p>
|
||||
|
||||
<p>This element is optional. If specified, the base directory of the fileset must point to the
|
||||
root directory of a valid Java runtime environment. The contents of the runtime will be copied to
|
||||
the <tt>Contents/PlugIns/</tt> folder of the generated application bundle.</p>
|
||||
|
||||
<p>By default, only the contents of the <tt>jre/</tt> directory will be included with the bundled
|
||||
application. All executable content (i.e. <tt>bin/</tt>, <tt>jre/bin/</tt>) is excluded. Additional
|
||||
content can be included or excluded using nested <code><include></code> and
|
||||
<code><exclude></code> elements, respectively.</p>
|
||||
|
||||
<p>If this element is omitted, a Java runtime environment will not be copied into the generated
|
||||
bundle, and target systems must have a shared JRE installed in
|
||||
<tt>/Library/Internet Plug-Ins/JavaAppletPlugin.plugin/</tt> in order to run the application.</p>
|
||||
|
||||
<h4>classpath</h4>
|
||||
<p>A <a href="http://ant.apache.org/manual/Types/fileset.html">fileset</a> representing the class
|
||||
path of the bundled application. Corresponds to the <tt>java.class.path</tt> system property.
|
||||
Entries will be copied to the <tt>Contents/Java/</tt> folder of the generated bundle.</p>
|
||||
|
||||
<h4>librarypath</h4>
|
||||
<p>A <a href="http://ant.apache.org/manual/Types/fileset.html">fileset</a> representing the library
|
||||
path of the bundled application. Corresponds to the <tt>java.library.path</tt> system property.
|
||||
Entries will be copied to the <tt>Contents/MacOS/</tt> folder of the generated bundle.</p>
|
||||
|
||||
<h4>option</h4>
|
||||
<p>Specifies a command-line option to be passed to the JVM at startup.</p>
|
||||
<table border="1" cellpadding="2" cellspacing="0">
|
||||
<tr>
|
||||
<td valign="top"><b>Attribute</b></td>
|
||||
<td valign="top"><b>Description</b></td>
|
||||
<td align="center" valign="top"><b>Required</b></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td valign="top">value</td>
|
||||
<td valign="top">The option value.</td>
|
||||
<td align="center" valign="top">Yes</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<h4>argument</h4>
|
||||
<p>Specifies a command-line argument to be passed to the bundled application at startup.</p>
|
||||
<table border="1" cellpadding="2" cellspacing="0">
|
||||
<tr>
|
||||
<td valign="top"><b>Attribute</b></td>
|
||||
<td valign="top"><b>Description</b></td>
|
||||
<td align="center" valign="top"><b>Required</b></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td valign="top">value</td>
|
||||
<td valign="top">The argument value.</td>
|
||||
<td align="center" valign="top">Yes</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<h3>Examples</h3>
|
||||
<p>Generate a launcher for the "Swing Set" demo, bundling the JRE defined by the <tt>JAVA_HOME</tt>
|
||||
environment variable with the resulting executable.</p>
|
||||
<pre>
|
||||
<-- Import environment variables -->
|
||||
<property environment="env"/>
|
||||
|
||||
<-- Define the appbundler task -->
|
||||
<taskdef name="bundleapp" classname="com.oracle.appbundler.AppBundlerTask"/>
|
||||
|
||||
<-- Create the app bundle -->
|
||||
<target name="bundle-swingset" depends="package">
|
||||
<bundleapp outputdirectory="."
|
||||
name="SwingSet2"
|
||||
displayname="SwingSet 2"
|
||||
identifier="com.oracle.javax.swing.SwingSet2"
|
||||
shortversion="1.0"
|
||||
applicationCategory="public.app-category.developer-tools"
|
||||
mainclassname="SwingSet2">
|
||||
<runtime dir="${env.JAVA_HOME}"/>
|
||||
<classpath file="/Library/Java/Demos/JFC/SwingSet2/SwingSet2.jar"/>
|
||||
<option value="-Dapple.laf.useScreenMenuBar=true"/>
|
||||
</bundleapp>
|
||||
</target>
|
||||
</pre>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
After Width: | Height: | Size: 116 KiB |
|
After Width: | Height: | Size: 357 KiB |
|
After Width: | Height: | Size: 234 B |
|
After Width: | Height: | Size: 352 B |
|
After Width: | Height: | Size: 238 B |
|
After Width: | Height: | Size: 350 B |
|
After Width: | Height: | Size: 261 B |
|
After Width: | Height: | Size: 475 B |
|
After Width: | Height: | Size: 271 B |
|
After Width: | Height: | Size: 505 B |
|
After Width: | Height: | Size: 203 B |
|
After Width: | Height: | Size: 354 B |
|
After Width: | Height: | Size: 651 B |
|
After Width: | Height: | Size: 295 KiB |
|
After Width: | Height: | Size: 18 KiB |
|
After Width: | Height: | Size: 929 B |
|
After Width: | Height: | Size: 48 KiB |
|
After Width: | Height: | Size: 2.5 KiB |
|
After Width: | Height: | Size: 4.5 KiB |
|
After Width: | Height: | Size: 138 KiB |
|
After Width: | Height: | Size: 6.8 KiB |
|
After Width: | Height: | Size: 337 B |
|
After Width: | Height: | Size: 623 B |
|
After Width: | Height: | Size: 325 B |
|
After Width: | Height: | Size: 796 B |
|
After Width: | Height: | Size: 348 B |
|
After Width: | Height: | Size: 610 B |
|
After Width: | Height: | Size: 296 B |
|
After Width: | Height: | Size: 478 B |
|
After Width: | Height: | Size: 303 B |
|
After Width: | Height: | Size: 540 B |
|
After Width: | Height: | Size: 286 B |
|
After Width: | Height: | Size: 461 B |
|
After Width: | Height: | Size: 304 B |
|
After Width: | Height: | Size: 813 B |
|
After Width: | Height: | Size: 398 B |
|
After Width: | Height: | Size: 761 B |
|
After Width: | Height: | Size: 256 B |
|
After Width: | Height: | Size: 585 B |
|
After Width: | Height: | Size: 394 B |
|
After Width: | Height: | Size: 657 B |
|
After Width: | Height: | Size: 1.1 KiB |
|
After Width: | Height: | Size: 1.1 KiB |
|
After Width: | Height: | Size: 1.0 KiB |
|
After Width: | Height: | Size: 426 B |
|
After Width: | Height: | Size: 876 B |
|
After Width: | Height: | Size: 431 B |
|
After Width: | Height: | Size: 885 B |
|
After Width: | Height: | Size: 529 B |
|
After Width: | Height: | Size: 1.2 KiB |
|
After Width: | Height: | Size: 431 B |
|
After Width: | Height: | Size: 885 B |
|
After Width: | Height: | Size: 422 B |
|
After Width: | Height: | Size: 876 B |
|
After Width: | Height: | Size: 700 B |
|
After Width: | Height: | Size: 1.2 KiB |
|
After Width: | Height: | Size: 700 B |
|
After Width: | Height: | Size: 1.2 KiB |
|
After Width: | Height: | Size: 624 B |
|
After Width: | Height: | Size: 1.2 KiB |
|
After Width: | Height: | Size: 700 B |
|
After Width: | Height: | Size: 1.2 KiB |
|
After Width: | Height: | Size: 700 B |
|
After Width: | Height: | Size: 1.2 KiB |
|
After Width: | Height: | Size: 362 B |
|
After Width: | Height: | Size: 449 B |
|
After Width: | Height: | Size: 903 B |
|
After Width: | Height: | Size: 473 B |
|
After Width: | Height: | Size: 938 B |
|
After Width: | Height: | Size: 581 B |
|
After Width: | Height: | Size: 1.2 KiB |
|
After Width: | Height: | Size: 478 B |
|
After Width: | Height: | Size: 943 B |
|
After Width: | Height: | Size: 468 B |
|
After Width: | Height: | Size: 933 B |
|
After Width: | Height: | Size: 431 B |
|
After Width: | Height: | Size: 890 B |
|
After Width: | Height: | Size: 437 B |
|
After Width: | Height: | Size: 894 B |
|
After Width: | Height: | Size: 533 B |
|
After Width: | Height: | Size: 1.2 KiB |
|
After Width: | Height: | Size: 437 B |
|
After Width: | Height: | Size: 894 B |
|
After Width: | Height: | Size: 428 B |
|
After Width: | Height: | Size: 886 B |
|
After Width: | Height: | Size: 386 B |
|
After Width: | Height: | Size: 831 B |
|
After Width: | Height: | Size: 386 B |
|
After Width: | Height: | Size: 837 B |
|
After Width: | Height: | Size: 484 B |
|
After Width: | Height: | Size: 1.1 KiB |
|
After Width: | Height: | Size: 386 B |