Author: sshafroi
Date: 2008-03-28 12:53:48 +0100 (Fri, 28 Mar 2008)
New Revision: 6292
Modified:
branches/2.16/generic.sesam/war/pom.xml
branches/2.16/generic.sesam/war/src/main/conf/
branches/2.16/generic.sesam/war/src/main/conf/modes.xml
Log:
Generate xsd, dtd, rnc for modes.xml
Modified: branches/2.16/generic.sesam/war/pom.xml
===================================================================
--- branches/2.16/generic.sesam/war/pom.xml 2008-03-28 10:13:15 UTC (rev
6291)
+++ branches/2.16/generic.sesam/war/pom.xml 2008-03-28 11:53:48 UTC (rev
6292)
@@ -205,4 +205,36 @@
<version>${version}</version>
</dependency>
</dependencies>
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>sesat</groupId>
+ <artifactId>sesat-mojo</artifactId>
+ <version>2.16-SNAPSHOT</version>
+ <configuration>
+ <outputDir>
+ src/main/conf/
+ </outputDir>
+ <classpaths>
+
<classpath>../query-transform-config/src/main/java/</classpath>
+
<classpath>../search-command-config/src/main/java/</classpath>
+
<classpath>../result-handler-config/src/main/java/</classpath>
+
+
<classpath>../../query-transform-config-spi/src/main/java/</classpath>
+
<classpath>../../search-command-config-spi/src/main/java/</classpath>
+
<classpath>../../result-handler-config-spi/src/main/java/</classpath>
+ </classpaths>
+ </configuration>
+ <executions>
+ <execution>
+ <phase>compile</phase>
+ <goals>
+ <goal>searchModesSchemaGenerator</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
</project>
Property changes on: branches/2.16/generic.sesam/war/src/main/conf
___________________________________________________________________
Name: svn:ignore
+ modes.dtd
modes.xsd
modes.rnc
Modified: branches/2.16/generic.sesam/war/src/main/conf/modes.xml
===================================================================
--- branches/2.16/generic.sesam/war/src/main/conf/modes.xml 2008-03-28
10:13:15 UTC (rev 6291)
+++ branches/2.16/generic.sesam/war/src/main/conf/modes.xml 2008-03-28
11:53:48 UTC (rev 6292)
@@ -23,7 +23,9 @@
Purpose of the document follows.
-->
-<modes template-prefix="default-">
+<modes template-prefix="default-"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:noNamespaceSchemaLocation="modes.xsd">
<!-- defaults -->
@@ -43,16 +45,15 @@
collapsing="false"
collections=""
filter=""
- keyword-clustering="false"
+ keyword-clustering-enabled="false"
ignore-navigation="false"
- lemmatize="false"
+ lemmatise="false"
offensive-score-limit="0"
qt-pipeline=""
query-server-url=""
sort-by=""
spam-score-limit="0"
- spellcheck="false"
- synonyms="false"/>
+ spellcheck="false"/>
<static-command id="default-static-command" inherit="default-command"/>
@@ -176,7 +177,7 @@
<stock-command id="default-stock-command" inherit="default-command">
<query-transformers>
- <token-mask mask="exclude" position="prefix"
predicate="STOCK_MAGIC"/>
+ <token-mask mask="exclude" position="prefix"
predicates="STOCK_MAGIC"/>
</query-transformers>
</stock-command>
@@ -186,7 +187,6 @@
<query-transformers>
<token-mask position="prefix"
predicates="WIKIPEDIA_MAGIC,CATALOGUE_MAGIC,YELLOW_MAGIC,WHITE_MAGIC,PICTURE_MAGIC,NEWS_MAGIC"/>
- <simple-site-search parameter="ssr"/>
</query-transformers>
</yahoo-idp-command>
@@ -215,7 +215,6 @@
qt-pipeline="lookupword"
relevant-queries="true"
results-to-return="1"
- synonyms="true"
inherit="default-fast-command"/>
<fast-command id="default-wikipedia"
_______________________________________________
Kernel-commits mailing list
[email protected]
http://sesat.no/mailman/listinfo/kernel-commits