I have a NetBeans project where my REPL shows the following path in
the classpath:
#<URL file:/home/my-proj/src/clj/> , and I can execute a script with
clojure.lang.RT.loadResourceScript("foo/bar/baz.clj"), which is
located in /home/my-proj/src/clj/foo/bar/baz.clj with no problems.
On another project which is the same as the preceding but with a
Maven2 structure, I have the following in the classpath #<URL file:/
home/my-proj/src/main/java/> but the same
clojure.lang.RT.loadResourceScript("foo/bar/baz.clj") fails with
'Clojure source not found in classpath', although the file is in /home/
my-proj/src/main/java/foo/bar/baz.clj.
Since the directory structures are similar I don't understand what
might me causing this problem.
Thanks
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to [email protected]
Note that posts from new members are moderated - please be patient with your
first post.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en