mirror of https://github.com/apache/lucene.git
LUCENE-5467: Add "ant clean-jars" to make a complete renewal with IVY resolve possible.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1571109 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
f473a11126
commit
97fc4a3e55
12
build.xml
12
build.xml
|
@ -322,6 +322,18 @@ File | Project Structure | Platform Settings | SDKs):
|
||||||
</subant>
|
</subant>
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
|
<target name="clean-jars" description="Remove all JAR files from lib folders in the checkout">
|
||||||
|
<delete failonerror="true">
|
||||||
|
<fileset dir=".">
|
||||||
|
<include name="**/*.jar"/>
|
||||||
|
<exclude name="*/build/**"/>
|
||||||
|
<exclude name="*/dist/**"/>
|
||||||
|
<exclude name="*/package/**"/>
|
||||||
|
<exclude name="*/example/exampledocs/**"/>
|
||||||
|
</fileset>
|
||||||
|
</delete>
|
||||||
|
</target>
|
||||||
|
|
||||||
<target name="ivy-bootstrap" description="Download and install Ivy in the users ant lib dir">
|
<target name="ivy-bootstrap" description="Download and install Ivy in the users ant lib dir">
|
||||||
<subant buildpath="lucene" target="ivy-bootstrap" inheritall="false" failonerror="true"/>
|
<subant buildpath="lucene" target="ivy-bootstrap" inheritall="false" failonerror="true"/>
|
||||||
</target>
|
</target>
|
||||||
|
|
Loading…
Reference in New Issue