<?xml version="1.0"?>

<project name="property-test" basedir="." default="test1">

  <target name="test1">
    <property environment="testenv"/>
  </target>

  <target name="test2">
    <property name="testprop1" value="aa"/>
    <property file="property1.properties"/>
    <echo message="testprop1=${testprop1}, testprop3=${testprop3}, testprop4=${testprop4}"/>
  </target>

  <target name="test3">
    <property file="property2.properties"/>
  </target>

  <target name="test4">
    <property name="http.port" value="999" />
    <property file="property3.properties"/>
    <echo message="http.url is ${http.url}"/>
  </target>
  
  <target name="prefix.success">
    <property file="property3.properties" prefix="server1"/>
  </target>

  <target name="prefix.fail">
    <property name="someprop" value="value" prefix="prefix"/>
  </target>
  
</project>
