build.STRUCTURE.xml 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project basedir="./../../../../." name="STRUCTURE" default="default"
  3. xmlns:default_db__x3A__STRUCTURE="https://biuro.biall-net.pl/wfs/default_db/table/STRUCTURE.xsd"
  4. >
  5. <include file="../../build.ant-object.xml" as="ant-object"/>
  6. <description>2019 do podstawowych akcji triggerowych i porzadku</description>
  7. <property name="default_db__x3A__STRUCTURE.basedir" location="${default_db.ant-object.basedir}/default_db.STRUCTURE/STRUCTURE"/>
  8. <property name="default_db__x3A__STRUCTURE.targetNamespace" value="https://biuro.biall-net.pl/wfs/default_db/table/STRUCTURE.xsd"/>
  9. <property name="default_db__x3A__STRUCTURE.STRUCTURE.xsl" location="${default_db__x3A__STRUCTURE.basedir}/STRUCTURE.xsl"/>
  10. <target name="validate.basedir">
  11. <condition property="default_db__x3A__STRUCTURE.basedir.validate" value="default_db__x3A__STRUCTURE.basedir.validate - OK">
  12. <available file="${default_db__x3A__STRUCTURE.basedir}"/>
  13. </condition>
  14. <fail unless="default_db__x3A__STRUCTURE.basedir.validate">Incorrect default_db__x3A__STRUCTURE.basedir = ${default_db__x3A__STRUCTURE.basedir}</fail>
  15. <echo>
  16. #12 $default_db__x3A__STRUCTURE.basedir.validate = ${default_db__x3A__STRUCTURE.basedir.validate}
  17. </echo>
  18. </target>
  19. <macrodef name="available">
  20. <element name="available"/>
  21. <attribute name="file"/>
  22. <sequential>
  23. <local name="temp.available.validate"/>
  24. <condition property="temp.available.validate" value="@{file} - OK EXISTS">
  25. <available file="@{file}"/>
  26. </condition>
  27. <fail unless="temp.available.validate">
  28. #14 BRAK OCZEKIWANEGO PLIKU @{file}
  29. </fail>
  30. </sequential>
  31. </macrodef>
  32. <extension-point name="default" depends="validate.basedir"/>
  33. </project>