groovy

AntBuilder fileScanner broken after new Scoping

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.0-JSR-4
  • Fix Version/s: 1.0-JSR-6
  • Component/s: None
  • Labels:
    None
  • Number of attachments :
    0

Description

AntBuilder fileScanner always returns empty iteration.
As a cause of this, groovy.util.FileNameFinder is no longer working.
This behaviour appeared right after the new Scoping.

Activity

Hide
Dierk Koenig added a comment -

It actually seems to be nested 'include' elements of 'fileset' that are not working and
when used with fileScanner make that fail.

fileset(dir:'.') {
    include(name:'*')
}

retrieves no files while

fileset(dir:'.', includes:'*')

does.

_Accidentally writing 'include' instead of 'includes' stalled my machine_

Show
Dierk Koenig added a comment - It actually seems to be nested 'include' elements of 'fileset' that are not working and when used with fileScanner make that fail.
fileset(dir:'.') {
    include(name:'*')
}
retrieves no files while
fileset(dir:'.', includes:'*')
does. _Accidentally writing 'include' instead of 'includes' stalled my machine_
Hide
Dierk Koenig added a comment -

now working

Show
Dierk Koenig added a comment - now working

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: