build.WPS_Functions.SYSTEM.PROCES.xml 1.3 KB

12345678910111213141516171819202122
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project basedir="../" name="WPS_Functions.SYSTEM.PROCES" default="WPS_Functions.SYSTEM.PROCES">
  3. <include file="${WPS_Functions.basedir}/build.WPS_Functions.PRODUCT.xml" optional="true"/>
  4. <include file="${WPS_Functions.basedir}/build.WPS_Functions.SYSTEM.PROCES.IS-ALIVE.xml" optional="true"/>
  5. <property name="WPS_Functions.SYSTEM.PROCES.build" location="${WPS_Functions.basedir}/build.WPS_Functions.SYSTEM.PROCES.xml"/>
  6. <property name="WPS_Functions.SYSTEM.PROCES.bash-script" location="${WPS_Functions.basedir}/WPS_Functions.SYSTEM.PROCES.sh"/>
  7. <property name="WPS_Functions.SYSTEM.PROCES.last-id.xml" location="${WPS_Functions.basedir}/WPS_Functions.SYSTEM.PROCES.last-id.xml"/>
  8. <target name="WPS_Functions.SYSTEM.PROCES" description="To detect current process ID by using bash">
  9. <exec executable="${WPS_Functions.SYSTEM.PROCES.bash-script}" outputproperty="WPS_Functions.SYSTEM.PROCES.ID"/>
  10. <echoxml file="${WPS_Functions.SYSTEM.PROCES.last-id.xml}">
  11. <WPS_Functions.SYSTEM.PROCES.last-id.xml xmlns="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/WPS_Functions.xsd">
  12. ${WPS_Functions.SYSTEM.PROCES.ID}
  13. </WPS_Functions.SYSTEM.PROCES.last-id.xml>
  14. </echoxml>
  15. </target>
  16. </project>