views:

77

answers:

0

I am trying to create an ANT build script which will detect which files were changed during the development (by diff SVN command) and output the list of files which are built from these changed files.

I would like to check all the Concat tasks within the build file and compare the filelists within them with the diff changed files list created earlier, if the files present in the certain Concat task match with the diff files then the output file of the Concat task should be added to the deploy list.

I don't think there is a task which compares the file lists in ANT, so I would like some advice which external tools could be usefull here.

Is there a way to output the files list from Concat task into external command or file, with ANT alone?

Is it possible to check all Concat tasks in ANT file or do I need to manually add them as the target dependencies?