library

Description

Defines a Library 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
vendorName of the company that owns the project. No; defaults to value of the same attribute in parent "workspace" task
versionProject version. No; defaults to value of the same attribute in parent "workspace" task
descriptionDescription of the project. No; defaults to empty string
runonstartupIf "true" - the application starts on device starts No; defaults to false
startuptierStart 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.
outputSpecifies the name of the output .cod file. Shall not contain path, just plain name. No; defaults to project name.
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

Nested elements

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

    Library project defined in JDP file.
    <library src="library_project.jdp"/>

    Library project definition loaded from JDP file. 

    Library project defined in Ant task.
    <library src="library_project.jdp"
    vendor="Company Name"
    version="0.1"
    description="Project description"
    runonstartup="true"
    startuptier="7"
    output="filename"
    options="-quiet"
    update="true"
    build="true" />

    Library project attributes defined in Ant task. 


    Copyright © 2005-2006 eTaras.com. All rights Reserved.