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 <[email protected]>:
> 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.
>
> [email protected] | +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: [email protected]
> For additional commands, e-mail: [email protected]
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to