[jboss-cvs] JBossAS SVN: r82573 - projects/aop/trunk/asintegration-core/src/etc.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Wed Dec 31 07:36:46 EST 2008
Author: flavia.rainone at jboss.com
Date: 2008-12-31 07:36:46 -0500 (Wed, 31 Dec 2008)
New Revision: 82573
Modified:
projects/aop/trunk/asintegration-core/src/etc/jboss-40-install-jboss-aop-jdk50-build.xml
Log:
[JBAOP-687] Updated prototype script block for finding out the AS version (now looking into jboss-system.jar manifest file instead of jbossall-client.jar; the reason is that when you download the as src, the jbossall-client.jar manifest file does not contain 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-31 11:49:03 UTC (rev 82572)
+++ projects/aop/trunk/asintegration-core/src/etc/jboss-40-install-jboss-aop-jdk50-build.xml 2008-12-31 12:36:46 UTC (rev 82573)
@@ -64,8 +64,16 @@
</not>
</condition>
+ <property name="jboss.lib.dir" value="${jboss.home}/lib"/>
+ <available file="${jboss.lib.dir}" property="lib.exists" type="dir"/>
+ <fail unless="lib.exists" message="${jboss.lib.dir} does not exist. Modify 'jboss.home' in jboss.properties to be a valid root of a jboss installation"/>
+
+ <property name="lib.jboss-system" value="${jboss.lib.dir}/jboss-system.jar"/>
+ <available file="${lib.jboss-system}" property="lib.jboss-system.exists"/>
+ <fail unless="lib.jboss-system.exists" message="${lib.jboss-system} does not exist. Modify 'jboss.home' in jboss.properties to be a valid root of a jboss installation"/>
+
<loadproperties>
- <zipentry zipfile="${lib.jbossall-client}" name="META-INF/MANIFEST.MF"/>
+ <zipentry zipfile="${lib.jboss-system}" name="META-INF/MANIFEST.MF"/>
<!-- Add the prefix -->
<filterchain>
<linecontains>
More information about the jboss-cvs-commits
mailing list