Defines an Alternate MIDlet Entry Point project.
Project definition can be loaded from the JDP file as well as with task attributes. If defined JDP file exists, task loads the project attributes from this file. Task attributes have higher priority and override project attributes defined in JDP file.
Attribute | Description | Required |
src | The file containing project definition. If defined file exists, the task loads project attributes from this file, otherwise this file location will be used to define project home directory. | Yes |
title | Project title, which user will see on the device. | No; defaults to project name |
project | Name of the project for which this project is an entry point | Yes |
midletclass | Name of main class. | Yes |
systemmodule | If "true" - the project is a system module (i.e. running in the background with no icon on Home screen) | No; defaults to false |
ribbonposition | Preferred position of the application icon | No; defaults to "0" (none) |
options | Options passed to RAPC compiler. | No; defaults to empty string |
update | If "true" - the task will update the .JDP file defined in the "src" attribute. As a result, project properties in .JDP file will be rewritten by actual properties of this project. For example, "[Files]" collection defined in .JDP file will be rewritten by files defined in nested element "files". | No; defaults to false |
build | If "true" - project needs to be built. | No; defaults to value of the same attribute in parent "workspace" task |
alx | If attribute value is "true" - ALX file will be generated for this project. | No; defaults to false |
titleresourcebundledescription | Application Description resource key. If not provided, the description field is used. titleresourcebundlepath attribute shall specify correct .rrh file where application description resource key present. | No |
titleresourcebundlekey | Application Title resource key. If not provided, the title field is used. titleresourcebundlepath attribute shall specify correct .rrh file where application title resource key present. | No |
titleresourcebundlepath | Resource header file containing title resource (.rrh file). | No |
<midletentrypoint src="midletentrypoint_project.jdp"/> |
Alternate MIDlet Entry Point project definition loaded from JDP file.
Alternate MIDlet Entry Point project defined in Ant task.<midlet src="midletentrypoint_project.jdp" title="Application title" project="mainproject" midletclass="com.company.midlet" systemmodule="true" options="-quiet" update="true" build="true" /> |
Alternate MIDlet Entry Point project attributes defined in Ant task.
Copyright © 2005-2006 eTaras.com. All rights Reserved.