a.binder 8 år sedan
förälder
incheckning
d3ab6749a6
1 ändrade filer med 18 tillägg och 18 borttagningar
  1. 18 18
      SE/schema/build.xml

+ 18 - 18
SE/schema/build.xml

@@ -61,7 +61,7 @@
         <property name="remote.default_db.in7_dziennik_koresp" location="${remote.ant-url_action}/default_db.in7_dziennik_koresp"/>
         <property name="remote.default_db.bi_audit_energa_rum_kontrahenci_powiazania" location="${remote.ant-url_action}/default_db.bi_audit_energa_rum_kontrahenci_powiazania"/>
     
-    <property name="table.local" location="${public_html}/table"/>
+    <property name="table.local" location="${basedir}/table"/>
     <property name="table.remote" location="${remote}/table"/>
     
     
@@ -76,7 +76,7 @@
         <property name="external_schema" value="/public_html/external_schema"/><!-- ignore schemas to be imported/transformed locally -->
         <property name="external_schema_id_namespace_prefix" value="/public_html/external_schema_id_namespace_prefix"/><!-- ingored but to parse schemas to be imported/transformed locally -->
         
-        <property name="external_schema_table.path" value="${public_html}/external_schema_table"/><!-- transformed to tables from external_schema_id_namespace_prefix to be set @id  TODO use it on recurse_ant - it is now set manually-->
+    <property name="external_schema_table.path" value="${basedir}/external_schema_table"/><!-- transformed to tables from external_schema_id_namespace_prefix to be set @id  TODO use it on recurse_ant - it is now set manually-->
         <property name="vrtfNamespaces.xml" value="${transformed.local}/vrtfNamespaces.xml"/>
             <property name="vrtfNamespaces_file" value="${vrtfNamespaces.xml}"/>
         <property name="element_complexType.xml" value="${transformed.local}/element_complexType.xml"/><!-- for build flat schema and tr_map -->
@@ -108,17 +108,17 @@
     <property name="simpleSchema.remote" location="${remote}/default_db.instance.xml/simpleSchema"/>
     
     <!-- module cache -->
-    <property name="build_properties" location="${public_html}/.build_properties" />
-    <property name="build_properties.xml" location="${public_html}/.build_properties.xml" />
+    <property name="build_properties" location="${basedir}/.build_properties" />
+    <property name="build_properties.xml" location="${basedir}/.build_properties.xml" />
     
     
     
     
     <property name="new-schema-with-ID-to-move-and-rename-to-xsd"  location="${transformed.local}/new-schema-with-ID-to-move-and-rename-to-xsd"/>
-    <property name="empty.xml"  location="${public_html}/empty.xml"/>
+    <property name="empty.xml"  location="${basedir}/empty.xml"/>
     <!-- templates -->  
-    <property name="default_db_xml_cache.public" location="${public_html}/default_db_xml_cache.public"/>
-    <property name="default_db_xml_cache" value="${public_html}/default_db_xml_cache"/><!-- xsl Business Objects Transformers -->
+    <property name="default_db_xml_cache.public" location="${basedir}/default_db_xml_cache.public"/>
+    <property name="default_db_xml_cache" value="${basedir}/default_db_xml_cache"/><!-- xsl Business Objects Transformers -->
         <property name="system_cache__resources_tree_generate_xsl_required_occurs_raport" value="${default_db_xml_cache}/system_cache__resources_tree_generate_xsl_required_occurs_raport"/>
         <property name="parse_schema_to_generate_id.xsl" value="${system_cache__resources_tree_generate_xsl_required_occurs_raport}/parse_schema_to_generate_id.xsl" />
         <property name="parse_schema_to_generate_id_raport.xml" value="${transformed.local}/new-schema-with-ID-to-move-and-rename-to-xsd.xml"/>
@@ -159,7 +159,7 @@
             <property name="typespecial_to_ref_final.xml" location="${transformed.local}/typespecial_to_ref_final.xml"/>
             <property name="typespecial_to_ref_final.xml_to_default_db.report.xml" location="${transformed.local}/typespecial_to_ref_final.xml_to_default_db.report.xml"/>
     
-    <property name="default_db.dir" value="${public_html}/default_db"/>
+    <property name="default_db.dir" value="${basedir}/default_db"/>
     <property name="default_db.xml" value="${default_db.dir}/default_db.xsd"/>
     
     <property name="default_db.xml.get_url" value="${TargetNamespaceBindings}/SE/version-git/api.php/xml/xsd/default_db"/> <!-- TODO to be set  -->
@@ -241,7 +241,7 @@
                 <attribute name="http://saxon.sf.net/feature/xinclude-aware" value="true"/>
                 <attribute name="http://saxon.sf.net/feature/initialMode" value="{http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/typespecial_to_ref/typespecial_to_ref.xsd}typespecial_refererences"/>
             </factory>
-            <param name="procesy5_system_schema_collection_dir" expression="${public_html}"/>
+            <param name="procesy5_system_schema_collection_dir" expression="${basedir}"/>
             <param name="cache" expression="refresh"/>
             <param name="default_db.instance.xml" expression="${default_db.instance.xml}"/>
             <param name="default_db.instance.xml.symlink" expression="${default_db.instance.xml.symlink}"/>
