OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


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



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]