return null;
}
}
private DefaultIncludeResolver getDefaultIncludeResolver(File currentDir) {
DefaultIncludeResolver includeResolver;
if (env.optionSet(ToolCorbaConstants.CFG_INCLUDEDIR)) {
String includedDirs = env.get(ToolCorbaConstants.CFG_INCLUDEDIR).toString();
StringTokenizer tok = new StringTokenizer(includedDirs, "");
File[] includeDirs = new File[tok.countTokens()];
int i = 0;
while (tok.hasMoreTokens()) {
String includeDir = tok.nextToken();
File infile = new File(includeDir);
includeDirs[i] = infile;
i++;
}
includeResolver = new DefaultIncludeResolver(includeDirs);
} else {
includeResolver = new DefaultIncludeResolver(currentDir);
}
return includeResolver;
}