build.p5dg.PRODUCT.xml 2.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project basedir="../../." name="p5dg.PRODUCT">
  3. <include file="../build.WPS_Functions.PRODUCT.xml" as="WPS_Functions"/>
  4. <condition property="p5dg.PRODUCT.ifdef.parent" taskname="parent.PRODUCT.ifdef">
  5. <isset property="WPS_Functions.PRODUCT.name"/>
  6. </condition>
  7. <property name="p5dg.PRODUCT.name" value="${WPS_Functions.PRODUCT.name}.documentation_generator"/>
  8. <property name="p5dg.PRODUCT.vendor-domain" value="${p5build_SE.PRODUCT.vendor-domain}"/>
  9. <property name="p5dg.basedir" value="${WPS_Functions.basedir}/documentation_generator"/>
  10. <property name="p5dg.repository" value="${p5dg.basedir}/repository"/>
  11. <property name="p5dg.temp" location="${p5dg.basedir}/temp"/>
  12. <property name="p5dg.childproperties" location="${WPS_Functions.childproperties}/build_documentation_generator.properties"/>
  13. <!--<property name="p5suis.pid" location="${p5suis.repository}/p5suis.speech.pid"/>-->
  14. <!--
  15. <property name="p5dg.StandardOutPath" location="${p5build_SE.SYSTEM.StandardOutPath}/${p5dg.PRODUCT.name}.log"/>
  16. <property name="p5dg.StandardErrorPath" location="${p5build_SE.SYSTEM.StandardErrorPath}/${p5dg.PRODUCT.name}.log"/>
  17. -->
  18. <target name="basedir" description="to create local dirs">
  19. <propertyset id="p5dg.local.properties">
  20. <propertyref prefix="p5dg"/>
  21. <mapper type="glob" from="p5dg.*" to="local.*"/>
  22. </propertyset>
  23. <antcall target="WPS_Functions.basedir.p5bws:dirs" inheritall="false">
  24. <propertyset refid="p5dg.local.properties"/>
  25. </antcall>
  26. </target>
  27. <target name="clean" description="To delete all temp and repository">
  28. <antcall target="WPS_Functions.basedir.p5bws:dirs.clean" inheritall="false">
  29. <propertyset refid="p5dg.local.properties"/>
  30. </antcall>
  31. </target>
  32. <target name="clean.temp" description="To delete all temp and repository">
  33. <antcall target="WPS_Functions.basedir.p5bw.p5bws:dirs.temp.clean" inheritall="false">
  34. <propertyset refid="p5dg.local.properties"/>
  35. </antcall>
  36. </target>
  37. <target name="parent.PRODUCT.ifdef" unless="WPS_Functions.PRODUCT.ifdef.parent">
  38. <fail>There is not set correct parent PRODUCT from expected file="../build.WPS_Functions.PRODUCT.xml" </fail>
  39. </target>
  40. </project>