Next in thread → Next in month →

Re: [docbook-apps] Docbook to PDF via FOP question which related to ANT

From
Lars Vogel <>
Date
2013-02-21T05:53:46+00:00
ID
Thread
Re: [docbook-apps] Docbook to PDF via FOP question which related to ANT
Thanks everyone for the suggestions.

<fail message="PDF file was not created.">
	<condition>
		<not>
			<available file="${pdf.dir}/91_Book_Android_Professional/book.pdf" />
		</not>
	</condition>
</fail>

works well for me.

Best regards, Lars

2013/2/20 Dew, Simon <>:
> Sorry, <available file="book.fo"/> should of course refer to the
> expected pdf file.
>
> I will be quiet about this now.
>
> Simon Dew
>
> Technical Author | Stanley Security Solutions
> 1 Park Gate Close, Bredbury, Stockport SK6 2SZ, U.K.
>
>  | +44 (0) 161 406 3400
> www.stanleysecuritysolutions.co.uk
>
> Registered Office: Stanley House, Bramble Road, Swindon
> Registered in England and Wales No. 181585 VAT No. 232 2446 95
>
> On 20/02/2013 16:51, Dew, Simon wrote:
>
>> Hi Lars
>>
>> I'm not sure if this is the right list either, apologies if it isn't.
>>
>> You could try adding a test to the ant build script to detect if the PDF
>> file was built:
>>
>> <fail message="PDF file was not created.">
>>     <condition>
>>       <not>
>>         <available file="book.fo"/>
>>       </not>
>>      </condition>
>> </fail>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: 
> For additional commands, e-mail: 
>
Next in thread → Next in month →