overview | deprecated | properties-table | index | help
| Helium API
prev next | frames no frames

## Target sf-model-from-project

Location

`d:\maintools\sf-config\common\build.xml:406:`

Conditional execution

No conditions on target execution.

### Description

### Target external Dependency

Name
perl

### Property dependencies

Name | Edit status
--- | ---
User editable properties
`build.drive` | recommended
Internal properties

### Target dependencies

### Source code

        <target name="sf-model-from-project">
        <if>
          <isset property="sf.spec.systemdefinition.source"/>
          <then>
            <echo message="Using ${sf.spec.systemdefinition.source} as model file"/>
            <echo message="Copying to ${build.drive}/definition.xml"/>
            <copy file="${sf.project.location}/${sf.spec.systemdefinition.source}" tofile="${build.drive}${sf.spec.systemdefinition.location}"/>
          </then>
          <else>
            <!-- Collate the system definition from the packages listed in sources.csv -->
            <echo message="Building system model from ${sf.spec.sourcesync.sourcespecdir}/${sf.spec.sourcesync.sourcespecfile}"/>
            <exec executable="perl" dir="${build.drive}/" output="${build.drive}${sf.spec.systemdefinition.location}" logError="true" failonerror="true">
              <arg value="${sf.common.config.dir}/tools/csvToSysDef.pl"/>
              <arg value="${sf.spec.sourcesync.sourcespecdir}/${sf.spec.sourcesync.sourcespecfile}"/>
              <arg value="${sf.config.dir}/../build/config/3k"/>
            </exec>
          </else>
        </if>
      </target>

overview | deprecated | properties-table | index | help
| Helium API
prev next | frames no frames

Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). All rights reserved. License: http://www.eclipse.org/legal/epl-v10.html