Commits

Jan Lahoda  committed 28f455c

Better pass absolute file to FU.normalizeFile, so relative paths are always resolved to the correct base dir

  • Participants
  • Parent commits e9e6df7

Comments (0)

Files changed (1)

File cmdline/compiler/src/org/netbeans/modules/jackpot30/compiler/HintsAnnotationProcessingImpl.java

 
         if (files != null) {
             for (File f : files) {
-                urls.add(FileUtil.urlForArchiveOrDir(FileUtil.normalizeFile(f)));
+                urls.add(FileUtil.urlForArchiveOrDir(FileUtil.normalizeFile(f.getAbsoluteFile())));
             }
         }