diff -r 7685cec9fd3c -r f2ddfa555b0f doc/api/helium/target-sf-model-from-project.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/doc/api/helium/target-sf-model-from-project.html Fri Sep 11 11:54:49 2009 +0100 @@ -0,0 +1,226 @@ + + + + + + + + + + + + + + + + + Target sf-model-from-project + + + + + + + + + + + + + + + + + +
+Helium API + +
+ + +
+ + + +

Target sf-model-from-project

+ +

Location

+

D:\maintools\sf-config\common\build.xml:396: +

+ +

Conditional execution

+

No conditions on target execution.

+
+ +

Description

+

+

+

+


+ + +

Target external Dependency

+

+ + + + + + + +
Name
perl
+

+ + +

Property dependencies

+ + +

+ + + + + + + + + + + + + +
NameEdit status
User editable properties
build.driverecommended
Internal properties
+

+ +
+ + +

Target dependencies

+

+sf-model-from-project 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>
+
+ + +
+ + + + + + + + + + + + + +
+Helium API + +
+ + + Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). All rights reserved. License: http://www.eclipse.org/legal/epl-v10.html + + + + +