| <!-- |
| Licensed to the Apache Software Foundation (ASF) under one or more |
| contributor license agreements. See the NOTICE file distributed with |
| this work for additional information regarding copyright ownership. |
| The ASF licenses this file to You under the Apache License, Version 2.0 |
| (the "License"); you may not use this file except in compliance with |
| the License. You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, software |
| distributed under the License is distributed on an "AS IS" BASIS, |
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| See the License for the specific language governing permissions and |
| limitations under the License. |
| --> |
| |
| <project name="elasticsearch" default="all"> |
| |
| <import file="../icmis-test-build.xml"/> |
| |
| <path id="test-classpath"> |
| <path refid="mcf-icmis-test-build.test-classpath"/> |
| <fileset dir="../../connectors/elasticsearch/test-materials-proprietary"> |
| <include name="elasticsearch*/lib/*.jar"/> |
| <include name="elasticsearch*/plugins/mapper-attachments/*.jar"/> |
| </fileset> |
| </path> |
| |
| <target name="run-derby" depends="compile-tests"> |
| <mkdir dir="test-derby-output"/> |
| <junit fork="true" maxmemory="128m" dir="test-derby-output" outputtoformatters="true" showoutput="true" haltonfailure="true"> |
| <jvmarg value="-DcrawlerWarPath=../../../framework/build/war/mcf-crawler-ui.war"/> |
| <jvmarg value="-DauthorityserviceWarPath=../../../framework/build/war/mcf-authority-service.war"/> |
| <jvmarg value="-DapiWarPath=../../../framework/build/war/mcf-api-service.war"/> |
| <jvmarg value="-DopenCmisServerWarPath=../../../lib/chemistry-opencmis-server-inmemory.war"/> |
| <classpath> |
| <path refid="test-classpath"/> |
| <pathelement location="build/test/classes"/> |
| </classpath> |
| <formatter type="brief" usefile="false"/> |
| |
| <test name="org.apache.manifoldcf.elasticsearch_tests.APISanityDerbyIT" todir="test-derby-output"/> |
| </junit> |
| </target> |
| |
| <target name="run-UI-derby" depends="compile-tests"> |
| <mkdir dir="test-derby-output"/> |
| <junit fork="true" maxmemory="128m" dir="test-derby-output" outputtoformatters="true" showoutput="true" haltonfailure="true"> |
| <jvmarg value="-DcrawlerWarPath=../../../framework/build/war/mcf-crawler-ui.war"/> |
| <jvmarg value="-DauthorityserviceWarPath=../../../framework/build/war/mcf-authority-service.war"/> |
| <jvmarg value="-DapiWarPath=../../../framework/build/war/mcf-api-service.war"/> |
| <jvmarg value="-DopenCmisServerWarPath=../../../lib/chemistry-opencmis-server-inmemory.war"/> |
| <classpath> |
| <path refid="test-classpath"/> |
| <pathelement location="build/test/classes"/> |
| </classpath> |
| <formatter type="brief" usefile="false"/> |
| |
| <test name="org.apache.manifoldcf.elasticsearch_tests.NavigationDerbyUI" todir="test-derby-output"/> |
| |
| </junit> |
| </target> |
| |
| </project> |