mirror of https://github.com/apache/lucene.git
remove useless and inefficient clean-jars: we call ivy with sync-true so this is a massive slowdown of the build
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1395523 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
7fb5daa879
commit
e9ec1d6e20
16
build.xml
16
build.xml
|
@ -101,7 +101,7 @@
|
|||
</subant>
|
||||
</target>
|
||||
|
||||
<target name="resolve" depends="clean-jars" description="Resolves all dependencies">
|
||||
<target name="resolve" description="Resolves all dependencies">
|
||||
<subant target="resolve" inheritall="false" failonerror="true">
|
||||
<fileset dir="lucene" includes="build.xml" />
|
||||
<fileset dir="solr" includes="build.xml" />
|
||||
|
@ -174,7 +174,7 @@
|
|||
</delete>
|
||||
</target>
|
||||
|
||||
<target name="eclipse" depends="clean-jars, resolve" description="Setup Eclipse configuration">
|
||||
<target name="eclipse" depends="resolve" description="Setup Eclipse configuration">
|
||||
<copy file="dev-tools/eclipse/dot.project" tofile=".project" overwrite="false"/>
|
||||
<copy file="dev-tools/eclipse/dot.classpath" tofile=".classpath" overwrite="true"/>
|
||||
<mkdir dir=".settings"/>
|
||||
|
@ -195,7 +195,7 @@
|
|||
<delete dir="eclipse-build" failonerror="true"/>
|
||||
</target>
|
||||
|
||||
<target name="idea" depends="clean-jars, resolve" description="Setup IntelliJ IDEA configuration">
|
||||
<target name="idea" depends="resolve" description="Setup IntelliJ IDEA configuration">
|
||||
<copy todir=".">
|
||||
<fileset dir="dev-tools/idea"/>
|
||||
</copy>
|
||||
|
@ -227,16 +227,6 @@
|
|||
</sequential>
|
||||
</target>
|
||||
|
||||
<!-- TODO: in the future, we don't need to actually put
|
||||
jars in the lib/ folders, but can just put in classpath.
|
||||
only packaging tasks really need that (and could do it
|
||||
under build/ directories) -->
|
||||
<target name="clean-jars" description="Clean local jars">
|
||||
<delete>
|
||||
<fileset dir="." includes="**/*.jar"/>
|
||||
</delete>
|
||||
</target>
|
||||
|
||||
<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"/>
|
||||
</target>
|
||||
|
|
|
@ -544,13 +544,6 @@
|
|||
<property name="lucene-core.uptodate" value="true"/>
|
||||
</target>
|
||||
|
||||
<!-- NOTE: not really useful anymore ... -->
|
||||
<target name="clean-jars" description="Clean local jars">
|
||||
<delete failonerror="false">
|
||||
<fileset dir="." includes="**/*.jar"/>
|
||||
</delete>
|
||||
</target>
|
||||
|
||||
<target name="get-jenkins-line-docs" unless="enwiki.exists">
|
||||
<sequential>
|
||||
<!-- TODO: can get .lzma instead (it's ~17% smaller) but there's no builtin ant support...? -->
|
||||
|
|
|
@ -26,6 +26,8 @@
|
|||
<include url="${ivy.default.settings.dir}/ivysettings-local.xml"/>
|
||||
<include url="${ivy.default.settings.dir}/ivysettings-main-chain.xml"/>
|
||||
|
||||
<caches lockStrategy="artifact-lock"/>
|
||||
|
||||
<resolvers>
|
||||
<ibiblio name="sonatype-releases" root="http://oss.sonatype.org/content/repositories/releases" m2compatible="true" />
|
||||
|
||||
|
|
|
@ -675,13 +675,6 @@
|
|||
tofile="${analysis.conf.dest}/stopwords_tr.txt"/>
|
||||
</target>
|
||||
|
||||
<!-- NOTE: not really useful anymore -->
|
||||
<target name="clean-jars" description="Clean local jars">
|
||||
<delete failonerror="false">
|
||||
<fileset dir="." includes="**/*.jar"/>
|
||||
</delete>
|
||||
</target>
|
||||
|
||||
<target name="jar-checksums" depends="clean-jars,resolve">
|
||||
<jar-checksum-macro srcdir="${common-solr.dir}" dstdir="${common-solr.dir}/licenses"/>
|
||||
</target>
|
||||
|
|
Loading…
Reference in New Issue