Hello,
I want to create a new fileset inside a ANT-Task using this:
FileSet createdFileset = new FileSet();
createdFileset.setDir(new File(basedir));
When I do this to get the files:
createdFileset.getDirectoryScanner();
I get a NPE.
What else do I need to do to set up a ne
The fileset needs a project instance.
getDS() is a short cut for getDS(getProject()) and your getProject() would
return null.
see:
https://svn.apache.org/repos/asf/ant/core/trunk/src/main/org/apache/tools/an
t/types/AbstractFileSet.java
supports nested filesets so a view here would be a starting