"Probably you have to this before you run 'ant'."

That's what i want to avoid.
It's the running of Ant that generates the list ....


Richard.





________________________________
From: Michael Wiedmann [[email protected]]
Sent: 15 March 2013 12:35
To: [email protected]
Subject: 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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to