<j:set var="foundFile" value="false" />
<util:available file="xyz.jar">
<j:set var="foundFile" value="true" />
</util:available>
<j:if test="${!foundFile}">
<!-- your stuff goes here -->
</j:if>
--
dIon Gillard, Multitask Consulting
Blog: http://www.freeroller.net/page/dion/Weblog
Work: http://www.multitask.com.au
Tim Stephenson <[EMAIL PROTECTED]> wrote on 17/01/2003
12:57:56 PM:
> Could anyone give me a pointer to how I might execute certain tasks if a
> file is not available?
>
> I have discarded ant's "available" because it does not like me reusing
the
> same property for different values
>
> And I have cannot work out how to use the Jelly 'available' to signify
> unavailable (it doesn't expose it's outcome as a context var)
>
> TIA, tim
>
>
> --
> To unsubscribe, e-mail: <mailto:turbine-maven-user-
> [EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:turbine-maven-user-
> [EMAIL PROTECTED]>
>
> ForwardSourceID:NT000A406E
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>