On Jan 19, 10:25 pm, jayvandal <s...@ida.net> wrote: > Why does the clr point to d: work? > user=> (use :reload 'ui) > FileNotFoundException Could not locate db.mysql.clj.dll or db/ > mysql.clj on load > path. clojure.lang.RT.load (d:\work\clojure-clr\Clojure\Clojure\Lib > \RT.cs:3065)
It is not looking in d:\work\... to resolve the load. The "d:\work\clojure-clr\Clojure\Clojure\Lib\RT.cs:3065" indicates the source line where the exception was thrown. It should be looking for the file to load starting from the root. >From the text, it appears there is a load or use or require within your ui.clj looking for db/mysql. As the error statement indicates, starting from the current directory, it has looked for ./ db.mysql.clj.dll or ./db/mysql.clj. The latter being clj source, the former being the standard name for the assembly that results from AOT-compiling of db/mysql.clj. Clearly something is not where it should be. You can set roots other than the current working directory via the environment variable CLOJURE_LOAD_PATH. Actually, I'm planning a post for http://clojureclr.blogspot.com/ regarding all environment variables that are referenced, plus some info on AOT-compilation. -David -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en