Finding out version of Struts2 by introspecting the struts2-core jar

2010-07-13 Thread Rohan Ranade
Hi all, I want to find out the version of Struts2 (2.0.x or 2.1.x) by introspecting the struts2 core jar file. Is there a class which can be introspected to find this out? (similar to http://static.springsource.org/spring/docs/2.0.x/api/org/springframework/core/SpringVersion.htmlin Spring)?

Re: Finding out version of Struts2 by introspecting the struts2-core jar

2010-07-13 Thread Don Brown
On Wed, Jul 14, 2010 at 8:08 AM, Rohan Ranade rohan.ran...@gmail.com wrote: Hi all, I want to find out the version of Struts2 (2.0.x or 2.1.x) by introspecting the struts2 core jar file. Is there a class which can be introspected to find this out? (similar to

Re: Finding out version of Struts2 by introspecting the struts2-core jar

2010-07-13 Thread Rohan Ranade
IDE integration. I maintain the NetBeans Struts2 plugin ( http://nbstruts2support.dev.java.net). To quote one use case: When creating a new project, the user has a choice of selecting Struts 2.0.x or Struts2.1.x libraries to be added to the classpath from a location specified by the user.

Re: Finding out version of Struts2 by introspecting the struts2-core jar

2010-07-13 Thread Don Brown
Gotcha, so in that case, yes, that properties file is exactly what you want. Don On Wed, Jul 14, 2010 at 11:31 AM, Rohan Ranade rohan.ran...@gmail.com wrote: IDE integration. I maintain the NetBeans Struts2 plugin ( http://nbstruts2support.dev.java.net). To quote one use case: When creating a