Defines a CLDC Application 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 |
vendor | Name of the company that owns the project. | No; defaults to value of the same attribute in parent "workspace" task |
version | Project version. | No; defaults to value of the same attribute in parent "workspace" task |
description | Description of the project. | No; defaults to empty string |
arguments | Arguments which will be passed to "main" method of the application. | No; defaults to empty string |
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 |
runonstartup | If "true" - the application starts on device starts | No; defaults to false |
ribbonposition | Preferred position of the application icon | No; defaults to "0" (none) |
startuptier | Start priority in relation to other applications. | No; defaults to "7", the lowest priority. This field is used if the "runonstartup" attribute is defined to true. |
output | Specifies the name of the output .cod file. Shall not contain path, just plain name. | No; defaults to project name. |
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 |
<cldc src="cldc_project.jdp"/> |
CLDC Application project definition loaded from JDP file.
CLDC Application project defined in Ant task.<cldc src="cldc_project.jdp" title="Application title" vendor="Company Name" version="0.1" description="Project description" arguments="" systemmodule="true" runonstartup="true" startuptier="7" output="filename" options="-quiet" update="true" build="true" /> |
CLDC Application project attributes defined in Ant task.
Copyright © 2005-2006 eTaras.com. All rights Reserved.