Seems fine to me.

One question, though: I see that you want to name the artifact
"clojure-lang" and not just "clojure".
Why not just "clojure" as is the case for the ant build script ?

I guess this could just confuse people ?


2009/5/7 Stefan Hübner <sthueb...@googlemail.com>:
>
> OK, I've got it. Thanks, Laurent!
>
> I would bundle clojure-slim.jar as a "classified" clojure, like Maven
> calls it. So the final filename would be "clojure-lang-1.0.0-slim.jar".
>
> To use this one instead of clojure-lang-1.0.0.jar, the following
> dependency needs to be declared:
>
> <dependency>
>  <groupId>org.clojure</groupId>
>  <artifactId>clojure-lang</artifactId>
>  <version>1.0.0</version>
>  <classifier>slim</classifier>
> </dependency>
>
> -Stefan
>
> Laurent PETIT <laurent.pe...@gmail.com> writes:
>
>> 2009/5/7 Stefan Hübner <sthueb...@googlemail.com>:
>>>
>>> Laurent PETIT <laurent.pe...@gmail.com> writes:
>>>
>>>> I also think it makes sense to deposit the whole "battery" :
>>>> clojureXX.jar
>>>> clojure-slimXX.jar
>>>
>>> OK, I would bundle clojure-slim.jar too. I'm not familiar with it, though
>>> curious. Would you enlighten me by throwing some light on it's purpose?
>>
>> clojure is divided into clojure files (in folder src/clj/ ) and java
>> files (in folder src/jvm/ )
>>
>> clojure-slimXX.jar contains compiled java files from src/jvm/ + clj
>> files from src/clj/
>> clojureXX.jar contains compiled java files from src/jvm/ + clj files
>> from src/clj/ + compiled into java classes cjl files from src/clj/
>>
>> clojureXX.jar has a better startup time since clj files are already
>> compiled into bytecode into classes files (via AOT - Ahead Of Time -
>> clojure files compilation)
>> clojure-slimXX.jar is much smaller than clojureXX.jar. And the clj
>> files will be compiled into bytecode in memory "Just in Time"
>>
>> Certainly both serve different needs for different people.
>> Regards,
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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 
clojure+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/clojure?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to