Saul writes:
> Many thanks. This works for me and I find it useful. However, in a
> perfect world:
>
> lein compile
>
> would also compile my java source code or call compile-java before
> performing a compile. In fact in this perfect world:
>
> lein swank
>
> would download all dependencies, com
I normally bind the clojure-maven-plugin to the compile phase, so "mvn
compile" does both a java and clojure compile. However, unlike the
scala or groovy 'star compilers' its not one process/parse, the java
compiler runs first, then the clojure.
--
Pull me down under...
On Thu, Dec 31, 2009 at
On Dec 30, 8:46 pm, Rob Wolfe wrote:
> Saul writes:
> > Many thanks. This works for me and I find it useful. However, in a
> > perfect world:
>
> > lein compile
>
> > would also compile my java source code or call compile-java before
> > performing a compile.
> If you mean something like Maven
Saul writes:
> On Dec 9, 7:53 am, antoniogarrote
> wrote:
>> A quick and dirty hack to compile java files in clojure projects
>> usingleiningen.
>>
>>
>> Just run $lein compile-java to transforms 'src/**.java' into 'classes/
>> **.class'
>>
>
> Many thanks. This works for me and I find it usefu
On Dec 9, 7:53 am, antoniogarrote
wrote:
> A quick and dirty hack to compile java files in clojure projects
> usingleiningen.
>
>
> Just run $lein compile-java to transforms 'src/**.java' into 'classes/
> **.class'
>
Many thanks. This works for me and I find it useful. However, in a
perfect worl
This is exactly what I need!
Unfortunately, I'm getting the following exception when I run the
compile-java task.
$ lein compile-java
Exception in thread "main" java.lang.IllegalArgumentException: No
method in multimethod 'as-file' for dispatch value: null
at clojure.lang.MultiFn.getFn(Mu