Author: manaRH
Date: 2011-01-12 17:51:57 -0500 (Wed, 12 Jan 2011)
New Revision: 13987
Modified:
branches/community/Seam_2_2/examples/build.xml
Log:
JBSEAM-4759 - if search.lib was not set it still creates ${example.lib.dir}
Modified: branches/community/Seam_2_2/examples/build.xml
===================================================================
--- branches/community/Seam_2_2/examples/build.xml 2011-01-12 18:21:52 UTC (rev 13986)
+++ branches/community/Seam_2_2/examples/build.xml 2011-01-12 22:51:57 UTC (rev 13987)
@@ -358,7 +358,7 @@
</fileset>
<!-- Hibernate Search requires different dependencies since version 3.3
- (minimal suggested version for JBossAS 6 ) -->
+ (minimal suggested version for JBossAS 6 ) -->
<condition property="search.lib.jb6">
<and>
<isset property="jboss6"/>
@@ -373,7 +373,7 @@
<isset property="search.lib"/>
</and>
</condition>
-
+
<!-- Dependencies for using Seam with Hibernate Search -->
<fileset id="search.jar" dir="${lib.search.dir}">
<include name="lucene-core.jar" if="search.lib" />
@@ -681,7 +681,7 @@
</copyInlineDependencies>
</target>
- <target name="gethsearch3.1" unless="jboss6">
+ <target name="gethsearch3.1" if="search.lib.jb5">
<copyInlineDependencies id="org.hibernate.search"
scope="runtime" todir="${example.lib.dir}">
<dependency groupId="org.apache.solr" artifactId="solr-core"
version="1.3.0">
<exclusion groupId="commons-httpclient"
artifactId="commons-httpclient" />