Example #1
0
 // Adds referenced classpath elements from a jar's Class-Path
 // Manifest entry.  In some future release, we may want to
 // update this code to recognize URLs rather than simple
 // filenames, but if we do, we should redo all path-related code.
 private void addJarClassPath(File jarFile, boolean warn) {
   try {
     for (File f : fsInfo.getJarClassPath(jarFile)) {
       addFile(f, warn);
     }
   } catch (IOException e) {
     log.error("error.reading.file", jarFile, JavacFileManager.getMessage(e));
   }
 }