modify the build.xml to exclude full JS files.

This commit is contained in:
marcussorealheis 2019-07-11 16:01:48 -07:00 committed by Erik Hatcher
parent 78b278993d
commit c0af188347
1 changed files with 2 additions and 3 deletions

View File

@ -19,12 +19,11 @@
<description>Solr webapp</description>
<property name="rat.additional-includes" value="**"/>
<property name="rat.additional-excludes" value="web/img/**"/>
<property name="rat.additional-excludes" value="web/img/**,*full*"/>
<import file="../common-build.xml"/>
<property name="exclude.from.webapp" value="*slf4j*,log4j-*,*javax.servlet*" />
<property name="exclude.full.js" value="*full.js" />
<!-- this module has no javadocs -->
<target name="javadocs"/>
@ -45,7 +44,7 @@
<mkdir dir="${server.dir}/solr-webapp/webapp"/>
<copy todir="${server.dir}/solr-webapp/webapp">
<fileset dir="web" excludes="${exclude.from.webapp}"/>
<fileset dir="${dest}/web" excludes="${exclude.from.war},${exclude.full.js}"/> <!-- contribs' additions -->
<fileset dir="${dest}/web" excludes="${exclude.from.war}"/> <!-- contribs' additions -->
</copy>
<mkdir dir="${server.dir}/solr-webapp/webapp/WEB-INF/lib"/>
<copy todir="${server.dir}/solr-webapp/webapp/WEB-INF/lib">