Fixed single model genxml pre-processing workaround to enable single system definition builds.
authorthomase
Tue, 23 Jun 2009 15:13:21 +0100
changeset 217 d5045b96f54a
parent 216 36d82a2f1f92
child 218 0abd2abf1964
Fixed single model genxml pre-processing workaround to enable single system definition builds. Added "tools" and "adaptation" to the list of packages to be prepended by sf where needed.
sf-platform/build.xml
--- a/sf-platform/build.xml	Mon Jun 22 17:35:46 2009 +0100
+++ b/sf-platform/build.xml	Tue Jun 23 15:13:21 2009 +0100
@@ -35,7 +35,7 @@
 	
 	<else>
 	    <!-- TODO use better method to export or wait for GenXML fix?-->
-        <copy file="${build.output.dir}\build\input\*_system_model_os.xml"
+        <copy file="${build.output.dir}\build\input\0000000000000001_system_model_os.xml"
         tofile="${canonical.sysdef.file}" failonerror="false" verbose="true"/>
 
 	    <!-- TODO targets for single sysdef build -->
@@ -71,6 +71,11 @@
                         <replaceregex pattern="mrp=&quot;mw" replace="mrp=&quot;sf\\\\mw" flags="gi"/>
                         <replaceregex pattern="bldFile=&quot;app" replace="bldFile=&quot;sf\\\\app" flags="gi"/>
                         <replaceregex pattern="mrp=&quot;app" replace="mrp=&quot;sf\\\\app" flags="gi"/>
+                        <replaceregex pattern="bldFile=&quot;tools" replace="bldFile=&quot;sf\\\\tools" flags="gi"/>
+                        <replaceregex pattern="mrp=&quot;tools" replace="mrp=&quot;sf\\\\tools" flags="gi"/>
+                        <replaceregex pattern="bldFile=&quot;adaptation" replace="bldFile=&quot;sf\\\\adaptation" flags="gi"/>
+                        <replaceregex pattern="mrp=&quot;adaptation" replace="mrp=&quot;sf\\\\adaptation" flags="gi"/>
+                        
                         <expandproperties/>
                     </filterchain>
                     <mapper>