I'd like to suggest that clojure no longer look for a user.clj in the
default package (/user.clj).  The user.clj file is a handy hook for
init-time code, but it's position causes the NetBeans application
framework (by default) to not load it at all, and to emit a pretty
ugly stack trace (which I've pasted the head of, if anyone's
interested).  An explanation is provided here:

http://bits.netbeans.org/dev/javadoc/org-openide-modules/org/openide/modules/doc-files/classpath.html#default_package

Perhaps user.clj could be looked for in /user/user.clj, or some other
location?  That might bump up against the package/namespace changes
that AOT is carrying with it, so that's just an idle suggestion.

- Chas



java.lang.IllegalStateException: You are trying to access file:
user.clj from the default package. Please see
http://www.netbeans.org/download/dev/javadoc/org-openide-modules/org/openide/modules/doc-files/classpath.html#default_package
        at
org.netbeans.ProxyClassLoader.printDefaultPackageWarning(ProxyClassLoader.java:
539)
        at
org.netbeans.ProxyClassLoader.getResource(ProxyClassLoader.java:312)
        at java.lang.ClassLoader.getResource(ClassLoader.java:1027)
        at java.lang.ClassLoader.getResourceAsStream(ClassLoader.java:
1214)
        at clojure.lang.RT.loadResourceScript(RT.java:362)
--~--~---------~--~----~------------~-------~--~----~
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
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to