| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889 |
- <?xml version="1.0" encoding="UTF-8"?>
- <project xmlns:vc="http://www.w3.org/2007/XMLSchema-versioning"
- xmlns:p5dkp="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/dita_kosztorys_projektowy/p5dkp.xsd"
- xmlns:p5bws="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/WPS_Functions.xsd"
- xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd"
- xmlns:p5dg="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/documentation_generator/documentation_generator.xsd"
- xmlns:ditaarch="http://dita.oasis-open.org/architecture/2005/"
- xmlns:p5ant="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache.public/ant/ant.xsd"
- xmlns:d2a="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/dita-to-ant/d2a.xsd"
- basedir="../../."
- default="html2image"
- name="html2image">
- <include file="build_html2image.dita.PRODUCT.xml"
- as="PRODUCT"/>
-
-
-
- <target name="html2image"><!--#38 syntaxdiagram mode="d2a:new_ant_project.child.task.bash"-->
- <input addproperty="html2image.module.bocian-graph-to-html.INPUT" message="podaj wejsciowy html html2image.module.bocian-graph-to-html.INPUT" defaultvalue="${html2image.module.bocian-graph-to-html.example-graph-api-id-12.html}"/> <!-- module.bocian-graph-to-html.example-graph-api-id-12.html -->
- <input addproperty="html2image.application.google_chrome.screenshot.png.OUTPUT" message="podaj html2image.application.google_chrome.screenshot.png.OUTPUT" defaultvalue="${html2image.temp}/screenshot.png"/>
- <!--<property name="html2image.wymagania.funkcje.output.dir.screenshot" location="${html2image.wymagania.funkcje.output.dir}/screenshot.png"/>-->
-
- <tempfile property="html2image.application.google_chrome.screenshot.png.OUTPUT.temp" prefix="html2image.application.google_chrome.screenshot.png.OUTPUT.temp" suffix=".touch" destdir="${html2image.temp}"/>
- <echo>#211 stworzylem html2image.application.google_chrome.screenshot.png.OUTPUT.temp = ${html2image.application.google_chrome.screenshot.png.OUTPUT.temp}</echo>
- <property name="html2image.tempfile.dir" value="${html2image.application.google_chrome.screenshot.png.OUTPUT.temp}_dir"/>
- <delete file="${html2image.application.google_chrome.screenshot.png.OUTPUT.temp}"/>
- <mkdir dir="${html2image.application.google_chrome.screenshot.png.OUTPUT.temp}"/>
- <mkdir dir="${html2image.tempfile.dir}"/>
- <property name="html2image.application.google_chrome.screenshot.png.OUTPUT.temp.screenshot.png" location="${html2image.tempfile.dir}/screenshot.png"/>
-
- <echo>
-
-
- $html2image.tempfile.dir (/screenshot.png) = ${html2image.tempfile.dir}
- #29 $html2image.application.google_chrome.screenshot.png.OUTPUT.temp.screenshot.png = ${html2image.application.google_chrome.screenshot.png.OUTPUT.temp.screenshot.png}
-
- </echo>
-
- <mkdir dir="${html2image.temp}"/> <!-- todo another task -->
-
- <!--
- TO IMPLEMENT TODO
- <prereq id="prereq_hvb_k4v_n2b">
- <syntaxdiagram id="syntaxdiagram_d1k_4pv_n2b">
- <title>ustalenie pliku wyjściowego</title>
- </syntaxdiagram>
- <!-\-<data>
- <userinput/><systemoutput><varname>$Output_DIR</varname></systemoutput></data>-\->
- <data keyref="wymagania.funkcje.output">
- <filepath>/Users/a.binder/Download/</filepath>
- <apiname keyref="wymagania.funkcje.output"/></data>
- </prereq>-->
-
- <condition property="aviable">
- <available file="${html2image.application.google_chrome.install_dest_on_macOS}"></available>
- </condition>
-
- <echo> #35 aviable = ${aviable}</echo>
-
- <echo>#60 will run ${html2image.application.google_chrome.install_dest_on_macOS}
- ${html2image.application.google_chrome.--headless}
- ${html2image.application.google_chrome.--disable-gpu}
- ${html2image.application.google_chrome.--screenshot}
- ${html2image.application.google_chrome.--window-size}
- ${html2image.module.bocian-graph-to-html.INPUT}
- </echo>
-
- <exec executable="${html2image.application.google_chrome.install_dest_on_macOS}"
- dir="${html2image.tempfile.dir}">
- <arg value="-c"/>
- <arg value="--no-sandbox"/>
- <arg value="${html2image.application.google_chrome.--headless}"/>
- <arg value="${html2image.application.google_chrome.--disable-gpu}"/>
- <arg value="${html2image.application.google_chrome.--screenshot}"/>
- <arg value="${html2image.application.google_chrome.--window-size}"/>
- <arg path="${html2image.module.bocian-graph-to-html.INPUT}"/>
- </exec>
-
- <!-- respond file to requested position -->
- <move file="${html2image.application.google_chrome.screenshot.png.OUTPUT.temp.screenshot.png}" tofile="${html2image.application.google_chrome.screenshot.png.OUTPUT}"/>
- <delete dir="${html2image.application.google_chrome.screenshot.png.OUTPUT.temp}" verbose="yes"/>
- <delete file="${html2image.module.bocian-graph-to-html.INPUT}" verbose="yes"/>
-
-
- </target>
-
-
- </project>
|