bodewig 2002/06/27 23:30:53
Modified: src/main/org/apache/tools/ant/taskdefs Tag: ANT_15_BRANCH
MatchingTask.java
Log:
Add followsymlinks and casesensitive attributes to MatchingTask so
they get inherited by a bunch of other tasks.
Revision Changes Path
No revision
No revision
1.25.2.2 +19 -0
jakarta-ant/src/main/org/apache/tools/ant/taskdefs/MatchingTask.java
Index: MatchingTask.java
===================================================================
RCS file:
/home/cvs/jakarta-ant/src/main/org/apache/tools/ant/taskdefs/MatchingTask.java,v
retrieving revision 1.25.2.1
retrieving revision 1.25.2.2
diff -u -r1.25.2.1 -r1.25.2.2
--- MatchingTask.java 29 May 2002 14:46:05 -0000 1.25.2.1
+++ MatchingTask.java 28 Jun 2002 06:30:53 -0000 1.25.2.2
@@ -233,6 +233,25 @@
}
/**
+ * Sets case sensitivity of the file system
+ *
+ * @param isCaseSensitive "true"|"on"|"yes" if file system is case
+ * sensitive, "false"|"off"|"no" when not.
+ */
+ public void setCaseSensitive(boolean isCaseSensitive) {
+ fileset.setCaseSensitive(isCaseSensitive);
+ }
+
+ /**
+ * Sets whether or not symbolic links should be followed.
+ *
+ * @param followSymlinks whether or not symbolic links should be followed
+ */
+ public void setFollowSymlinks(boolean followSymlinks) {
+ fileset.setFollowSymlinks(followSymlinks);
+ }
+
+ /**
* Indicates whether there are any selectors here.
*
* @return whether any selectors are in this container
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>