Re: Execute the target only if source files have changed

2015-01-02 Thread YuGiOhJCJ Mailing-List
Oh, I have not read correctly the documentation of the task: "multiple target files are specified using a nested element" So this is the correct target: It seems to work :) On Fri, 2 Jan 2015 21:04:25 +0100 YuGiOhJCJ Mailing-List wrote: >

Re: Execute the target only if source files have changed

2015-01-02 Thread YuGiOhJCJ Mailing-List
In fact, yes, there is a mistake at this line. It should be: targetfile="png/*.png" It is corrected now but the problem is the same. Here is my file hierarchy: $ tree . |-- build.xml |-- png | `-- icon.png `-- xcf |-- background.xcf `-- icon.xcf Why each time I run ant, my "png" target

Re: Execute the target only if source files have changed

2015-01-02 Thread Harold Putman
your targetfile attribute on uptodate looks wrong targetfile="png/**.*.png Should that first dot be a slash? invoking ant with -d should give you an idea on why it is always setting png-uptodate On Tue, Dec 30, 2014 at 6:17 PM, YuGiOhJCJ Mailing-List < yugiohjcj-mailingl...@laposte.net> wrote: