> have you given something like
> 
> <antlib>
>   <condition property="svn.type.found">
>       <typefound name="svn"/>
>   </condition>
> </antlib>
> 
> a try? What do you get??

I haven't tried that. I have yet to explore <antlib>.

I was thinking of something like this:

<project>
<condition property="gefunden">
<typefound name="componentdef"/>
</condition>
<fail unless="gefunden" message="kein componentdef :-("/>
<!-- alternativ: -->
<fail message="kein blablub :-(">
<condition><not><typefound name="blablub"/></not></condition>
</fail>
</project>

But I don't know if you can adapt it to your <antlib> purposes.

Michael

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@ant.apache.org
For additional commands, e-mail: user-h...@ant.apache.org

Reply via email to