<< Back to previous view

[CLJCLR-19] Enhance path probing for load to include the same folder as Clojure.dll Created: 16/Apr/13  Updated: 05/May/13  Resolved: 05/May/13

Status: Resolved
Project: ClojureCLR
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Enhancement Priority: Minor
Reporter: David Miller Assignee: David Miller
Resolution: Completed Votes: 0
Labels: None


 Description   

From Devin Garner:

... adding this line to GetFindFilePathsRaw in RT.cs ?

static IEnumerable<string> GetFindFilePathsRaw()

{ yield return Path.GetDirectoryName(typeof(RT).Assembly.Location); // new line }

Since RT is inside Clojure.dll, it will allow any file in the same folder as Clojure.dll to be found. The specific instance I found a need of this was an app that referenced Clojure.dll but the .exe was in a different folder than Cloure.dll. Somehow the .exe new where to find Clojure.dll, but nothing else.



 Comments   
Comment by David Miller [ 05/May/13 8:58 AM ]

Added path to RT.GetFindFilePathsRaw.
Commit: 60cb4c20

Generated at Wed Apr 23 12:01:31 CDT 2014 using JIRA 4.4#649-r158309.