Skip to content

Apache Lucene open-source search software

add ivy-check for these special inline usages too

Robert Muir7a99baf9823f
diff --git a/lucene/common-build.xml b/lucene/common-build.xml
index e3864e1d145..9cd5d57914c 100644
--- a/lucene/common-build.xml
+++ b/lucene/common-build.xml
@@ -841,7 +841,7 @@
<fail message="You must redefine the javadocs task to do something!!!!!"/>
</target>
- <target name="install-maven-tasks" unless="maven-tasks.uptodate">
+ <target name="install-maven-tasks" unless="maven-tasks.uptodate" depends="ivy-availability-check,ivy-fail">
<property name="maven-tasks.uptodate" value="true"/>
<ivy:cachepath organisation="org.apache.maven" module="maven-ant-tasks" revision="2.1.3"
inline="true" conf="master" type="jar" pathid="maven-ant-tasks.classpath"/>
@@ -900,6 +900,7 @@
<property name="deployed.grandparent.pom.uptodate" value="true"/>
</target>
+ <!-- TODO: add cool detector like the ivy one? this requires you have rat -->
<target name="rat-sources-typedef">
<typedef resource="org/apache/rat/anttasks/antlib.xml" uri="antlib:rat.anttasks">
<classpath>
diff --git a/lucene/contrib/misc/build.xml b/lucene/contrib/misc/build.xml
index 6e38aa9a297..b2eaf71b778 100644
--- a/lucene/contrib/misc/build.xml
+++ b/lucene/contrib/misc/build.xml
@@ -27,7 +27,7 @@
<import file="../contrib-build.xml"/>
- <target name="install-cpptasks" unless="cpptasks.uptodate">
+ <target name="install-cpptasks" unless="cpptasks.uptodate" depends="ivy-availability-check,ivy-fail">
<property name="cpptasks.uptodate" value="true"/>
<ivy:cachepath organisation="ant-contrib" module="cpptasks" revision="1.0b5"
inline="true" conf="master" type="jar" pathid="cpptasks.classpath"/>