mirror of https://github.com/apache/lucene.git
LUCENE-2609: Generate jar containing test classes (trunk)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1067738 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
32b914572d
commit
ece1524805
|
@ -1,6 +1,7 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<classpath>
|
<classpath>
|
||||||
<classpathentry kind="src" path="lucene/src/java"/>
|
<classpathentry kind="src" path="lucene/src/java"/>
|
||||||
|
<classpathentry kind="src" path="lucene/src/test-framework"/>
|
||||||
<classpathentry kind="src" path="lucene/src/test"/>
|
<classpathentry kind="src" path="lucene/src/test"/>
|
||||||
<classpathentry kind="src" path="lucene/contrib/ant/src/java"/>
|
<classpathentry kind="src" path="lucene/contrib/ant/src/java"/>
|
||||||
<classpathentry kind="src" path="lucene/contrib/ant/src/resources"/>
|
<classpathentry kind="src" path="lucene/contrib/ant/src/resources"/>
|
||||||
|
|
|
@ -6,6 +6,7 @@
|
||||||
<exclude-output />
|
<exclude-output />
|
||||||
<content url="file://$MODULE_DIR$">
|
<content url="file://$MODULE_DIR$">
|
||||||
<sourceFolder url="file://$MODULE_DIR$/src/java" isTestSource="false" />
|
<sourceFolder url="file://$MODULE_DIR$/src/java" isTestSource="false" />
|
||||||
|
<sourceFolder url="file://$MODULE_DIR$/src/test-framework" isTestSource="true" />
|
||||||
<sourceFolder url="file://$MODULE_DIR$/src/test" isTestSource="true" />
|
<sourceFolder url="file://$MODULE_DIR$/src/test" isTestSource="true" />
|
||||||
<excludeFolder url="file://$MODULE_DIR$/build" />
|
<excludeFolder url="file://$MODULE_DIR$/build" />
|
||||||
</content>
|
</content>
|
||||||
|
|
|
@ -43,7 +43,7 @@
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>${project.groupId}</groupId>
|
<groupId>${project.groupId}</groupId>
|
||||||
<artifactId>lucene-core</artifactId>
|
<artifactId>lucene-test-framework</artifactId>
|
||||||
<version>${project.version}</version>
|
<version>${project.version}</version>
|
||||||
<type>test-jar</type>
|
<type>test-jar</type>
|
||||||
<scope>test</scope>
|
<scope>test</scope>
|
||||||
|
|
|
@ -43,7 +43,7 @@
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>${project.groupId}</groupId>
|
<groupId>${project.groupId}</groupId>
|
||||||
<artifactId>lucene-core</artifactId>
|
<artifactId>lucene-test-framework</artifactId>
|
||||||
<version>${project.version}</version>
|
<version>${project.version}</version>
|
||||||
<type>test-jar</type>
|
<type>test-jar</type>
|
||||||
<scope>test</scope>
|
<scope>test</scope>
|
||||||
|
|
|
@ -43,7 +43,7 @@
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>${project.groupId}</groupId>
|
<groupId>${project.groupId}</groupId>
|
||||||
<artifactId>lucene-core</artifactId>
|
<artifactId>lucene-test-framework</artifactId>
|
||||||
<version>${project.version}</version>
|
<version>${project.version}</version>
|
||||||
<type>test-jar</type>
|
<type>test-jar</type>
|
||||||
<scope>test</scope>
|
<scope>test</scope>
|
||||||
|
|
|
@ -43,7 +43,7 @@
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>${project.groupId}</groupId>
|
<groupId>${project.groupId}</groupId>
|
||||||
<artifactId>lucene-core</artifactId>
|
<artifactId>lucene-test-framework</artifactId>
|
||||||
<version>${project.version}</version>
|
<version>${project.version}</version>
|
||||||
<type>test-jar</type>
|
<type>test-jar</type>
|
||||||
<scope>test</scope>
|
<scope>test</scope>
|
||||||
|
|
|
@ -45,7 +45,7 @@
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>${project.groupId}</groupId>
|
<groupId>${project.groupId}</groupId>
|
||||||
<artifactId>lucene-core</artifactId>
|
<artifactId>lucene-test-framework</artifactId>
|
||||||
<version>${project.version}</version>
|
<version>${project.version}</version>
|
||||||
<type>test-jar</type>
|
<type>test-jar</type>
|
||||||
<scope>test</scope>
|
<scope>test</scope>
|
||||||
|
|
|
@ -43,7 +43,7 @@
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>${project.groupId}</groupId>
|
<groupId>${project.groupId}</groupId>
|
||||||
<artifactId>lucene-core</artifactId>
|
<artifactId>lucene-test-framework</artifactId>
|
||||||
<version>${project.version}</version>
|
<version>${project.version}</version>
|
||||||
<type>test-jar</type>
|
<type>test-jar</type>
|
||||||
<scope>test</scope>
|
<scope>test</scope>
|
||||||
|
|
|
@ -43,7 +43,7 @@
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>${project.groupId}</groupId>
|
<groupId>${project.groupId}</groupId>
|
||||||
<artifactId>lucene-core</artifactId>
|
<artifactId>lucene-test-framework</artifactId>
|
||||||
<version>${project.version}</version>
|
<version>${project.version}</version>
|
||||||
<type>test-jar</type>
|
<type>test-jar</type>
|
||||||
<scope>test</scope>
|
<scope>test</scope>
|
||||||
|
|
|
@ -45,7 +45,7 @@
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>${project.groupId}</groupId>
|
<groupId>${project.groupId}</groupId>
|
||||||
<artifactId>lucene-core</artifactId>
|
<artifactId>lucene-test-framework</artifactId>
|
||||||
<version>${project.version}</version>
|
<version>${project.version}</version>
|
||||||
<type>test-jar</type>
|
<type>test-jar</type>
|
||||||
<scope>test</scope>
|
<scope>test</scope>
|
||||||
|
|
|
@ -48,6 +48,13 @@
|
||||||
<type>test-jar</type>
|
<type>test-jar</type>
|
||||||
<scope>test</scope>
|
<scope>test</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>${project.groupId}</groupId>
|
||||||
|
<artifactId>lucene-test-framework</artifactId>
|
||||||
|
<version>${project.version}</version>
|
||||||
|
<type>test-jar</type>
|
||||||
|
<scope>test</scope>
|
||||||
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>${project.groupId}</groupId>
|
<groupId>${project.groupId}</groupId>
|
||||||
<artifactId>lucene-analyzers-common</artifactId>
|
<artifactId>lucene-analyzers-common</artifactId>
|
||||||
|
|
|
@ -45,7 +45,7 @@
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>${project.groupId}</groupId>
|
<groupId>${project.groupId}</groupId>
|
||||||
<artifactId>lucene-core</artifactId>
|
<artifactId>lucene-test-framework</artifactId>
|
||||||
<version>${project.version}</version>
|
<version>${project.version}</version>
|
||||||
<type>test-jar</type>
|
<type>test-jar</type>
|
||||||
<scope>test</scope>
|
<scope>test</scope>
|
||||||
|
|
|
@ -50,6 +50,13 @@
|
||||||
<type>test-jar</type>
|
<type>test-jar</type>
|
||||||
<scope>test</scope>
|
<scope>test</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>${project.groupId}</groupId>
|
||||||
|
<artifactId>lucene-test-framework</artifactId>
|
||||||
|
<version>${project.version}</version>
|
||||||
|
<type>test-jar</type>
|
||||||
|
<scope>test</scope>
|
||||||
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>junit</groupId>
|
<groupId>junit</groupId>
|
||||||
<artifactId>junit</artifactId>
|
<artifactId>junit</artifactId>
|
||||||
|
|
|
@ -43,7 +43,7 @@
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>${project.groupId}</groupId>
|
<groupId>${project.groupId}</groupId>
|
||||||
<artifactId>lucene-core</artifactId>
|
<artifactId>lucene-test-framework</artifactId>
|
||||||
<version>${project.version}</version>
|
<version>${project.version}</version>
|
||||||
<type>test-jar</type>
|
<type>test-jar</type>
|
||||||
<scope>test</scope>
|
<scope>test</scope>
|
||||||
|
|
|
@ -43,7 +43,7 @@
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>${project.groupId}</groupId>
|
<groupId>${project.groupId}</groupId>
|
||||||
<artifactId>lucene-core</artifactId>
|
<artifactId>lucene-test-framework</artifactId>
|
||||||
<version>${project.version}</version>
|
<version>${project.version}</version>
|
||||||
<type>test-jar</type>
|
<type>test-jar</type>
|
||||||
<scope>test</scope>
|
<scope>test</scope>
|
||||||
|
|
|
@ -43,7 +43,7 @@
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>${project.groupId}</groupId>
|
<groupId>${project.groupId}</groupId>
|
||||||
<artifactId>lucene-core</artifactId>
|
<artifactId>lucene-test-framework</artifactId>
|
||||||
<version>${project.version}</version>
|
<version>${project.version}</version>
|
||||||
<type>test-jar</type>
|
<type>test-jar</type>
|
||||||
<scope>test</scope>
|
<scope>test</scope>
|
||||||
|
|
|
@ -43,7 +43,7 @@
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>${project.groupId}</groupId>
|
<groupId>${project.groupId}</groupId>
|
||||||
<artifactId>lucene-core</artifactId>
|
<artifactId>lucene-test-framework</artifactId>
|
||||||
<version>${project.version}</version>
|
<version>${project.version}</version>
|
||||||
<type>test-jar</type>
|
<type>test-jar</type>
|
||||||
<scope>test</scope>
|
<scope>test</scope>
|
||||||
|
|
|
@ -43,7 +43,7 @@
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>${project.groupId}</groupId>
|
<groupId>${project.groupId}</groupId>
|
||||||
<artifactId>lucene-core</artifactId>
|
<artifactId>lucene-test-framework</artifactId>
|
||||||
<version>${project.version}</version>
|
<version>${project.version}</version>
|
||||||
<type>test-jar</type>
|
<type>test-jar</type>
|
||||||
<scope>test</scope>
|
<scope>test</scope>
|
||||||
|
|
|
@ -33,6 +33,7 @@
|
||||||
<description>Lucene parent POM</description>
|
<description>Lucene parent POM</description>
|
||||||
<modules>
|
<modules>
|
||||||
<module>src</module>
|
<module>src</module>
|
||||||
|
<module>src/test-framework</module>
|
||||||
<module>contrib</module>
|
<module>contrib</module>
|
||||||
</modules>
|
</modules>
|
||||||
<build>
|
<build>
|
||||||
|
|
|
@ -121,6 +121,24 @@
|
||||||
</programs>
|
</programs>
|
||||||
</configuration>
|
</configuration>
|
||||||
</plugin>
|
</plugin>
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.codehaus.mojo</groupId>
|
||||||
|
<artifactId>build-helper-maven-plugin</artifactId>
|
||||||
|
<executions>
|
||||||
|
<execution>
|
||||||
|
<id>add-test-source</id>
|
||||||
|
<phase>generate-test-sources</phase>
|
||||||
|
<goals>
|
||||||
|
<goal>add-test-source</goal>
|
||||||
|
</goals>
|
||||||
|
<configuration>
|
||||||
|
<sources>
|
||||||
|
<source>test-framework</source>
|
||||||
|
</sources>
|
||||||
|
</configuration>
|
||||||
|
</execution>
|
||||||
|
</executions>
|
||||||
|
</plugin>
|
||||||
</plugins>
|
</plugins>
|
||||||
</build>
|
</build>
|
||||||
</project>
|
</project>
|
||||||
|
|
|
@ -0,0 +1,89 @@
|
||||||
|
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
||||||
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
|
||||||
|
<!--
|
||||||
|
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.
|
||||||
|
-->
|
||||||
|
<modelVersion>4.0.0</modelVersion>
|
||||||
|
<parent>
|
||||||
|
<groupId>org.apache.lucene</groupId>
|
||||||
|
<artifactId>lucene-parent</artifactId>
|
||||||
|
<version>@version@</version>
|
||||||
|
<relativePath>../../pom.xml</relativePath>
|
||||||
|
</parent>
|
||||||
|
<groupId>org.apache.lucene</groupId>
|
||||||
|
<artifactId>lucene-test-framework</artifactId>
|
||||||
|
<packaging>jar</packaging>
|
||||||
|
<name>Lucene Test Framework</name>
|
||||||
|
<description>Apache Lucene Java Test Framework</description>
|
||||||
|
<properties>
|
||||||
|
<module-directory>lucene/src/test-framework</module-directory>
|
||||||
|
<build-directory>../../build</build-directory>
|
||||||
|
</properties>
|
||||||
|
<dependencies>
|
||||||
|
<dependency>
|
||||||
|
<groupId>${project.groupId}</groupId>
|
||||||
|
<artifactId>lucene-core</artifactId>
|
||||||
|
<version>${project.version}</version>
|
||||||
|
<scope>test</scope>
|
||||||
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>junit</groupId>
|
||||||
|
<artifactId>junit</artifactId>
|
||||||
|
<scope>test</scope>
|
||||||
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.apache.ant</groupId>
|
||||||
|
<artifactId>ant-junit</artifactId>
|
||||||
|
<scope>test</scope>
|
||||||
|
</dependency>
|
||||||
|
</dependencies>
|
||||||
|
<build>
|
||||||
|
<directory>${build-directory}/classes/test-framework</directory>
|
||||||
|
<testOutputDirectory>${build-directory}/classes/test-framework</testOutputDirectory>
|
||||||
|
<testSourceDirectory>.</testSourceDirectory>
|
||||||
|
<testResources>
|
||||||
|
<testResource>
|
||||||
|
<directory>${project.build.testSourceDirectory}</directory>
|
||||||
|
<excludes>
|
||||||
|
<exclude>**/*.java</exclude>
|
||||||
|
</excludes>
|
||||||
|
</testResource>
|
||||||
|
</testResources>
|
||||||
|
<plugins>
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
|
<artifactId>maven-jar-plugin</artifactId>
|
||||||
|
<executions>
|
||||||
|
<execution>
|
||||||
|
<goals>
|
||||||
|
<goal>test-jar</goal>
|
||||||
|
</goals>
|
||||||
|
</execution>
|
||||||
|
</executions>
|
||||||
|
</plugin>
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
|
<artifactId>maven-surefire-plugin</artifactId>
|
||||||
|
<configuration>
|
||||||
|
<skip>true</skip>
|
||||||
|
</configuration>
|
||||||
|
</plugin>
|
||||||
|
</plugins>
|
||||||
|
</build>
|
||||||
|
</project>
|
|
@ -48,6 +48,13 @@
|
||||||
<type>test-jar</type>
|
<type>test-jar</type>
|
||||||
<scope>test</scope>
|
<scope>test</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>${project.groupId}</groupId>
|
||||||
|
<artifactId>lucene-test-framework</artifactId>
|
||||||
|
<version>${project.version}</version>
|
||||||
|
<type>test-jar</type>
|
||||||
|
<scope>test</scope>
|
||||||
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>junit</groupId>
|
<groupId>junit</groupId>
|
||||||
<artifactId>junit</artifactId>
|
<artifactId>junit</artifactId>
|
||||||
|
|
|
@ -51,6 +51,13 @@
|
||||||
<type>test-jar</type>
|
<type>test-jar</type>
|
||||||
<scope>test</scope>
|
<scope>test</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>${project.groupId}</groupId>
|
||||||
|
<artifactId>lucene-test-framework</artifactId>
|
||||||
|
<version>${project.version}</version>
|
||||||
|
<type>test-jar</type>
|
||||||
|
<scope>test</scope>
|
||||||
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>${project.groupId}</groupId>
|
<groupId>${project.groupId}</groupId>
|
||||||
<artifactId>lucene-analyzers-common</artifactId>
|
<artifactId>lucene-analyzers-common</artifactId>
|
||||||
|
|
|
@ -43,7 +43,7 @@
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>${project.groupId}</groupId>
|
<groupId>${project.groupId}</groupId>
|
||||||
<artifactId>lucene-core</artifactId>
|
<artifactId>lucene-test-framework</artifactId>
|
||||||
<version>${project.version}</version>
|
<version>${project.version}</version>
|
||||||
<type>test-jar</type>
|
<type>test-jar</type>
|
||||||
<scope>test</scope>
|
<scope>test</scope>
|
||||||
|
|
|
@ -43,7 +43,7 @@
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>${project.groupId}</groupId>
|
<groupId>${project.groupId}</groupId>
|
||||||
<artifactId>lucene-core</artifactId>
|
<artifactId>lucene-test-framework</artifactId>
|
||||||
<version>${project.version}</version>
|
<version>${project.version}</version>
|
||||||
<type>test-jar</type>
|
<type>test-jar</type>
|
||||||
<scope>test</scope>
|
<scope>test</scope>
|
||||||
|
|
|
@ -43,7 +43,7 @@
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>${project.groupId}</groupId>
|
<groupId>${project.groupId}</groupId>
|
||||||
<artifactId>lucene-core</artifactId>
|
<artifactId>lucene-test-framework</artifactId>
|
||||||
<version>${project.version}</version>
|
<version>${project.version}</version>
|
||||||
<type>test-jar</type>
|
<type>test-jar</type>
|
||||||
<scope>test</scope>
|
<scope>test</scope>
|
||||||
|
|
|
@ -76,7 +76,7 @@
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.apache.lucene</groupId>
|
<groupId>org.apache.lucene</groupId>
|
||||||
<artifactId>lucene-core</artifactId>
|
<artifactId>lucene-test-framework</artifactId>
|
||||||
<version>${project.version}</version>
|
<version>${project.version}</version>
|
||||||
<type>test-jar</type>
|
<type>test-jar</type>
|
||||||
<scope>test</scope>
|
<scope>test</scope>
|
||||||
|
|
|
@ -61,7 +61,7 @@
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.apache.lucene</groupId>
|
<groupId>org.apache.lucene</groupId>
|
||||||
<artifactId>lucene-core</artifactId>
|
<artifactId>lucene-test-framework</artifactId>
|
||||||
<version>${project.version}</version>
|
<version>${project.version}</version>
|
||||||
<type>test-jar</type>
|
<type>test-jar</type>
|
||||||
<scope>test</scope>
|
<scope>test</scope>
|
||||||
|
|
|
@ -68,7 +68,7 @@
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.apache.lucene</groupId>
|
<groupId>org.apache.lucene</groupId>
|
||||||
<artifactId>lucene-core</artifactId>
|
<artifactId>lucene-test-framework</artifactId>
|
||||||
<version>${project.version}</version>
|
<version>${project.version}</version>
|
||||||
<type>test-jar</type>
|
<type>test-jar</type>
|
||||||
<scope>test</scope>
|
<scope>test</scope>
|
||||||
|
|
|
@ -61,7 +61,7 @@
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.apache.lucene</groupId>
|
<groupId>org.apache.lucene</groupId>
|
||||||
<artifactId>lucene-core</artifactId>
|
<artifactId>lucene-test-framework</artifactId>
|
||||||
<version>${project.version}</version>
|
<version>${project.version}</version>
|
||||||
<type>test-jar</type>
|
<type>test-jar</type>
|
||||||
<scope>test</scope>
|
<scope>test</scope>
|
||||||
|
|
|
@ -64,7 +64,7 @@
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.apache.lucene</groupId>
|
<groupId>org.apache.lucene</groupId>
|
||||||
<artifactId>lucene-core</artifactId>
|
<artifactId>lucene-test-framework</artifactId>
|
||||||
<version>${project.version}</version>
|
<version>${project.version}</version>
|
||||||
<type>test-jar</type>
|
<type>test-jar</type>
|
||||||
<scope>test</scope>
|
<scope>test</scope>
|
||||||
|
|
|
@ -56,7 +56,7 @@
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.apache.lucene</groupId>
|
<groupId>org.apache.lucene</groupId>
|
||||||
<artifactId>lucene-core</artifactId>
|
<artifactId>lucene-test-framework</artifactId>
|
||||||
<version>${project.version}</version>
|
<version>${project.version}</version>
|
||||||
<type>test-jar</type>
|
<type>test-jar</type>
|
||||||
<scope>test</scope>
|
<scope>test</scope>
|
||||||
|
|
|
@ -48,7 +48,7 @@
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.apache.lucene</groupId>
|
<groupId>org.apache.lucene</groupId>
|
||||||
<artifactId>lucene-core</artifactId>
|
<artifactId>lucene-test-framework</artifactId>
|
||||||
<version>${project.version}</version>
|
<version>${project.version}</version>
|
||||||
<type>test-jar</type>
|
<type>test-jar</type>
|
||||||
<scope>test</scope>
|
<scope>test</scope>
|
||||||
|
|
|
@ -44,7 +44,7 @@
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.apache.lucene</groupId>
|
<groupId>org.apache.lucene</groupId>
|
||||||
<artifactId>lucene-core</artifactId>
|
<artifactId>lucene-test-framework</artifactId>
|
||||||
<version>${project.version}</version>
|
<version>${project.version}</version>
|
||||||
<type>test-jar</type>
|
<type>test-jar</type>
|
||||||
<scope>test</scope>
|
<scope>test</scope>
|
||||||
|
|
|
@ -1,24 +0,0 @@
|
||||||
core.test.files=\
|
|
||||||
org/apache/lucene/util/_TestUtil.java,\
|
|
||||||
org/apache/lucene/util/LineFileDocs.java,\
|
|
||||||
org/apache/lucene/util/LuceneJUnitDividingSelector.java,\
|
|
||||||
org/apache/lucene/util/LuceneJUnitResultFormatter.java,\
|
|
||||||
org/apache/lucene/util/LuceneTestCase.java,\
|
|
||||||
org/apache/lucene/util/automaton/AutomatonTestUtil.java,\
|
|
||||||
org/apache/lucene/search/QueryUtils.java,\
|
|
||||||
org/apache/lucene/analysis/BaseTokenStreamTestCase.java,\
|
|
||||||
org/apache/lucene/analysis/MockAnalyzer.java,\
|
|
||||||
org/apache/lucene/analysis/MockPayloadAnalyzer.java,\
|
|
||||||
org/apache/lucene/analysis/MockTokenFilter.java,\
|
|
||||||
org/apache/lucene/analysis/MockTokenizer.java,\
|
|
||||||
org/apache/lucene/index/MockIndexInput.java,\
|
|
||||||
org/apache/lucene/index/RandomIndexWriter.java,\
|
|
||||||
org/apache/lucene/index/DocHelper.java,\
|
|
||||||
org/apache/lucene/codecs/preflexrw/PreFlexFieldsWriter.java,\
|
|
||||||
org/apache/lucene/codecs/preflexrw/PreFlexRWCodec.java,\
|
|
||||||
org/apache/lucene/codecs/preflexrw/TermInfosWriter.java,\
|
|
||||||
org/apache/lucene/codecs/mockrandom/MockRandomCodec.java,\
|
|
||||||
org/apache/lucene/store/_TestHelper.java,\
|
|
||||||
org/apache/lucene/store/MockDirectoryWrapper.java,\
|
|
||||||
org/apache/lucene/store/MockIndexInputWrapper.java,\
|
|
||||||
org/apache/lucene/store/MockIndexOutputWrapper.java,\
|
|
|
@ -978,6 +978,10 @@ Build
|
||||||
* LUCENE-2657: Switch from using Maven POM templates to full POMs when
|
* LUCENE-2657: Switch from using Maven POM templates to full POMs when
|
||||||
generating Maven artifacts (Steven Rowe)
|
generating Maven artifacts (Steven Rowe)
|
||||||
|
|
||||||
|
* LUCENE-2609: Added jar-test-framework Ant target which packages Lucene's
|
||||||
|
tests' framework classes. (Drew Farris, Grant Ingersoll, Shai Erera, Steven
|
||||||
|
Rowe)
|
||||||
|
|
||||||
Test Cases
|
Test Cases
|
||||||
|
|
||||||
* LUCENE-2037 Allow Junit4 tests in our environment (Erick Erickson
|
* LUCENE-2037 Allow Junit4 tests in our environment (Erick Erickson
|
||||||
|
|
|
@ -17,7 +17,8 @@
|
||||||
limitations under the License.
|
limitations under the License.
|
||||||
-->
|
-->
|
||||||
|
|
||||||
<project name="core" default="default" basedir=".">
|
<project name="core" default="default" basedir="."
|
||||||
|
xmlns:artifact="antlib:org.apache.maven.artifact.ant">
|
||||||
|
|
||||||
<property name="junit.includes" value="**/Test*.java"/>
|
<property name="junit.includes" value="**/Test*.java"/>
|
||||||
|
|
||||||
|
@ -32,12 +33,13 @@
|
||||||
<path refid="classpath"/>
|
<path refid="classpath"/>
|
||||||
<path refid="junit-path"/>
|
<path refid="junit-path"/>
|
||||||
<path refid="ant-path"/>
|
<path refid="ant-path"/>
|
||||||
|
<pathelement location="${build.dir}/classes/test-framework"/>
|
||||||
<pathelement location="${build.dir}/classes/test"/>
|
<pathelement location="${build.dir}/classes/test"/>
|
||||||
</path>
|
</path>
|
||||||
|
|
||||||
|
|
||||||
<path id="junit.classpath">
|
<path id="junit.classpath">
|
||||||
<path refid="junit-path"/>
|
<path refid="junit-path"/>
|
||||||
|
<pathelement location="${build.dir}/classes/test-framework"/>
|
||||||
<pathelement location="${build.dir}/classes/test"/>
|
<pathelement location="${build.dir}/classes/test"/>
|
||||||
<pathelement location="${build.dir}/classes/java"/>
|
<pathelement location="${build.dir}/classes/java"/>
|
||||||
<pathelement path="${java.class.path}"/>
|
<pathelement path="${java.class.path}"/>
|
||||||
|
@ -153,7 +155,7 @@
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<target name="javadocs" description="Generate javadoc"
|
<target name="javadocs" description="Generate javadoc"
|
||||||
depends="javadocs-all, javadocs-core, javadocs-contrib">
|
depends="javadocs-all, javadocs-core, javadocs-contrib, javadocs-test-framework">
|
||||||
<echo file="${javadoc.dir}/index.html" append="false">
|
<echo file="${javadoc.dir}/index.html" append="false">
|
||||||
<![CDATA[<html><head><title>${Name} ${version} Javadoc Index</title></head>
|
<![CDATA[<html><head><title>${Name} ${version} Javadoc Index</title></head>
|
||||||
<body>
|
<body>
|
||||||
|
@ -259,7 +261,7 @@
|
||||||
<!-- ================================================================== -->
|
<!-- ================================================================== -->
|
||||||
<!-- -->
|
<!-- -->
|
||||||
<!-- ================================================================== -->
|
<!-- ================================================================== -->
|
||||||
<target name="package" depends="jar-core, jar-core-test, javadocs, build-contrib, init-dist, changes-to-html"/>
|
<target name="package" depends="jar-core, jar-test-framework, javadocs, build-contrib, init-dist, changes-to-html"/>
|
||||||
|
|
||||||
<target name="nightly" depends="test, package-tgz">
|
<target name="nightly" depends="test, package-tgz">
|
||||||
</target>
|
</target>
|
||||||
|
@ -389,7 +391,7 @@
|
||||||
|
|
||||||
<target name="dist-all" depends="dist, dist-src"/>
|
<target name="dist-all" depends="dist, dist-src"/>
|
||||||
|
|
||||||
<target name="generate-maven-artifacts" depends="maven.ant.tasks-check, package, jar-src, javadocs">
|
<target name="generate-maven-artifacts" depends="maven.ant.tasks-check, package, jar-src, jar-test-framework-src, javadocs">
|
||||||
<sequential>
|
<sequential>
|
||||||
<ant target="get-maven-poms" dir=".."/>
|
<ant target="get-maven-poms" dir=".."/>
|
||||||
|
|
||||||
|
@ -405,6 +407,22 @@
|
||||||
classifier="tests"/>
|
classifier="tests"/>
|
||||||
</artifact-attachments>
|
</artifact-attachments>
|
||||||
</m2-deploy>
|
</m2-deploy>
|
||||||
|
|
||||||
|
<artifact:install-provider artifactId="wagon-ssh" version="1.0-beta-7"/>
|
||||||
|
<artifact:pom id="test-framework-pom" file="src/test-framework/pom.xml"/>
|
||||||
|
<artifact:deploy>
|
||||||
|
<attach file="${build.dir}/${final.name}-tests.jar"
|
||||||
|
classifier="tests" />
|
||||||
|
<attach file="${build.dir}/${final.name}-tests-src.jar"
|
||||||
|
classifier="test-sources"/>
|
||||||
|
<attach file="${build.dir}/${final.name}-tests-javadoc.jar"
|
||||||
|
classifier="test-javadoc"/>
|
||||||
|
<remoteRepository url="${m2.repository.url}">
|
||||||
|
<authentication username="${m2.repository.username}" privateKey="${m2.repository.private.key}"/>
|
||||||
|
</remoteRepository>
|
||||||
|
<pom refid="test-framework-pom"/>
|
||||||
|
</artifact:deploy>
|
||||||
|
|
||||||
<contrib-crawl target="dist-maven"/>
|
<contrib-crawl target="dist-maven"/>
|
||||||
</sequential>
|
</sequential>
|
||||||
</target>
|
</target>
|
||||||
|
@ -602,16 +620,30 @@
|
||||||
<patch patchfile="${patch.file}" strip="0"/>
|
<patch patchfile="${patch.file}" strip="0"/>
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<target name="jar-core-test" depends="compile-test">
|
<target name="jar-test-framework" depends="compile-test-framework">
|
||||||
<!-- load the list of test files into a property named core.test.files -->
|
<jarify basedir="${build.dir}/classes/test-framework" destfile="${build.dir}/${final.name}-tests.jar"
|
||||||
<property file="../dev-tools/testjar/testfiles" />
|
title="Lucene Search Engine: Test Framework" />
|
||||||
<!-- copy the files so that we can compile and include both .java and .class in the jar -->
|
</target>
|
||||||
<copy todir="${build.dir}/testjar" >
|
|
||||||
<fileset dir="src/test" includes="${core.test.files}" />
|
<target name="javadocs-test-framework">
|
||||||
</copy>
|
<sequential>
|
||||||
<compile-test-macro srcdir="${build.dir}/testjar" destdir="${build.dir}/testjar"
|
<mkdir dir="${javadoc.dir}/test-framework"/>
|
||||||
test.classpath="test.classpath"/>
|
<invoke-javadoc
|
||||||
<jarify basedir="${build.dir}/testjar" destfile="${build.dir}/${final.name}-tests.jar"/>
|
destdir="${javadoc.dir}/test-framework"
|
||||||
|
title="${Name} ${version} Test Framework API">
|
||||||
|
<sources>
|
||||||
|
<packageset dir="src/test-framework"/>
|
||||||
|
<link href=""/>
|
||||||
|
</sources>
|
||||||
|
</invoke-javadoc>
|
||||||
|
<jarify basedir="${javadoc.dir}/test-framework" destfile="${build.dir}/${final.name}-tests-javadoc.jar"
|
||||||
|
title="Lucene Search Engine: Test Framework" />
|
||||||
|
</sequential>
|
||||||
|
</target>
|
||||||
|
|
||||||
|
<target name="jar-test-framework-src" depends="init">
|
||||||
|
<jarify basedir="${tests-framework.src.dir}" destfile="${build.dir}/${final.name}-tests-src.jar"
|
||||||
|
title="Lucene Search Engine: Test Framework" />
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
</project>
|
</project>
|
||||||
|
|
|
@ -113,6 +113,7 @@
|
||||||
|
|
||||||
<property name="src.dir" location="src/java"/>
|
<property name="src.dir" location="src/java"/>
|
||||||
<property name="tests.src.dir" location="src/test"/>
|
<property name="tests.src.dir" location="src/test"/>
|
||||||
|
<property name="tests-framework.src.dir" location="${common.dir}/src/test-framework"/>
|
||||||
<property name="build.dir" location="build"/>
|
<property name="build.dir" location="build"/>
|
||||||
<property name="dist.dir" location="dist"/>
|
<property name="dist.dir" location="dist"/>
|
||||||
<property name="maven.dist.dir" location="dist/maven"/>
|
<property name="maven.dist.dir" location="dist/maven"/>
|
||||||
|
@ -363,6 +364,8 @@
|
||||||
<macrodef name="jarify" description="Builds a JAR file">
|
<macrodef name="jarify" description="Builds a JAR file">
|
||||||
<attribute name="basedir" default="${build.dir}/classes/java"/>
|
<attribute name="basedir" default="${build.dir}/classes/java"/>
|
||||||
<attribute name="destfile" default="${build.dir}/${final.name}.jar"/>
|
<attribute name="destfile" default="${build.dir}/${final.name}.jar"/>
|
||||||
|
<attribute name="title" default="Lucene Search Engine: ${ant.project.name}"/>
|
||||||
|
<attribute name="excludes" default="**/pom.xml"/>
|
||||||
<element name="manifest-attributes" optional="yes"/>
|
<element name="manifest-attributes" optional="yes"/>
|
||||||
<element name="metainf-includes" optional="yes"/>
|
<element name="metainf-includes" optional="yes"/>
|
||||||
<sequential>
|
<sequential>
|
||||||
|
@ -372,12 +375,13 @@
|
||||||
<arg line="."/>
|
<arg line="."/>
|
||||||
</exec>
|
</exec>
|
||||||
|
|
||||||
<build-manifest/>
|
<build-manifest title="@{title}"/>
|
||||||
|
|
||||||
<jar
|
<jar
|
||||||
destfile="@{destfile}"
|
destfile="@{destfile}"
|
||||||
basedir="@{basedir}"
|
basedir="@{basedir}"
|
||||||
manifest="${manifest.file}">
|
manifest="${manifest.file}"
|
||||||
|
excludes="@{excludes}">
|
||||||
<manifest>
|
<manifest>
|
||||||
<manifest-attributes/>
|
<manifest-attributes/>
|
||||||
</manifest>
|
</manifest>
|
||||||
|
@ -390,7 +394,12 @@
|
||||||
</sequential>
|
</sequential>
|
||||||
</macrodef>
|
</macrodef>
|
||||||
|
|
||||||
<target name="compile-test" depends="compile-core">
|
<target name="compile-test-framework" depends="compile-core">
|
||||||
|
<compile-test-macro srcdir="${tests-framework.src.dir}" destdir="${common.dir}/build/classes/test-framework"
|
||||||
|
test.classpath="test.classpath"/>
|
||||||
|
</target>
|
||||||
|
|
||||||
|
<target name="compile-test" depends="compile-test-framework">
|
||||||
<compile-test-macro srcdir="${tests.src.dir}" destdir="${build.dir}/classes/test"
|
<compile-test-macro srcdir="${tests.src.dir}" destdir="${build.dir}/classes/test"
|
||||||
test.classpath="test.classpath"/>
|
test.classpath="test.classpath"/>
|
||||||
</target>
|
</target>
|
||||||
|
@ -553,6 +562,9 @@
|
||||||
<fileset dir="${src.dir}">
|
<fileset dir="${src.dir}">
|
||||||
<include name="org/apache/**/*.java" />
|
<include name="org/apache/**/*.java" />
|
||||||
</fileset>
|
</fileset>
|
||||||
|
<testsources dir="${tests-framework.src.dir}">
|
||||||
|
<include name="org/apache/**/*.java" />
|
||||||
|
</testsources>
|
||||||
<testsources dir="${tests.src.dir}">
|
<testsources dir="${tests.src.dir}">
|
||||||
<include name="org/apache/**/*.java" />
|
<include name="org/apache/**/*.java" />
|
||||||
</testsources>
|
</testsources>
|
||||||
|
@ -583,6 +595,9 @@
|
||||||
<fileset dir="contrib" id="clover.contrib.test.src.files">
|
<fileset dir="contrib" id="clover.contrib.test.src.files">
|
||||||
<include name="**/test/**/*.java"/>
|
<include name="**/test/**/*.java"/>
|
||||||
</fileset>
|
</fileset>
|
||||||
|
<fileset dir="${tests-framework.src.dir}" id="clover.test.src.files">
|
||||||
|
<include name="**/*.java" />
|
||||||
|
</fileset>
|
||||||
<fileset dir="${tests.src.dir}" id="clover.test.src.files">
|
<fileset dir="${tests.src.dir}" id="clover.test.src.files">
|
||||||
<include name="**/*.java" />
|
<include name="**/*.java" />
|
||||||
</fileset>
|
</fileset>
|
||||||
|
@ -653,6 +668,7 @@
|
||||||
description="runs the tasks over source and test files">
|
description="runs the tasks over source and test files">
|
||||||
<rat:report xmlns:rat="antlib:org.apache.rat.anttasks">
|
<rat:report xmlns:rat="antlib:org.apache.rat.anttasks">
|
||||||
<fileset dir="${src.dir}"/>
|
<fileset dir="${src.dir}"/>
|
||||||
|
<fileset dir="${tests-framework.src.dir}"/>
|
||||||
<fileset dir="${tests.src.dir}"/>
|
<fileset dir="${tests.src.dir}"/>
|
||||||
</rat:report>
|
</rat:report>
|
||||||
</target>
|
</target>
|
||||||
|
|
|
@ -40,6 +40,7 @@
|
||||||
|
|
||||||
<path id="test.base.classpath">
|
<path id="test.base.classpath">
|
||||||
<path refid="classpath"/>
|
<path refid="classpath"/>
|
||||||
|
<pathelement location="${common.dir}/build/classes/test-framework"/>
|
||||||
<pathelement location="${common.dir}/build/classes/test"/>
|
<pathelement location="${common.dir}/build/classes/test"/>
|
||||||
<path refid="junit-path"/>
|
<path refid="junit-path"/>
|
||||||
<pathelement location="${build.dir}/classes/java"/>
|
<pathelement location="${build.dir}/classes/java"/>
|
||||||
|
@ -50,7 +51,6 @@
|
||||||
<path id="junit.classpath">
|
<path id="junit.classpath">
|
||||||
<path refid="test.classpath"/>
|
<path refid="test.classpath"/>
|
||||||
<pathelement location="${build.dir}/classes/test"/>
|
<pathelement location="${build.dir}/classes/test"/>
|
||||||
<pathelement location="${build.dir}/classes/java"/>
|
|
||||||
<pathelement path="${java.class.path}"/>
|
<pathelement path="${java.class.path}"/>
|
||||||
</path>
|
</path>
|
||||||
|
|
||||||
|
|
|
@ -39,13 +39,6 @@
|
||||||
|
|
||||||
<import file="../../contrib-build.xml" />
|
<import file="../../contrib-build.xml" />
|
||||||
|
|
||||||
<path id="test.classpath">
|
|
||||||
<path refid="classpath"/>
|
|
||||||
<pathelement location="../../../build/classes/test/"/>
|
|
||||||
<path refid="junit-path"/>
|
|
||||||
<pathelement location="${build.dir}/classes/java"/>
|
|
||||||
</path>
|
|
||||||
|
|
||||||
<target name="get-je-jar" unless="je.jar.exists">
|
<target name="get-je-jar" unless="je.jar.exists">
|
||||||
<mkdir dir="lib" />
|
<mkdir dir="lib" />
|
||||||
<get src="http://download.oracle.com/maven/com/sleepycat/je/${je.version}/je-${je.version}.jar"
|
<get src="http://download.oracle.com/maven/com/sleepycat/je/${je.version}/je-${je.version}.jar"
|
||||||
|
|
|
@ -39,13 +39,6 @@
|
||||||
|
|
||||||
<import file="../../contrib-build.xml" />
|
<import file="../../contrib-build.xml" />
|
||||||
|
|
||||||
<path id="test.classpath">
|
|
||||||
<path refid="classpath"/>
|
|
||||||
<pathelement location="../../../build/classes/test/"/>
|
|
||||||
<path refid="junit-path"/>
|
|
||||||
<pathelement location="${build.dir}/classes/java"/>
|
|
||||||
</path>
|
|
||||||
|
|
||||||
<target name="get-db-jar" unless="db.jar.exists">
|
<target name="get-db-jar" unless="db.jar.exists">
|
||||||
<mkdir dir="lib" />
|
<mkdir dir="lib" />
|
||||||
<get src="http://downloads.osafoundation.org/db/db-${db.version}.jar"
|
<get src="http://downloads.osafoundation.org/db/db-${db.version}.jar"
|
||||||
|
|
|
@ -30,6 +30,7 @@
|
||||||
|
|
||||||
<path id="test.classpath">
|
<path id="test.classpath">
|
||||||
<path refid="classpath"/>
|
<path refid="classpath"/>
|
||||||
|
<pathelement location="../../../lucene/build/classes/test-framework"/>
|
||||||
<pathelement location="../../../lucene/build/classes/test/"/>
|
<pathelement location="../../../lucene/build/classes/test/"/>
|
||||||
<path refid="junit-path"/>
|
<path refid="junit-path"/>
|
||||||
<pathelement location="${build.dir}/classes/java"/>
|
<pathelement location="${build.dir}/classes/java"/>
|
||||||
|
|
|
@ -49,6 +49,7 @@
|
||||||
<path id="test.classpath">
|
<path id="test.classpath">
|
||||||
<pathelement path="${analyzers-common.jar}"/>
|
<pathelement path="${analyzers-common.jar}"/>
|
||||||
<path refid="classpath"/>
|
<path refid="classpath"/>
|
||||||
|
<pathelement location="../../../lucene/build/classes/test-framework/"/>
|
||||||
<pathelement location="../../../lucene/build/classes/test/"/>
|
<pathelement location="../../../lucene/build/classes/test/"/>
|
||||||
<pathelement location="../build/common/classes/test/"/>
|
<pathelement location="../build/common/classes/test/"/>
|
||||||
<path refid="junit-path"/>
|
<path refid="junit-path"/>
|
||||||
|
|
|
@ -48,6 +48,7 @@
|
||||||
<path id="test.classpath">
|
<path id="test.classpath">
|
||||||
<pathelement path="${analyzers-common.jar}"/>
|
<pathelement path="${analyzers-common.jar}"/>
|
||||||
<path refid="classpath"/>
|
<path refid="classpath"/>
|
||||||
|
<pathelement location="../../../lucene/build/classes/test-framework/"/>
|
||||||
<pathelement location="../../../lucene/build/classes/test/"/>
|
<pathelement location="../../../lucene/build/classes/test/"/>
|
||||||
<pathelement location="../build/common/classes/test/"/>
|
<pathelement location="../build/common/classes/test/"/>
|
||||||
<path refid="junit-path"/>
|
<path refid="junit-path"/>
|
||||||
|
|
|
@ -39,6 +39,7 @@
|
||||||
<path id="test.classpath">
|
<path id="test.classpath">
|
||||||
<pathelement path="${analyzers-common.jar}"/>
|
<pathelement path="${analyzers-common.jar}"/>
|
||||||
<path refid="classpath"/>
|
<path refid="classpath"/>
|
||||||
|
<pathelement location="../../../lucene/build/classes/test-framework"/>
|
||||||
<pathelement location="../../../lucene/build/classes/test/"/>
|
<pathelement location="../../../lucene/build/classes/test/"/>
|
||||||
<path refid="junit-path"/>
|
<path refid="junit-path"/>
|
||||||
<pathelement location="${build.dir}/classes/java"/>
|
<pathelement location="${build.dir}/classes/java"/>
|
||||||
|
|
|
@ -38,6 +38,7 @@
|
||||||
|
|
||||||
<path id="test.classpath">
|
<path id="test.classpath">
|
||||||
<path refid="classpath"/>
|
<path refid="classpath"/>
|
||||||
|
<pathelement location="../../../lucene/build/classes/test-framework"/>
|
||||||
<pathelement location="../../../lucene/build/classes/test/"/>
|
<pathelement location="../../../lucene/build/classes/test/"/>
|
||||||
<path refid="junit-path"/>
|
<path refid="junit-path"/>
|
||||||
<pathelement location="${build.dir}/classes/java"/>
|
<pathelement location="${build.dir}/classes/java"/>
|
||||||
|
|
|
@ -342,7 +342,7 @@
|
||||||
<path refid="compile.classpath.solrj" />
|
<path refid="compile.classpath.solrj" />
|
||||||
<pathelement location="${dest}/solr"/>
|
<pathelement location="${dest}/solr"/>
|
||||||
<pathelement location="${dest}/solrj"/> <!-- include solrj -->
|
<pathelement location="${dest}/solrj"/> <!-- include solrj -->
|
||||||
<pathelement location="${common-solr.dir}/../lucene/build/classes/test" /> <!-- include some lucene test code -->
|
<pathelement location="${common-solr.dir}/../lucene/build/classes/test-framework" /> <!-- include some lucene test code -->
|
||||||
</path>
|
</path>
|
||||||
|
|
||||||
<path id="test.run.classpath">
|
<path id="test.run.classpath">
|
||||||
|
@ -350,7 +350,7 @@
|
||||||
<pathelement location="${dest}/tests"/>
|
<pathelement location="${dest}/tests"/>
|
||||||
<!-- include the solrj classpath and jetty files included in example -->
|
<!-- include the solrj classpath and jetty files included in example -->
|
||||||
<path refid="compile.classpath.solrj" />
|
<path refid="compile.classpath.solrj" />
|
||||||
<pathelement location="${common-solr.dir}/../lucene/build/classes/test" /> <!-- include some lucene test code -->
|
<pathelement location="${common-solr.dir}/../lucene/build/classes/test-framework" /> <!-- include some lucene test code -->
|
||||||
<pathelement path="${java.class.path}"/>
|
<pathelement path="${java.class.path}"/>
|
||||||
</path>
|
</path>
|
||||||
|
|
||||||
|
|
|
@ -73,7 +73,7 @@
|
||||||
<pathelement path="${dest}/test-classes"/>
|
<pathelement path="${dest}/test-classes"/>
|
||||||
<pathelement path="${java.class.path}"/>
|
<pathelement path="${java.class.path}"/>
|
||||||
<pathelement location="${common-solr.dir}/build/tests"/> <!-- include solr test code -->
|
<pathelement location="${common-solr.dir}/build/tests"/> <!-- include solr test code -->
|
||||||
<pathelement location="${common-solr.dir}/../lucene/build/classes/test" /> <!-- include some lucene test code -->
|
<pathelement location="${common-solr.dir}/../lucene/build/classes/test-framework" /> <!-- include some lucene test code -->
|
||||||
<path refid="common.classpath"/>
|
<path refid="common.classpath"/>
|
||||||
</path>
|
</path>
|
||||||
|
|
||||||
|
|
|
@ -42,7 +42,7 @@
|
||||||
<pathelement path="${dest}/test-classes"/>
|
<pathelement path="${dest}/test-classes"/>
|
||||||
<pathelement path="${java.class.path}"/>
|
<pathelement path="${java.class.path}"/>
|
||||||
<pathelement location="${common-solr.dir}/build/tests"/> <!-- include solr test code -->
|
<pathelement location="${common-solr.dir}/build/tests"/> <!-- include solr test code -->
|
||||||
<pathelement location="${common-solr.dir}/../lucene/build/classes/test" /> <!-- include some lucene test code -->
|
<pathelement location="${common-solr.dir}/../lucene/build/classes/test-framework" /> <!-- include some lucene test code -->
|
||||||
<path refid="common.classpath"/>
|
<path refid="common.classpath"/>
|
||||||
<!-- DistributedClusteringComponentTest uses Jetty -->
|
<!-- DistributedClusteringComponentTest uses Jetty -->
|
||||||
<fileset dir="${solr-path}/example/lib">
|
<fileset dir="${solr-path}/example/lib">
|
||||||
|
|
|
@ -56,7 +56,7 @@
|
||||||
<pathelement path="target/classes" />
|
<pathelement path="target/classes" />
|
||||||
<pathelement path="target/test-classes" />
|
<pathelement path="target/test-classes" />
|
||||||
<pathelement location="${solr-path}/build/tests"/> <!-- include solr test code -->
|
<pathelement location="${solr-path}/build/tests"/> <!-- include solr test code -->
|
||||||
<pathelement location="${solr-path}/../lucene/build/classes/test" /> <!-- include some lucene test code -->
|
<pathelement location="${solr-path}/../lucene/build/classes/test-framework" /> <!-- include some lucene test code -->
|
||||||
<pathelement path="${java.class.path}"/>
|
<pathelement path="${java.class.path}"/>
|
||||||
</path>
|
</path>
|
||||||
|
|
||||||
|
@ -68,7 +68,7 @@
|
||||||
<pathelement path="target/test-classes" />
|
<pathelement path="target/test-classes" />
|
||||||
<pathelement path="target/extras/test-classes" />
|
<pathelement path="target/extras/test-classes" />
|
||||||
<pathelement location="${solr-path}/build/tests"/> <!-- include solr test code -->
|
<pathelement location="${solr-path}/build/tests"/> <!-- include solr test code -->
|
||||||
<pathelement location="${solr-path}/../lucene/build/classes/test" /> <!-- include some lucene test code -->
|
<pathelement location="${solr-path}/../lucene/build/classes/test-framework" /> <!-- include some lucene test code -->
|
||||||
<pathelement path="${java.class.path}"/>
|
<pathelement path="${java.class.path}"/>
|
||||||
</path>
|
</path>
|
||||||
|
|
||||||
|
|
|
@ -40,7 +40,7 @@
|
||||||
<pathelement path="${dest}/classes" />
|
<pathelement path="${dest}/classes" />
|
||||||
<pathelement path="${dest}/test-classes" />
|
<pathelement path="${dest}/test-classes" />
|
||||||
<pathelement location="${solr-path}/build/tests"/> <!-- include solr test code -->
|
<pathelement location="${solr-path}/build/tests"/> <!-- include solr test code -->
|
||||||
<pathelement location="${solr-path}/../lucene/build/classes/test" /> <!-- include some lucene test code -->
|
<pathelement location="${solr-path}/../lucene/build/classes/test-framework" /> <!-- include some lucene test code -->
|
||||||
<pathelement path="${java.class.path}"/>
|
<pathelement path="${java.class.path}"/>
|
||||||
</path>
|
</path>
|
||||||
|
|
||||||
|
|
|
@ -41,7 +41,7 @@
|
||||||
<pathelement path="${dest}/classes" />
|
<pathelement path="${dest}/classes" />
|
||||||
<pathelement path="${dest}/test-classes" />
|
<pathelement path="${dest}/test-classes" />
|
||||||
<pathelement location="${solr-path}/build/tests"/> <!-- include solr test code -->
|
<pathelement location="${solr-path}/build/tests"/> <!-- include solr test code -->
|
||||||
<pathelement location="${solr-path}/../lucene/build/classes/test" /> <!-- include some lucene test code -->
|
<pathelement location="${solr-path}/../lucene/build/classes/test-framework" /> <!-- include some lucene test code -->
|
||||||
<pathelement path="${java.class.path}"/>
|
<pathelement path="${java.class.path}"/>
|
||||||
</path>
|
</path>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue