<ANTENNA/>

Antenna

An Ant-to-End Solution For Wireless Java

Version 1.2.1

(c) 2002-2010


Erik Wetterberg
Sourceforge project


News | Overview | Download | Setup | JAD | Build | Package | MakePRC | RAPC
Run | Preverify | Obfuscate | SmartLink | Preprocess | Deploy | Sign | History |

MakePRC

The WtkMakePrc task converts an existing JAR/JAD file combination into a Palm OS PRC file that can be used with either MIDP for Palm OS or the Websphere Micro Environment for PalmOS 5.x upwards. It works in two possible configurations, with the "converter" attribute deciding which one is chosen:

The task provides the following parameters:

Parameter Type Required Purpose
jarfile file at least one of these The JAR file from which to read classes.
jadfile file The JAD file that contains MIDlet definitions.
prcfile file no The Palm OS PRC file to create. Defaults to the JAR file, but with the ".prc" extension.
converter string no The converter to use for generating the PRC file. Possible values are "wtk", which results in Sun's WTK converter being used, or "wme", which calls the converter from the IBM WME. Unless the property "wtk.wme.home" is defined, the WTK converter is the default option, so there's normally no need to change this property.
icon file no An icon to use for the application.
smallicon file no A small icon to use for the application.
name string no The name of the application to display on the Palm.
longname string no A longer name for the application to display on the Palm.
creator string only if type other than "Data" A 4-byte creator ID to use for the application. For non-experimental products, you need to register with PalmSource first.
type string no A type to use for the application. Defaults to "Data".
highres boolean no (WME only) Set to "true" to support High-Resolution mode (320*320, 320*480).
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.