On Nov 28, 4:53 pm, Meikel Brandmeyer <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I noticed a problem with AOT if not all libraries
> are compiled. For example contrib only provides
> a jar with the sources. Compiling a library using
> - say - clojure.contrib.def will compile
> clojure.contrib.def with the library itself. Without
> special measures the clojure.contrib.def will be
> included in the jar file. Having both jars in the
> classpath may now lead to problems.
>
> Eg. I got a "Var .../defvar is unbound" error.
> Maybe AOT should not descend into required
> and used namespaces? I have absolutely no
> clue how AOT works under the hood, so I don't
> really have an idea, how to handle this.
>

I don't see why having the .cljs and .class files in the classpath
should be a problem - that's the normal case for compilation.

It may simply be that the lib has problems being compiled - I'm not
sure all of the libs in clojure.contrib have been compiled yet.

Perhaps you could give more info on the error?

Not descending into required libs begs the whole question of make and
dependencies, which I've tried to avoid.

Rich

--~--~---------~--~----~------------~-------~--~----~
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