Yes, but I don't believe that it guarantees that you will get the
manifest for the enclosing JAR file if you have more than one.

On May 3, 10:28 am, Nurullah Akkaya <nurul...@nakkaya.com> wrote:
> (let [url (ClassLoader/getSystemResource "META-INF/MANIFEST.MF")
>       manifest (java.util.jar.Manifest. (.openStream url))]
>   (println (.entrySet (.getMainAttributes manifest))))
>
> ClassLoader/getSystemResource does allow you to get rid of
> Class/forName...
>
> --
> Nurullah Akkayahttp://nakkaya.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 
> athttp://groups.google.com/group/clojure?hl=en

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