You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@forrest.apache.org by br...@apache.org on 2003/12/11 16:30:39 UTC

cvs commit: xml-forrest/src/core forrest.build.xml

brondsem    2003/12/11 07:30:39

  Modified:    src/core forrest.build.xml
  Log:
  only run lucene-index if skinconfig.disable-lucene exists and is false
  
  Revision  Changes    Path
  1.14      +4 -3      xml-forrest/src/core/forrest.build.xml
  
  Index: forrest.build.xml
  ===================================================================
  RCS file: /home/cvs/xml-forrest/src/core/forrest.build.xml,v
  retrieving revision 1.13
  retrieving revision 1.14
  diff -u -r1.13 -r1.14
  --- forrest.build.xml	4 Dec 2003 22:08:19 -0000	1.13
  +++ forrest.build.xml	11 Dec 2003 15:30:39 -0000	1.14
  @@ -661,9 +661,10 @@
       -->
       <condition property="use-lucene-indexer">
         <!-- sorry for the convolution -->
  -      <not>
  +      <and>
  +        <isset property="skinconfig.disable-lucene"/>
           <isfalse value="${skinconfig.disable-lucene}"/>
  -      </not>
  +      </and>
       </condition>
       <antcall target="lucene-index"/>
   
  
  
  

lucene off by default (Was: cvs commit: xml-forrest/src/core forrest.build.xml)

Posted by David Crossley <cr...@indexgeo.com.au>.
Thankyou, thankyou. I have been struggling with fixing that
issue for ages. Must have had my logic hat on backward.

--David

> brondsem    2003/12/11 07:30:39
> 
>   Modified:    src/core forrest.build.xml
>   Log:
>   only run lucene-index if skinconfig.disable-lucene exists and is false
>   
>   Revision  Changes    Path
>   1.14      +4 -3      xml-forrest/src/core/forrest.build.xml
>   
>   Index: forrest.build.xml
>   ===================================================================
>   RCS file: /home/cvs/xml-forrest/src/core/forrest.build.xml,v
>   retrieving revision 1.13
>   retrieving revision 1.14
>   diff -u -r1.13 -r1.14
>   --- forrest.build.xml	4 Dec 2003 22:08:19 -0000	1.13
>   +++ forrest.build.xml	11 Dec 2003 15:30:39 -0000	1.14
>   @@ -661,9 +661,10 @@
>        -->
>        <condition property="use-lucene-indexer">
>          <!-- sorry for the convolution -->
>   -      <not>
>   +      <and>
>   +        <isset property="skinconfig.disable-lucene"/>
>            <isfalse value="${skinconfig.disable-lucene}"/>
>   -      </not>
>   +      </and>
>        </condition>
>        <antcall target="lucene-index"/>