[jboss-cvs] JBossAS SVN: r82493 - projects/aop/trunk/asintegration-core/src/etc.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Tue Dec 23 01:12:09 EST 2008
Author: flavia.rainone at jboss.com
Date: 2008-12-23 01:12:07 -0500 (Tue, 23 Dec 2008)
New Revision: 82493
Modified:
projects/aop/trunk/asintegration-core/src/etc/jboss-40-install-jboss-aop-jdk50-build.xml
Log:
[JBAOP-687] Prototype script block for finding out the AS version.
Modified: projects/aop/trunk/asintegration-core/src/etc/jboss-40-install-jboss-aop-jdk50-build.xml
===================================================================
--- projects/aop/trunk/asintegration-core/src/etc/jboss-40-install-jboss-aop-jdk50-build.xml 2008-12-23 06:04:04 UTC (rev 82492)
+++ projects/aop/trunk/asintegration-core/src/etc/jboss-40-install-jboss-aop-jdk50-build.xml 2008-12-23 06:12:07 UTC (rev 82493)
@@ -64,6 +64,24 @@
</not>
</condition>
+ <loadproperties>
+ <zipentry zipfile="${lib.jbossall-client}" name="META-INF/MANIFEST.MF"/>
+ <!-- Add the prefix -->
+ <filterchain>
+ <linecontains>
+ <contains value="Version"/>
+ </linecontains>
+ <prefixlines prefix="AS-"/>
+ </filterchain>
+ </loadproperties>
+
+ <echo>Version is '${AS-Specification-Version}'</echo>
+
+ <condition property="AS-40">
+ <matches pattern="4.0.*" string="${AS-Specification-Version}"/>
+ </condition>
+
+ <echo>AS is 40: ${AS-40}</echo>
</target>
<target name="prepare-aspect-library" depends="init">
More information about the jboss-cvs-commits
mailing list