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

From
Kerry, Richard <>
Date
2013-03-15T13:17:36+00:00
ID
Thread
RE: [docbook-apps] epub3 - copying the images, using Ant
"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 []

Sent: 15 March 2013 12:35

To: 

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: 

For additional commands, e-mail: