sf-package/build.xml
changeset 176 918c078f18db
parent 171 a6f2b8d175d0
child 177 734d44a79c17
--- a/sf-package/build.xml	Mon Apr 27 19:27:53 2009 +0100
+++ b/sf-package/build.xml	Mon Apr 27 19:29:53 2009 +0100
@@ -24,6 +24,12 @@
       <hlm:arg name="command" value="WHAT" />
     </hlm:argSet>
     
+    <hlm:argSet id="sbs.main.check.sbs.var"> 
+      <hlm:arg name="config" value="${sf.spec.sbs.config}" />
+      <hlm:arg name="enable-filter" value="${sf.spec.logs.raptorfilter.enable}" />
+      <hlm:arg name="command" value="--check" />
+    </hlm:argSet>
+    
     <hlm:argSet id="sbs.main.clean.sbs.var">
       <hlm:arg name="config" value="${sf.spec.sbs.config}" />
       <hlm:arg name="enable-filter" value="${sf.spec.logs.raptorfilter.enable}" />
@@ -143,6 +149,17 @@
       <reference refid="sf.spec.system.definition.files" torefid="system.definition.files" />
     </antcall>
     
+    <!-- OS check -->
+    <antcall target="compile-main" inheritAll="false" inheritRefs="true">
+      <param name="build.system" value="${sf.spec.build.system}" />
+      <!-- param name="compile.sysdef.dtd.stub" value="${sf.spec.os.sysdef.dtd}" / -->
+      <!-- param name="sysdef.configurations.list" value="${sf.spec.os.sysdef.clean.configurations.list}" / -->
+      <!-- param name="sf.spec.sysdef.version" value ="${sf.spec.os.sysdef.version}"/ -->
+      <reference refid="sbs.main.check.sbs.var" torefid="sbs.var" />
+      <reference refid="sbs.fullbuild.options" torefid="sbs.make.options" />
+      <reference refid="sf.spec.system.definition.files" torefid="system.definition.files" />
+    </antcall>
+    
     <!-- antcall target="sf-list-dir" inheritAll="false">
       <param name="sf.list.name" value="post-build-main"/>
     </antcall -->