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


 
"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 [mw@miwie.in-berlin.de]
Sent: 15 March 2013 12:35
To: docbook-apps@lists.oasis-open.org
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: docbook-apps-unsubscribe@lists.oasis-open.org
For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org


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