You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@commons.apache.org by "Wabner, Thomas (EXT)" <th...@siemens.com> on 2007/06/22 14:52:01 UTC
[commons-lang] elegant way to get version information from jar-filename
Hi,
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 ;-)
Regards,
- Thomas Wabner