This is the mail archive of the kawa@sourceware.org mailing list for the Kawa project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: chasing symlinks during import


The latest works for my use-cases.

    -seth

On 12/21/2014 12:27 PM, Per Bothner wrote:


On 12/20/2014 12:10 PM, Seth Alves wrote:

You probably guessed this, but this is the change that made the symlinked-libs example fail again.

     -seth

Index: kawa/standard/ImportFromLibrary.java
===================================================================
--- kawa/standard/ImportFromLibrary.java        (revision 8235)
+++ kawa/standard/ImportFromLibrary.java        (working copy)
@@ -253,9 +253,9 @@
...
-        Path currentSource = currentFileName == null ? null
-            : Path.valueOf(currentFileName).getAbsolute();
+        Path currentSource = curinfo.getSourceAbsPath();

Please try now.



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]