mirror of https://github.com/apache/lucene.git
update for Ant 1.6 deprecation
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150902 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
e2ee045a97
commit
4b25907eb5
|
@ -33,7 +33,7 @@ public class IndexTask extends Task {
|
|||
* file list
|
||||
*/
|
||||
private Vector filesets = new Vector();
|
||||
|
||||
|
||||
/**
|
||||
* overwrite index?
|
||||
*/
|
||||
|
@ -187,7 +187,7 @@ public class IndexTask extends Task {
|
|||
FileSet fs = (FileSet) filesets.elementAt(i);
|
||||
if (fs != null) {
|
||||
DirectoryScanner ds =
|
||||
fs.getDirectoryScanner(project);
|
||||
fs.getDirectoryScanner(getProject());
|
||||
String[] dsfiles = ds.getIncludedFiles();
|
||||
File baseDir = ds.getBasedir();
|
||||
|
||||
|
@ -205,7 +205,7 @@ public class IndexTask extends Task {
|
|||
|
||||
if (checkLastModified) {
|
||||
Hits hits = null;
|
||||
Term pathTerm =
|
||||
Term pathTerm =
|
||||
new Term("path", file.getPath());
|
||||
TermQuery query =
|
||||
new TermQuery(pathTerm);
|
||||
|
|
Loading…
Reference in New Issue