title: ant task to copy properties file to their corresponding place in the java build dir
body: <p>OK, I'm stumped.</p>
  
  <p>I have a Java tree that looks like a fairly typical Eclipse Java build:</p>
  
  <pre><code>myproject
    src
      com
        example
          test
            // Java files in com.example.test here
    bin
      com
        example
          test
            // Compiled class files will go here
  </code></pre>
  
  <p>Now I have a <code>MyClass.properties</code> file in <code>myproject/src/com/example/test</code> along with the source Java files. How can I write an appropriate ant task to copy all the changed .properties files in the source tree, to their corresponding places in the build (<code>myproject/bin</code>) tree? </p>
  
  <p>(The easier half of this is to do the actual copy; the harder half of this I'm guessing is checking for dependencies)</p>