[jboss-dev] Determining JBoss AS server version by examining install

Ian Springer ian.springer at redhat.com
Mon May 14 12:08:35 EDT 2007


What about parsing the MANIFEST.MF file in JBOSS_HOME/bin/run.jar or one of the core jars in JBOSS_HOME/client/ or 
JBOSS_HOME/lib/?

Tim Fox wrote:
> I need to determine from an ant script whether the JBoss AS version 
> installed in a particular directory is JBoss AS 4.2.0 or later.
> 
> Initially I thought I could just look at the JBOSS_HOME env entry, but 
> the user might have installed it in a different directory other than the 
> default jboss-4.2.0.GA directory.
> 
> Can anyone think of a good/recommended way to do this? Is there a file 
> somewhere in the distro I can parse?
> _______________________________________________
> jboss-development mailing list
> jboss-development at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/jboss-development




More information about the jboss-development mailing list