> Is "-main" special in any way, or is this just a convention that some
> environments select? In the past I think I've used a manifest to
> specify the main entry point... is that really necessary or does -main
> map to the default main entry point regardless of build tool? Just
> curious really!

I think the gen-class generated class looks up and calls -main from
it's main, which is the regular java main.
The manifest file in a jar is not really related to that. All the
manifest does is tell which class' main method to use if someone tries
to run the jar with the -jar command line option (which I don't
recommend because it nukes your classpath, doing a -cp and specifying
your main class is often better).

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