AW: How to create a task associated a target

2016-04-26 Thread jhm
Try task.setOwningTarget( self.getOwningTarget() ); 'self' is referencing the task and the new created instance will get its owning target. Jan > -Ursprüngliche Nachricht- > Von: Al Le [mailto:al...@gmx.de] > Gesendet: Di

Multiple fileset and filelist comparisons

2016-04-26 Thread Lancelot.MEURILLON
Hi all, How would you do to implement this with ANT ? 1- In a project A, there are 2 file trees with same directories and files but not at same revision DirLocal --subdir1 -file1 (version 1.2) -file2 (version 2.3) --subdir2 -file3 (version 3.0) DirRemote --subdir1 -file1 (versi

Re: Multiple fileset and filelist comparisons

2016-04-26 Thread Dominique Devienne
On Tue, Apr 26, 2016 at 11:25 AM, wrote: > I need to compare those 2 file trees to get desynchronized files from > 'DirRemote' (in order to synchronize them with the latest revision further). > Have a looked at the task? https://ant.apache.org/manual/Tasks/sync.html --DD

RE: Multiple fileset and filelist comparisons

2016-04-26 Thread Lancelot.MEURILLON
Thanks for you answer Dominique Actually I can't just simply synchronize remote repository in one shot. I have this intermediary fileList because I need to update remote files through different batches which can't exceed x number of files depending on many rules -Original Message- F

Re: Multiple fileset and filelist comparisons

2016-04-26 Thread Dominique Devienne
On Tue, Apr 26, 2016 at 12:09 PM, wrote: > Thanks for you answer Dominique > Actually I can't just simply synchronize remote repository in one shot. I > have this intermediary fileList because I need to update remote files > through different batches which can't exceed x number of files depending

RE: Multiple fileset and filelist comparisons

2016-04-26 Thread Lancelot.MEURILLON
-Original Message- From: Dominique Devienne [mailto:ddevie...@gmail.com] Sent: mardi 26 avril 2016 13:11 To: Ant Users List Subject: Re: Multiple fileset and filelist comparisons > Then maybe > http://stackoverflow.com/questions/5940918/how-to-use-ants-sync-task-but-based-on-file-contents

AW: Multiple fileset and filelist comparisons

2016-04-26 Thread RZF, Aufg 481
If you just "upload" files, you could use the selector for getting changed files (by content). Jan -Ursprüngliche Nachricht- Von: lancelot.meuril...@oecd.org [mailto:lancelot.meuril...@oecd.org] Gesendet: Dienstag, 26. April 2016 13:53 An: user@ant.apache.org Betreff: RE: Multiple fil

RE: Multiple fileset and filelist comparisons

2016-04-26 Thread Lancelot.MEURILLON
-Original Message- From: Matèrne, Jan (RZF, Aufg 481) [mailto:jan.mate...@fv.nrw.de] Sent: mardi 26 avril 2016 14:10 To: Ant Users List Subject: AW: Multiple fileset and filelist comparisons >If you just "upload" files, you could use the selector for getting >changed files (by content).