common/build.xml
changeset 267 779cc88ed845
parent 263 55c062276b22
child 268 47a6624f927d
equal deleted inserted replaced
266:f1baeb3f075f 267:779cc88ed845
   481                 </exec>
   481                 </exec>
   482             </then>
   482             </then>
   483         </if>
   483         </if>
   484     </target>
   484     </target>
   485 
   485 
   486     <target name="sf-build-noprep" depends="sf-truclean,sf-compile,sf-postbuild">
   486     <target name="sf-build-noprep" depends="sf-truclean,sf-model-from-project,sf-compile,sf-postbuild">
   487         <echo>[SF-BUILD-NOPREP]</echo>
   487         <echo>[SF-BUILD-NOPREP]</echo>
   488     </target>
   488     </target>
   489     
   489     
   490     <target name="create-canonical-sysdef-file">
   490     <target name="create-canonical-sysdef-file">
   491         <if>
   491         <if>
   516         <ant antfile="${sf.common.config.dir}/generated/truclean.ant.xml"/>
   516         <ant antfile="${sf.common.config.dir}/generated/truclean.ant.xml"/>
   517       </then>
   517       </then>
   518       <else>
   518       <else>
   519         <echo message="Skipping truclean step."/>
   519         <echo message="Skipping truclean step."/>
   520       </else>
   520       </else>
       
   521     </if>
       
   522   </target>
       
   523   
       
   524   <target name="sf-model-from-project">
       
   525     <if>
       
   526       <isset property="sf.spec.systemdefinition.source"/>
       
   527       <then>
       
   528         <echo message="Using ${sf.spec.systemdefinition.source} as model file"/>
       
   529         <echo message="Copying to ${build.drive}/definition.xml"/>
       
   530         <copy file="${sf.project.location}/${sf.spec.systemdefinition.source}" tofile="${build.drive}/definition.xml"/>
       
   531       </then>
   521     </if>
   532     </if>
   522   </target>
   533   </target>
   523     
   534     
   524     <target name="sf-compile">
   535     <target name="sf-compile">
   525         <!-- TODO: add here assigments to raptor-related ant references -->
   536         <!-- TODO: add here assigments to raptor-related ant references -->