SOLR-4792: Remove WAR file from dist directory.

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1642879 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Mark Robert Miller 2014-12-02 14:33:49 +00:00
parent 9d4bd1f350
commit d2a05a3d50
2 changed files with 4 additions and 6 deletions

View File

@ -40,9 +40,7 @@
<!-- ========================================================================= -->
<target name="example" description="Creates a runnable example configuration."
depends="dist-contrib,dist-war">
<copy file="${dist}/${fullnamever}.war"
tofile="${server.dir}/webapps/${ant.project.name}.war"/>
depends="dist-contrib,build-war">
<jar destfile="${example}/exampledocs/post.jar"
basedir="${dest}/solr-core/classes/java"
includes="org/apache/solr/util/SimplePostTool*.class">
@ -333,7 +331,7 @@
<target name="dist"
description="Creates the Solr distribution files."
depends="dist-solrj, dist-core, dist-test-framework, dist-contrib, dist-war" />
depends="dist-solrj, dist-core, dist-test-framework, dist-contrib, build-war" />
<target name="dist-test-framework" depends="init-dist"
description="Creates the Solr test-framework JAR.">
@ -347,7 +345,7 @@
<contrib-crawl target="dist" failonerror="true" />
</target>
<target name="dist-war"
<target name="build-war"
description="Creates the Solr WAR Distribution file.">
<ant dir="webapp" target="dist" inheritall="false">
<propertyset refid="uptodate.and.compiled.properties"/>

View File

@ -46,7 +46,7 @@
<build-manifest title="Apache Solr Search Server"
implementation.title="org.apache.solr"/>
<ant dir="${common-solr.dir}" inheritall="false" target="contribs-add-to-war"/>
<war destfile="${dist}/solr-${version}${solr.war.suffix}.war"
<war destfile="${server.dir}/webapps/solr.war"
webxml="web/WEB-INF/web.xml"
manifest="${manifest.file}">
<lib dir="${common-solr.dir}/core/lib" excludes="${exclude.from.war},${common.classpath.excludes}"/>