2010-05-03 12:44:22 +00:00
|
|
|
<?xml version="1.0"?>
|
|
|
|
|
|
|
|
<!--
|
|
|
|
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.
|
|
|
|
-->
|
|
|
|
|
2010-05-05 14:26:59 +00:00
|
|
|
<project name="modules" default="test" basedir=".">
|
2011-06-29 21:02:07 +00:00
|
|
|
<!-- TODO: at some point we should probably iterate like contrib-crawl -->
|
2010-05-05 14:26:59 +00:00
|
|
|
<target name="test" description="Test all modules">
|
|
|
|
<sequential>
|
|
|
|
<subant target="test" inheritall="false" failonerror="true">
|
|
|
|
<fileset dir="analysis" includes="build.xml" />
|
2011-01-04 12:28:10 +00:00
|
|
|
<fileset dir="benchmark" includes="build.xml" />
|
2011-06-29 21:02:07 +00:00
|
|
|
<fileset dir="facet" includes="build.xml" />
|
2011-10-06 20:09:36 +00:00
|
|
|
<fileset dir="queries" includes="build.xml" />
|
2011-05-14 10:48:29 +00:00
|
|
|
<fileset dir="grouping" includes="build.xml" />
|
2011-06-28 21:20:18 +00:00
|
|
|
<fileset dir="join" includes="build.xml" />
|
2011-07-11 03:37:00 +00:00
|
|
|
<fileset dir="queryparser" includes="build.xml" />
|
2011-05-23 18:33:53 +00:00
|
|
|
<fileset dir="suggest" includes="build.xml" />
|
2010-05-05 14:26:59 +00:00
|
|
|
</subant>
|
|
|
|
</sequential>
|
|
|
|
</target>
|
2010-05-03 12:44:22 +00:00
|
|
|
|
2011-05-31 00:08:14 +00:00
|
|
|
<target name="compile" description="Compile all modules" depends="validate">
|
2010-05-05 14:26:59 +00:00
|
|
|
<sequential>
|
|
|
|
<subant target="compile" inheritall="false" failonerror="true">
|
|
|
|
<fileset dir="analysis" includes="build.xml" />
|
2011-01-04 12:28:10 +00:00
|
|
|
<fileset dir="benchmark" includes="build.xml" />
|
2011-06-29 21:02:07 +00:00
|
|
|
<fileset dir="facet" includes="build.xml" />
|
2011-10-06 20:09:36 +00:00
|
|
|
<fileset dir="queries" includes="build.xml" />
|
2011-05-14 10:48:29 +00:00
|
|
|
<fileset dir="grouping" includes="build.xml" />
|
2011-06-28 21:20:18 +00:00
|
|
|
<fileset dir="join" includes="build.xml" />
|
2011-07-11 03:37:00 +00:00
|
|
|
<fileset dir="queryparser" includes="build.xml" />
|
2011-05-23 18:33:53 +00:00
|
|
|
<fileset dir="suggest" includes="build.xml" />
|
2010-05-05 14:26:59 +00:00
|
|
|
</subant>
|
|
|
|
</sequential>
|
|
|
|
</target>
|
|
|
|
|
2010-10-07 15:13:43 +00:00
|
|
|
<target name="compile-test" description="Compile all tests">
|
|
|
|
<sequential>
|
|
|
|
<subant target="compile-test" inheritall="false" failonerror="true">
|
|
|
|
<fileset dir="analysis" includes="build.xml" />
|
2011-01-04 12:28:10 +00:00
|
|
|
<fileset dir="benchmark" includes="build.xml" />
|
2011-06-29 21:02:07 +00:00
|
|
|
<fileset dir="facet" includes="build.xml" />
|
2011-10-06 20:09:36 +00:00
|
|
|
<fileset dir="queries" includes="build.xml" />
|
2011-05-14 10:48:29 +00:00
|
|
|
<fileset dir="grouping" includes="build.xml" />
|
2011-06-28 21:20:18 +00:00
|
|
|
<fileset dir="join" includes="build.xml" />
|
2011-07-11 03:37:00 +00:00
|
|
|
<fileset dir="queryparser" includes="build.xml" />
|
2011-05-23 18:33:53 +00:00
|
|
|
<fileset dir="suggest" includes="build.xml" />
|
2010-10-07 15:13:43 +00:00
|
|
|
</subant>
|
|
|
|
</sequential>
|
|
|
|
</target>
|
|
|
|
|
2010-10-07 15:23:54 +00:00
|
|
|
<target name="javadocs" description="Generate javadocs">
|
|
|
|
<sequential>
|
|
|
|
<subant target="javadocs" inheritall="false" failonerror="true">
|
|
|
|
<fileset dir="analysis" includes="build.xml" />
|
2011-01-04 12:28:10 +00:00
|
|
|
<fileset dir="benchmark" includes="build.xml" />
|
2011-06-29 21:02:07 +00:00
|
|
|
<fileset dir="facet" includes="build.xml" />
|
2011-10-06 20:09:36 +00:00
|
|
|
<fileset dir="queries" includes="build.xml" />
|
2011-05-14 10:48:29 +00:00
|
|
|
<fileset dir="grouping" includes="build.xml" />
|
2011-06-28 21:20:18 +00:00
|
|
|
<fileset dir="join" includes="build.xml" />
|
2011-07-11 03:37:00 +00:00
|
|
|
<fileset dir="queryparser" includes="build.xml" />
|
2011-05-23 18:33:53 +00:00
|
|
|
<fileset dir="suggest" includes="build.xml" />
|
2010-10-07 15:23:54 +00:00
|
|
|
</subant>
|
|
|
|
</sequential>
|
|
|
|
</target>
|
|
|
|
|
2010-08-19 19:58:36 +00:00
|
|
|
<target name="generate-maven-artifacts" description="Generate Maven Artifacts for Modules">
|
|
|
|
<sequential>
|
2011-01-24 19:33:14 +00:00
|
|
|
<ant target="get-maven-poms" dir=".."/>
|
2010-08-19 19:58:36 +00:00
|
|
|
<subant target="dist-maven" inheritall="false" failonerror="true">
|
|
|
|
<fileset dir="analysis" includes="build.xml" />
|
2011-01-04 12:28:10 +00:00
|
|
|
<fileset dir="benchmark" includes="build.xml" />
|
2011-06-29 21:02:07 +00:00
|
|
|
<fileset dir="facet" includes="build.xml" />
|
2011-10-06 20:09:36 +00:00
|
|
|
<fileset dir="queries" includes="build.xml" />
|
2011-05-14 10:48:29 +00:00
|
|
|
<fileset dir="grouping" includes="build.xml" />
|
2011-06-28 21:20:18 +00:00
|
|
|
<fileset dir="join" includes="build.xml" />
|
2011-07-11 03:37:00 +00:00
|
|
|
<fileset dir="queryparser" includes="build.xml" />
|
2011-05-23 18:33:53 +00:00
|
|
|
<fileset dir="suggest" includes="build.xml" />
|
2010-08-19 19:58:36 +00:00
|
|
|
</subant>
|
|
|
|
</sequential>
|
|
|
|
</target>
|
2011-05-31 00:08:14 +00:00
|
|
|
<target name="validate">
|
|
|
|
<sequential>
|
|
|
|
<subant target="validate" inheritall="false" failonerror="true">
|
|
|
|
<fileset dir="analysis" includes="build.xml" />
|
|
|
|
<fileset dir="benchmark" includes="build.xml" />
|
2011-06-29 21:02:07 +00:00
|
|
|
<fileset dir="facet" includes="build.xml" />
|
2011-10-06 20:09:36 +00:00
|
|
|
<fileset dir="queries" includes="build.xml" />
|
2011-05-31 00:08:14 +00:00
|
|
|
<fileset dir="grouping" includes="build.xml" />
|
2011-06-28 21:20:18 +00:00
|
|
|
<fileset dir="join" includes="build.xml" />
|
2011-07-11 03:37:00 +00:00
|
|
|
<fileset dir="queryparser" includes="build.xml" />
|
2011-05-31 00:08:14 +00:00
|
|
|
<fileset dir="suggest" includes="build.xml" />
|
|
|
|
</subant>
|
|
|
|
</sequential>
|
2011-03-18 18:40:02 +00:00
|
|
|
</target>
|
2010-08-19 19:58:36 +00:00
|
|
|
|
2010-05-05 14:26:59 +00:00
|
|
|
<target name="clean" description="Clean all modules">
|
|
|
|
<sequential>
|
2011-01-23 01:42:19 +00:00
|
|
|
<delete dir="dist"/>
|
2010-05-05 14:26:59 +00:00
|
|
|
<subant target="clean" inheritall="false" failonerror="true">
|
|
|
|
<fileset dir="analysis" includes="build.xml" />
|
2011-01-04 12:28:10 +00:00
|
|
|
<fileset dir="benchmark" includes="build.xml" />
|
2011-06-29 21:02:07 +00:00
|
|
|
<fileset dir="facet" includes="build.xml" />
|
2011-10-06 20:09:36 +00:00
|
|
|
<fileset dir="queries" includes="build.xml" />
|
2011-05-14 10:48:29 +00:00
|
|
|
<fileset dir="grouping" includes="build.xml" />
|
2011-06-28 21:20:18 +00:00
|
|
|
<fileset dir="join" includes="build.xml" />
|
2011-07-11 03:37:00 +00:00
|
|
|
<fileset dir="queryparser" includes="build.xml" />
|
2011-05-23 18:33:53 +00:00
|
|
|
<fileset dir="suggest" includes="build.xml" />
|
2010-05-05 14:26:59 +00:00
|
|
|
</subant>
|
|
|
|
</sequential>
|
|
|
|
</target>
|
2010-05-03 12:44:22 +00:00
|
|
|
|
|
|
|
</project>
|