build.xml 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project basedir="." name="test default_db/TEST_PERMS">
  3. <description>
  4. Test 'default_db/TEST_PERMS' storage acl by Ant
  5. </description>
  6. <property name="uuid" value="${uuid}"/>
  7. <property name="passwordBase64Basic" value="${passwordBase64Basic}"/>
  8. <property name="url" value="${url}"/>
  9. <property name="php_session_id" value="${php_session_id}"/>
  10. <property name="webRootUrl" value="${webRootUrl}"/>
  11. <target name="DescribeFeatureType" description="URL_TASK Target DescribeFeatureType">
  12. <echo message="OUTPUT__TYPE__XML"/>
  13. <echo message="OUTPUT__START"/>
  14. <!-- <echo message="${wfs_output}"/> -->
  15. <echoxml>
  16. <project default="foo">
  17. <target name="foo">
  18. <echo>foo</echo>
  19. </target>
  20. </project>
  21. </echoxml>
  22. <echo message="OUTPUT__END"/>
  23. </target>
  24. <target name="GetFeature" description="URL_TASK Target GetFeature">
  25. <echo message="FETCHING '${url}' ..."/>
  26. <exec executable="curl" outputproperty="wfs_output" errorproperty="wfs_error" resultproperty="wfs_result">
  27. <arg line="--cookie 'PHPSESSID=${php_session_id}' '${url}&amp;REQUEST=GetFeature'"/>
  28. </exec>
  29. <echo message="OUTPUT__TYPE__XML"/>
  30. <echo message="OUTPUT__START"/>
  31. <echo message="${wfs_output}"/>
  32. <echo message="webRootUrl"></echo>
  33. <echo message="${webRootUrl}"></echo>
  34. <echo message="OUTPUT__END"/>
  35. <echo message="RESULT__START"/>
  36. <echo message="${wfs_result}"/>
  37. <echo message="RESULT__END"/>
  38. <echo message="ERROR__START"/>
  39. <echo message="${wfs_error}"/>
  40. <echo message="ERROR__END"/>
  41. </target>
  42. </project>