ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anderson, Rob (Global Trade)" <Rob.Ander...@nike.com>
Subject fileset and dirset do not work with date selector
Date Thu, 02 Dec 2004 19:49:07 GMT
I have a question about using a date selector with fileset and dirset. My problem is documented
in bug # 32281...

http://issues.apache.org/bugzilla/show_bug.cgi?id=32281

I have been using and interactive debugger to try to find the problem in the code and I have
come across what appears to be my problem. In the isSelected() method of DateSelector.java
I see the following starting on line 246...

        if (file.isDirectory() && (!includeDirs)) {
            return true;
        }

By default includeDirs is set to false (on line 40). There is a method to override the default
beginning on line 126...

    public void setCheckdirs(boolean includeDirs) {
        this.includeDirs = includeDirs;
    }

My question is: What must I change in my build.xml to override the default that is set on
line 40. I am using the latest attachement to the bug mentioned above as my build file.

Thanks,


_________________________________________________________________
Robert Anderson  Sr. System Engineer  Nike - Global Trade IT  (503) 532-6803  d


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message