commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wabner, Thomas (EXT)" <>
Subject [commons-lang] elegant way to get version information from jar-filename
Date Fri, 22 Jun 2007 12:52:01 GMT


I cannot find a "nice" way to get the version information from a jar
filename with the help from commons-lang.


I have a filename like commons-lang-2.1-SNAPSHOT.jar and will have
follow information's:


Basename: "commons-lang"

Versionstr: "2.1-SNAPSHOT"


Any suggestions are very welcome ;-)




- Thomas Wabner

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message