"Unable to resolve include file, path: '"
+ path
+ "'. Please ensure that the file exists. Note: relative paths must be relative to a resource target directory." );
}
files.add( new IIncludeFile()
{
public String name()
{
return path.replace( '\\', '/' );
}
public String path()
{
return file.getAbsolutePath();
}
} );
}
}
for ( FileSet pattern : patterns )
{
final DirectoryScanner scan = scan( pattern );
if ( scan == null )
{
continue;
}
for ( final String file : scan.getIncludedFiles() )
{
files.add( new IIncludeFile()
{
public String name()
{
return file.replace( '\\', '/' );
}