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] 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 <Simon.Dew@sbdinc.com>:
> 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.
>
> Simon.Dew@SBDInc.com | +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: 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]