On Wed, Jul 22, 2009 at 2:46 PM, Christopher Wilson<christopher.j.wil...@gmail.com> wrote: > > Sorry if this is a bit OT, but has anyone created an ant or maven jar > task (maven: is 'goal' the correct term)? In the few jars that I've > created I've AOT compiled my .clj files and hand-created the jar file. > The way that I do this is compile to the default clojure "classes" > directory, I then pull the two sub directories (in my case usually a > 'com/' and 'clojure/') out into the project root, leaving me with > something like this: > > project/ > com/ > clojure/ > clojure.jar > > In the manifest I then specify the Main-Class as 'com.sencjw.project' > and the Class-Path as just '.' (dot). I've been unable to do it any > other way. Do others have a better method? Thanks! >
if you use the clojure-maven-plugin, it will handle the compilation and creation of a jar file. --~--~---------~--~----~------------~-------~--~----~ 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 Note that posts from new members are moderated - please be patient with your first post. 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 -~----------~----~----~----~------~----~------~--~---