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(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-development