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!

On Wed, Jul 22, 2009 at 6:04 AM, Laurent PETIT<laurent.pe...@gmail.com> wrote:
>
>
> 2009/7/22 Michael Wood <esiot...@gmail.com>
>>
>> 2009/7/22 Howard Lewis Ship <hls...@gmail.com>:
>> >
>> > On Tue, Jul 21, 2009 at 3:17 PM, Laurent PETIT<laurent.pe...@gmail.com>
>> > wrote:
>> >> Hi,
>> >>
>> >> so far my examples were more based on issues with namespaces separated
>> >> into
>> >> multiple pieces than on a namespace / script dichotomy.
>> >>
>> >> So while I understand the interest of separating source files to be
>> >> delivered to production from test files, I don't see how this would
>> >> solve
>> >> both problems I reported ? (unless in your source directory you stick
>> >> to the
>> >> one namespace / one file rule).
>> >
>> > Yes, I absolutely stick to that rule. Files are cheap, use lots!
>>
>> Yes, but Laurent is asking about using MORE files than there are
>> namespaces.  You're implying files are not quite as cheap as Laurent
>> thinks :)
>
> I agree with Michael, there's something I don't understand about your last
> answer.
>
>
> >
>



-- 
Chris Wilson <christopher.j.wil...@gmail.com>

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

Reply via email to