try now...

On Dec 7, 2008, at 8:20 PM, Koji Sekiguchi wrote:

Ryan,

I got an error when doing 'ant dist'.

Koji

[EMAIL PROTECTED] wrote:
Author: ryan
Date: Sun Dec  7 11:27:54 2008
New Revision: 724181

URL: http://svn.apache.org/viewvc?rev=724181&view=rev
Log:
SOLR-900 -- fixing war file

Modified:
   lucene/solr/trunk/build.xml

Modified: lucene/solr/trunk/build.xml
URL: 
http://svn.apache.org/viewvc/lucene/solr/trunk/build.xml?rev=724181&r1=724180&r2=724181&view=diff
=
=
=
=
=
=
=
=
=
=====================================================================
--- lucene/solr/trunk/build.xml (original)
+++ lucene/solr/trunk/build.xml Sun Dec  7 11:27:54 2008
@@ -458,10 +458,13 @@
       <lib dir="${lib}">
         <exclude name="servlet-api*.jar" />
         <exclude name="easymock.jar" />
+         <exclude name="junit-*.jar" />
+         <exclude name="*.txt" />
+         <exclude name="*.template" />
       </lib>
       <lib dir="${dist}">
         <include name="${fullname}-solrj-${version}.jar" />
-         <include name="${fullname}-${version}.jar" />
+         <include name="${fullname}-core-${version}.jar" />
       </lib>
       <fileset dir="${src}/webapp/web" />
       @@ -505,7 +508,7 @@
  <!-- Creates the solr jar. -->
  <target name="dist-jar"
          description="Creates the Solr JAR Distribution file."
-          depends="compile, make-manifest">
+          depends="dist-solrj, compile, make-manifest">
    <mkdir dir="${dist}" />
    <solr-jar destfile="${dist}/${fullname}-core-${version}.jar">
      <fileset dir="${dest}/solr" />
@@ -516,7 +519,7 @@
  <!-- Creates the solr jar. -->
  <target name="dist-solrj"
          description="Creates the Solr JAR Distribution file."
-          depends="compile-solrj, dist-jar">
+          depends="compile-solrj">
    <mkdir dir="${dist}" />
    <solr-jar
         destfile="${dist}/${fullname}-solrj-${version}.jar"






Reply via email to