Here is part of my code:
File dbDir=new File(dbName); // the existing webdb
File tempDbDir = new File(tempDBName); //the temp webdb
WebDBAdminTool.main(new String[] {tempDBName, "-create"});
....
Enumeration e = webdb.links();
... //get links from webdb
injector.addPage(url); // inject a selected url into a temp webdb
FetchListTool.main(new String[] {tempDBName,tempSegName});
... // fetch and update
But it seems that the code stops (not throw any exception) when using
FetchListTool.
I can't find out what's wrong.