midletentrypoint

Description

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. 

Parameters

AttributeDescriptionRequired
srcThe 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
titleProject title, which user will see on the device. No; defaults to project name
projectName of the project for which this project is an entry point Yes
midletclassName of main class. Yes
systemmoduleIf "true" - the project is a system module (i.e. running in the background with no icon on Home screen) No; defaults to false
ribbonpositionPreferred position of the application icon No; defaults to "0" (none)
optionsOptions passed to RAPC compiler. No; defaults to empty string
updateIf "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
buildIf "true" - project needs to be built. No; defaults to value of the same attribute in parent "workspace" task
alxIf attribute value is "true" - ALX file will be generated for this project. No; defaults to false
titleresourcebundledescriptionApplication 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
titleresourcebundlekeyApplication 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
titleresourcebundlepathResource header file containing title resource (.rrh file). No

Nested elements

This node can nest following elements:
  • files. This elements is optional
  • icons. This elements is optional
  • Examples

    Alternate MIDlet Entry Point project defined in JDP file.
    <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.