Hi Mark,
The actual error reported as the build fails is a
ClassNotFoundException - for a class that is dynamically generated
(deftype).
I am using Clojure 1.3 on both machines. On both machines I purged the
m2 repos before attempting to build.
With the -X flag, DEBUG output includes a series of entries thus:
[DEBUG] Found namespace com.foo.bar
[DEBUG] Found namespace com.foo.baz
...
and the namespaces appear in different orders on the different
machines. I am not sure this is relevant
though, since soon thereafter the actual compile command is logged:
[DEBUG] Command line: java -cp ...
and the list of namespace args after 'clojure.lang.Compile' is
different from the order reported in the
'Found ..' debug statements, and different between machines (ie four
distinct namespace orders, across the two machines).
On one machine the args passed to clojure.lang.Compile are conjusive
to a successful build, and on the other, not so much...
Happy to provide more info.
Craig
..
On Jul 31, 8:56 pm, Mark Derricutt <
m...@talios.com> wrote:
> Hi Craig,
>
> I can't say I've heard of any problems like this before, if you run your build with -X and dig through the debug and you should see a reference to a generated .clj file which is used to compile the source, does that indicate any compilation order that might be causing this?
>
> The script basically adds a list of namespaces to compile and passes that over to clojure itself - have you changed clojure versions at all?
>
> Mark
>