Re: [docbook-apps] epub3 - copying the images, using Ant

From
Michael Wiedmann <>
Date
2013-03-15T12:35:37+00:00
ID
Thread
Re: [docbook-apps] epub3 - copying the images, using Ant
Kerry, Richard wrote:
...
> How do you implement stage "2.  Copy any image files into the output
> directory." ?
...
> Is there a way in Ant of doing a copy based on data which only becomes
> available during the build process ?

Try the following approach (untested):

- generate a file which contains filenames of your image files
  (one per line). Probably you have to this before you run 'ant'.
- use Ant's 'copy' task with a 'fileset' setting the 'includesfile"
  attribute to your images filename.

Michael