From 2714152a1e52c0915d7fc7643aecfff5a632fe14 Mon Sep 17 00:00:00 2001 From: Stefan Bodewig Date: Wed, 28 Jan 2009 09:53:15 +0000 Subject: [PATCH] document resourcecontains condition git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@738424 13f79535-47bb-0310-9956-ffa450edef68 --- docs/manual/CoreTasks/conditions.html | 34 +++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/docs/manual/CoreTasks/conditions.html b/docs/manual/CoreTasks/conditions.html index be15dcc64..3d89e74d2 100644 --- a/docs/manual/CoreTasks/conditions.html +++ b/docs/manual/CoreTasks/conditions.html @@ -758,6 +758,40 @@ must match. Since Ant 1.7 +

resourcecontains

+

Tests whether a resource contains a given (sub)string.

+

The resources to check are specified via references or - in the + case of file resources via the resource attribute. Since Ant 1.7.1 +

+ + + + + + + + + + + + + + + + + + + + + + + + + +
AttributeDescriptionRequired
resourceName of a file that is the resource to test. + One of the two
refidReference to a resource defined inside the project.
substringThe string to search for.Yes
casesensitivePerform a case sensitive comparision. Default is + true.No
+

hasmethod

Tests for a class having a method or field. If the class is not found