a.binder преди 5 години
родител
ревизия
eb34e58544

+ 11 - 1
SE/schema/WPS_Functions/automation_driven/build.automation_driven.PRODUCT.submodule.xml

@@ -18,12 +18,22 @@
    <property  name="automation_driven.submodule.struct.read.xml" location="${automation_driven.submodule.basedir}/automation_driven.submodule.struct.read.xml"/>
    <property  name="automation_driven.submodule.struct.read.xsl" location="${automation_driven.submodule.basedir}/automation_driven.submodule.struct.read.xsl"/>   
    <property  name="automation_driven.submodule.struct.read.xsd" location="${automation_driven.submodule.basedir}/automation_driven.submodule.struct.read.xsd"/>
+  
+   
    <property name="automation_driven.submodule.xsd__struct_files_fix_default.xml" location="${automation_driven.submodule.basedir}/automation_driven.submodule.xsd__struct_files_fix_default.xml"/>
    <property  name="automation_driven.submodule.xsd__struct_files_fix_default.xsl" location="${automation_driven.submodule.basedir}/automation_driven.submodule.xsd__struct_files_fix_default.xsl"/>
+  
+   <property name="automation_driven.submodule.xsd__struct_files_fix_types.xml" location="${automation_driven.submodule.basedir}/automation_driven.submodule.xsd__struct_files_fix_types.xml"/>
+   <property  name="automation_driven.submodule.xsd__struct_files_fix_types.xsl" location="${automation_driven.submodule.basedir}/automation_driven.submodule.xsd__struct_files_fix_types.xsl"/>
+   
    
+   <property  name="automation_driven.submodule.struct.read__communication.xsd" location="${automation_driven.submodule.basedir}/automation_driven.submodule.struct.read__communication.xsd"/>
+   
+   <!--
+   not used
    <property  name="automation_driven.submodule.struct.read.enumerate.xsd" location="${automation_driven.submodule.basedir}/automation_driven.submodule.struct.read.enumerate.xsd"/>
    <property  name="automation_driven.submodule.struct.read.enumerate.xsl" location="${automation_driven.submodule.basedir}/automation_driven.submodule.struct.read.enumerate.xsl"/>
-   
+   -->
    <!--<property  name="automation_driven.submodule.struct.h" location="${automation_driven.submodule.basedir}/___P5_LIB/p5__struct.h"/>-->
    <property  name="automation_driven.submodule.struct.h" location="${automation_driven.submodule.basedir}/_Slave_Ports_Status_struct.h"/>
    

+ 44 - 1
SE/schema/WPS_Functions/automation_driven/build_automation_driven.xml

@@ -172,6 +172,8 @@
    </target>
    
    
+   
+   
    <target name="automation_driven.submodule.xsd__struct_files__fixed" depends="automation_driven.submodule.xsd__struct_files_fix_default.xml"
       description="to initially generate xsd ">
       <echo>#42 generating ${automation_driven.submodule.struct.read.xsd} using ${automation_driven.submodule.xsd}</echo>
@@ -216,7 +218,48 @@
          <xmlcatalog refid="dita-ot.dtd.catalog"/>
       </xslt>
    </target>
-   
+   <target name="automation_driven.submodule.xsd__struct_files_fix_types.xml"
+      ><!-- depends="automation_driven.submodule.xsd__struct_files" -->
+      <echo>#42 generating ${automation_driven.submodule.struct.read.xsd} using ${automation_driven.submodule.xsd}</echo>
+      <xslt basedir="${automation_driven.submodule.basedir}"
+         destdir="${automation_driven.submodule.temp}"
+         force="true"
+         in="${automation_driven.submodule.struct.read.xsd}"
+         out="${automation_driven.submodule.xsd__struct_files_fix_types.xml}"
+         style="${automation_driven.submodule.xsd__struct_files_fix_types.xsl}"> <!-- ${automation_driven.submodule.struct.h} -->
+         <factory name="net.sf.saxon.TransformerFactoryImpl">
+            <attribute name="http://saxon.sf.net/feature/xinclude-aware" value="true"/>
+            <!--<attribute name="http://saxon.sf.net/feature/initialTemplate"
+               value="{http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/automation_driven/automation_driven.submodule.struct.xsd}read.xml"/>-->
+            <attribute name="http://saxon.sf.net/feature/initialMode"
+               value="{http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/automation_driven/automation_driven.submodule.struct.xsd}struct_files_fix_types.xml"/>
+            <attribute name="http://saxon.sf.net/feature/dtd-validation-recoverable"
+               value="true"/>
+         </factory>
+         <param name="{http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/automation_driven/automation_driven.xsd}basedir"
+            expression="${automation_driven.basedir}"/>
+         <param name="{http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/automation_driven/automation_driven.xsd}repository"
+            expression="${automation_driven.repository}"/>
+         <param name="{http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/automation_driven/automation_driven.xsd}temp"
+            expression="${automation_driven.temp}"/>
+         
+         <param name="{http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/automation_driven/automation_driven.submodule.xsd}basedir"
+            expression="${automation_driven.submodule.basedir}"/>
+         <param name="{http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/automation_driven/automation_driven.submodule.xsd}repository"
+            expression="${automation_driven.submodule.repository}"/>
+         <param name="{http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/automation_driven/automation_driven.submodule.xsd}temp"
+            expression="${automation_driven.submodule.temp}"/>
+         
+         <param name="{http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/automation_driven/automation_driven.submodule.struct.xsd}h"
+            expression="${automation_driven.submodule.struct.h}"/>
+         
+         <param name="{http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/automation_driven/automation_driven.submodule.namespaces.xsd}xsd"
+            expression="${automation_driven.submodule.namespaces.xsd}"/>
+         
+         <classpath location="/opt/local/share/java/saxon9he.jar"/>
+         <xmlcatalog refid="dita-ot.dtd.catalog"/>
+      </xslt>
+   </target>
    <!--<target name="automation_driven.submodule.struct.read.enumerate.xsd"
       description="to enumerate unique attributes " depends="automation_driven.submodule.xsd__struct_files">
       <echo>#42 generating ${automation_driven.submodule.struct.read.enumerate.xsd} using ${automation_driven.submodule.struct.read.xsd}</echo>