a.binder 8 years ago
parent
commit
7ae5d025f7

+ 29 - 0
SE/schema/ant-url_action/default_db.bi_audit_energa_rum_kontrahenci_powiazania/bi_audit_energa_rum_kontrahenci_powiazania/bi_audit_energa_rum_kontrahenci_powiazania.xsl

@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+    xmlns:xs="http://www.w3.org/2001/XMLSchema"
+    exclude-result-prefixes="xs"
+    version="2.0">
+    
+    <xsl:output indent="yes" omit-xml-declaration="yes"/>
+    <xsl:strip-space elements="*"/>
+    
+
+    <xsl:template match="*" mode="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_COLUMN.mount_point">
+        <xsl:apply-templates mode="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_COLUMN.mount_point"/>
+    </xsl:template>
+    
+    <xsl:template match="procesy5_config" mode="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_COLUMN.mount_point">
+        <xsl:apply-templates mode="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_COLUMN.mount_point"/>
+    </xsl:template>
+    
+    
+    
+    <xsl:template match="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_COLUMN" mode="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_COLUMN.mount_point">
+        <xsl:value-of select="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_COLUMN"/>
+    </xsl:template>
+    
+    
+    <xsl:template match="*|text()|comment()" mode="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_COLUMN.mount_point"/>
+    
+    
+</xsl:stylesheet>

+ 41 - 1
SE/schema/ant-url_action/default_db.bi_audit_energa_rum_kontrahenci_powiazania/bi_audit_energa_rum_kontrahenci_powiazania/build_bi_audit_energa_rum_kontrahenci_powiazania.xml

@@ -41,6 +41,10 @@
     
     <property name="dita.dir" location="/Library/Server/Web/Data/Sites/Default/SE/stuff/dita-ot-2.3.3/bin/dita"/>
     
+    
+    <property name="bi_audit_energa_rum_kontrahenci_powiazania.xsl" value="${basedir}/bi_audit_energa_rum_kontrahenci_powiazania.xsl"/>
+    
+      
   
     <target name="install_folders">
         <mkdir dir="${temp}"/>
@@ -57,7 +61,43 @@
     </target>
    
    
-    <target name="bi_audit_energa_rum_kontrahenci_powiazania"  depends="check_default_db_xml_cache.public_default" description="URL_TASK Wygeneruj druk bi_audit_energa_rum_kontrahenci_powiazania">
+   
+    <target name="read_build_properties" >
+        <ant antfile="${build_CRM_PROCES_tree}" target="read_build_properties"/> <!-- korzystamy z propoerties ext -->
+    </target>
+   
+    <target name="bi_audit_energa_rum_kontrahenci_powiazania"  depends="check_default_db_xml_cache.public_default,read_build_properties" description="URL_TASK Wygeneruj druk bi_audit_energa_rum_kontrahenci_powiazania">
+        <tempfile property="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_COLUMN.mount_point.txt" prefix="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_COLUMN.mount_point" destdir="${temp}" suffix=".txt"/>
+        <loadfile property="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_COLUMN.mount_point" srcfile="${BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_COLUMN.mount_point.txt}"/>
+        <echo> BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_COLUMN.mount_point ${BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_COLUMN.mount_point} </echo>
+        
+        
+        
+        <xslt basedir="${basedir}" style="${bi_audit_energa_rum_kontrahenci_powiazania.xsl}" in="${procesy5_config.folders.properties.xml}"  destdir="${WPS_Functions.temp}" out="${BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_COLUMN.mount_point.txt}" >
+            <factory name="net.sf.saxon.TransformerFactoryImpl">    
+                <attribute name="http://saxon.sf.net/feature/xinclude-aware" value="true"/>
+                <attribute name="http://saxon.sf.net/feature/initialMode" value="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_COLUMN.mount_point"/>
+            </factory>
+            <classpath location="/opt/local/share/java/saxon9he.jar"/>
+            <param name="WPS_Functions" expression="${WPS_Functions}"/>
+        </xslt>
+        
+        
+        <!-- ${procesy5_config.folders.properties.xml} - read folder 
+        
+        <BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_COLUMN>
+            <mount_point>BI_audit_POWIAZANIA</mount_point>
+            <share_point>//biuro.biall-net.pl/BI_audit_POWIAZANIA</share_point>
+            <www_share_point>BI_audit_POWIAZANIA</www_share_point>
+            <LOOKAT_FOLDER_LOOK_GLOB>BI_audit_POWIAZANIA.&lt;VARNAME&gt;</LOOKAT_FOLDER_LOOK_GLOB>
+            <LOOKAT_FOLDER_VARNAME>ID</LOOKAT_FOLDER_VARNAME>
+            <DEST_FOLDER_FORMAT>BI_audit_POWIAZANIA.&lt;VARNAME1&gt;</DEST_FOLDER_FORMAT>
+            <DEST_FOLDER_VARNAME1>ID</DEST_FOLDER_VARNAME1>
+         </BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_COLUMN>
+        
+        -->
+        
+        
         
         <ant antfile="${build_CRM_PROCES_tree}" target="default_db:PROCES_INIT:tree:dita" inheritall="false">
             <property name="uuid" value="${uuid}"/>