@@ -277,7 +277,7 @@
                 <attribute name="http://saxon.sf.net/feature/xinclude-aware" value="true"/>
                 <attribute name="http://saxon.sf.net/feature/initialMode" value="{http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/typespecial_to_ref/typespecial_to_ref.xsd}typespecial_to_ref_final"/>
             </factory>
-            <param name="procesy5_system_schema_collection_dir" expression="${public_html}"/>
+            <param name="procesy5_system_schema_collection_dir" expression="${basedir}"/>
             <param name="cache" expression="refresh"/>
             <param name="default_db.instance.xml" expression="${default_db.instance.xml}"/>
             <param name="default_db.instance.xml.symlink" expression="${default_db.instance.xml.symlink}"/>
@@ -313,7 +313,7 @@
                 <attribute name="http://saxon.sf.net/feature/xinclude-aware" value="true"/>
                 <attribute name="http://saxon.sf.net/feature/initialMode" value="{http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/typespecial_to_ref/typespecial_to_ref.xsd}to_default_db"/>
             </factory>
-            <param name="procesy5_system_schema_collection_dir" expression="${public_html}"/>
+            <param name="procesy5_system_schema_collection_dir" expression="${basedir}"/>
             <param name="cache" expression="refresh"/>
             <param name="default_db.instance.xml" expression="${default_db.instance.xml}"/>
             <param name="default_db.instance.xml.symlink" expression="${default_db.instance.xml.symlink}"/>
@@ -396,14 +396,14 @@
         <mkdir dir="${default_db.instance.xml}"/>
         <mkdir dir="${transformed.local}"/>
         <delete file="${procesy5_system_schema.xml}" failonerror="false"/>
-        <echo> run ${get_all_xsd.xsl} with param procesy5_system_schema_collection_dir=${public_html}; </echo>
+        <echo> run ${get_all_xsd.xsl} with param procesy5_system_schema_collection_dir=${basedir}; </echo>
         
         <xslt basedir="./" style="${get_all_xsd.xsl}"  in="${empty.xml}"  destdir="./" out="${procesy5_system_schema.xml}" >
             <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/default_db_xml_cache/appinfo.xsd}get_all_xsd"/>
             </factory>
-            <param name="procesy5_system_schema_collection_dir" expression="${public_html}"/>
+            <param name="procesy5_system_schema_collection_dir" expression="${basedir}"/>
             <param name="cache" expression="refresh"/>
             <param name="default_db.instance.xml" expression="${default_db.instance.xml}"/>
             <param name="default_db.instance.xml.symlink" expression="${default_db.instance.xml.symlink}"/>
@@ -433,7 +433,7 @@
                     <attribute name="http://saxon.sf.net/feature/xinclude-aware" value="true"/>
                     <attribute name="http://saxon.sf.net/feature/initialMode" value="{http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd}vrtfNamespaces"/>
                 </factory>
-                <param name="procesy5_system_schema_collection_dir" expression="${public_html}"/>
+                <param name="procesy5_system_schema_collection_dir" expression="${basedir}"/>
                 <param name="cache" expression="refresh"/>
                 <param name="default_db.instance.xml" expression="${default_db.instance.xml}"/>
                 <param name="default_db.instance.xml.symlink" expression="${default_db.instance.xml.symlink}"/>
@@ -470,13 +470,13 @@
          <delete file="${procesy5_system_schema.xml}" failonerror="false"/>
          <delete dir="${new-schema-with-ID-to-move-and-rename-to-xsd}"/>
          <echoxml file="${empty.xml}"><empty>empty</empty></echoxml>
-         <echo> run ${get_all_xsd.xsl} with param procesy5_system_schema_collection_dir=${public_html}; </echo>
+           <echo> run ${get_all_xsd.xsl} with param procesy5_system_schema_collection_dir=${basedir}; </echo>
          <xslt basedir="./" style="${get_all_xsd.xsl}"  in="${empty.xml}"  destdir="./" out="${procesy5_system_schema.xml}" >
              <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/default_db_xml_cache/appinfo.xsd}get_all_xsd"/>
              </factory>
-             <param name="procesy5_system_schema_collection_dir" expression="${public_html}"/>
+             <param name="procesy5_system_schema_collection_dir" expression="${basedir}"/>
              <param name="cache" expression="refresh"/>
              <param name="external_schema" expression="${external_schema}"/>
              <param name="external_schema_id_namespace_prefix" expression="${external_schema_id_namespace_prefix}"/>
@@ -519,7 +519,7 @@
                      <attribute name="http://saxon.sf.net/feature/xinclude-aware" value="true"/>
                      <attribute name="http://saxon.sf.net/feature/initialMode" value="{http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd}vrtfNamespaces"/>
                  </factory>
-                 <param name="procesy5_system_schema_collection_dir" expression="${public_html}"/>
+                 <param name="procesy5_system_schema_collection_dir" expression="${basedir}"/>
                  <param name="cache" expression="refresh"/>
                  <param name="default_db.instance.xml" expression="${default_db.instance.xml}"/>
                  <param name="default_db.instance.xml.symlink" expression="${default_db.instance.xml.symlink}"/>
@@ -1426,7 +1426,7 @@
                
            </sequential>
            <sequential>
-             <copy todir="${public_html}">
+               <copy todir="${basedir}">
                  <fileset dir="${new-schema-with-ID-to-move-and-rename-to-xsd}"/>
              </copy>
              <delete dir="${new-schema-with-ID-to-move-and-rename-to-xsd}"/>