251 */ |
251 */ |
252 private void readPackageListFromFile(String path, DocFile pkgListPath) |
252 private void readPackageListFromFile(String path, DocFile pkgListPath) |
253 throws Fault { |
253 throws Fault { |
254 DocFile file = pkgListPath.resolve(DocPaths.PACKAGE_LIST); |
254 DocFile file = pkgListPath.resolve(DocPaths.PACKAGE_LIST); |
255 if (! (file.isAbsolute() || linkoffline)){ |
255 if (! (file.isAbsolute() || linkoffline)){ |
256 file = file.resolveAgainst(StandardLocation.CLASS_OUTPUT); |
256 file = file.resolveAgainst(DocumentationTool.Location.DOCUMENTATION_OUTPUT); |
257 } |
257 } |
258 try { |
258 try { |
259 if (file.exists() && file.canRead()) { |
259 if (file.exists() && file.canRead()) { |
260 boolean pathIsRelative = |
260 boolean pathIsRelative = |
261 !DocFile.createFileForInput(configuration, path).isAbsolute() |
261 !DocFile.createFileForInput(configuration, path).isAbsolute() |