ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mben...@apache.org
Subject svn commit: r1159661 - /ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/Mkdir.java
Date Fri, 19 Aug 2011 15:33:57 GMT
Author: mbenson
Date: Fri Aug 19 15:33:56 2011
New Revision: 1159661

URL: http://svn.apache.org/viewvc?rev=1159661&view=rev
Log:
provide read access to Mkdir.dir. PR 51684

Modified:
    ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/Mkdir.java

Modified: ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/Mkdir.java
URL: http://svn.apache.org/viewvc/ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/Mkdir.java?rev=1159661&r1=1159660&r2=1159661&view=diff
==============================================================================
--- ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/Mkdir.java (original)
+++ ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/Mkdir.java Fri Aug 19 15:33:56 2011
@@ -84,6 +84,15 @@ public class Mkdir extends Task {
     public void setDir(File dir) {
         this.dir = dir;
     }
+
+    /**
+     * Get the directory to create.
+     * @return File
+     */
+    public File getDir() {
+        return dir;
+    }
+
     /**
      * Attempt to fix possible race condition when creating
      * directories on WinXP. If the mkdirs does not work,



Mime
View raw message