Results 1 to 3 of 3

Thread: How to find out version of spring from jar file?

  1. #1
    Join Date
    Mar 2008
    Posts
    3

    Default How to find out version of spring from jar file?

    I am trying to find the version of spring used in a project and I can see the spring.jar file is 2,568,189 bytes size and it has the stamp of
    Oct 1 2007 as its created date. How to determine what version of spring does it belong to?
    Thanks for any pointers.

  2. #2
    Join Date
    Jun 2006
    Location
    The Netherlands
    Posts
    13,695

    Default

    Check the META-INF/MANIFEST.MF file, or from a file do a SpringVersion.getVersion. (The latter might not work on all environments!).
    Marten Deinum
    Java Consultant / Pragmatist / Open Source Enthousiast / Author


    Pro Spring MVC: With Web Flow
    Conspect

    Have you read the reference guide.
    Use the [ code ] tags, young padawan

  3. #3
    Join Date
    Mar 2008
    Posts
    3

    Default

    Quote Originally Posted by Marten Deinum View Post
    Check the META-INF/MANIFEST.MF file, or from a file do a SpringVersion.getVersion. (The latter might not work on all environments!).
    That helped. Thanks a lot.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •