Parameter
|
Type
|
Required
|
Purpose
|
jarfile
|
file
|
yes
|
The name of the JAR file to optimize.
|
jadfile
|
file
|
yes
|
The name of the JAD file that accompanies the JAR file. If the
source JAR file is overwritten (no "tojarfile" being specified),
the "MIDlet-Jar-Size" key in the JAD is updated when the task is
finished.
|
tojarfile
|
file
|
no
|
The name of the resulting, optimized JAR file. Defaults to
the original JAR file, if not specified.
|
bootclasspath
|
path
|
no
|
Specifies the basic system classes that are needed by the
application. Defaults to the MIDP API contained
in ${wtk.home}/lib/midpapi.zip, or ${wtk.midpapi}, if specified.
|
classpath
|
path
|
no
|
Specifies additional libraries that are needed by the application,
but not part of the JAR file (for example libraries that are already
available on a certain phone).
|
classpathref
|
string
|
no
|
A reference to a classpath defined elsewhere.
|
bootclasspathref
|
string
|
no
|
A reference to a bootclasspath defined elsewhere.
|
if
|
String
|
no
|
Provides fine-grained control over task execution based on a
property definition. The task will only be executed if the
given property is defined.
|
unless
|
String
|
no
|
Provides fine-grained control over task execution based on a
property definition. The task will only be executed if the
given property is not defined.
|