I am getting validation errors when my modes.xml file has a mode with
run-handlers or run-transformers elements, because the auto-generated
xsd is not being generated with those elements allowed. I tried adding
the classpaths for the runhandlers to the war's POMs as below:
<plugin>
<groupId>sesat</groupId>
<artifactId>sesat-mojo</artifactId>
<executions><execution>
<id>copy-self</id>
<phase>install</phase>
<goals><goal>deploy</goal></goals>
</execution>
<execution>
<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>
<classpath>../../../run-handler-config-spi/src/main/java/</classpath>
<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>../../run-handler-config/src/main/java/</classpath>
</classpaths>
</configuration>
<phase>compile</phase>
<goals>
<goal>searchModesSchemaGenerator</goal>
</goals>
</execution>
</executions>
</plugin>
But it changes nothing. I can get around it by not doing validation but
thought I might check to see if I am doing something wrong. Thanks!
Brian Frutchey
Federal Solutions Architect
M (703) 597-4875
E [email protected]
Endeca
2100 Reston Parkway Ste 101
Reston, VA 20171
www.endeca.com <http://www.endeca.com>
find / analyze / understand
_______________________________________________
Kernel-development mailing list
[email protected]
http://sesat.no/mailman/listinfo/kernel-development