"There is no reason why you should not be able to generate the list of
image filenames in a special target and use this filename later on in
another target ..."



That's what I want to do. I'd expected there to be a version of "copy" which 
could work in this way, but I couldn't see how to do it; Tony's example has 
pointed me at it.

Appreciatively,



Richard.





________________________________
From: Michael Wiedmann [[email protected]]
Sent: 15 March 2013 13:57
To: Kerry, Richard
Subject: Re: [docbook-apps] epub3 - copying the images, using Ant


Kerry, Richard wrote:
>
> "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 ....

There is no reason why you should not be able to generate the list of
image filenames in a special target and use this filename later on in
another target as value for the includesfile attribute.

Tony Graham's solution is the same as mine, but probably easier to
understand because of the example code.

Michael

Reply via email to