lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Otis Gospodnetic (JIRA)" <j...@apache.org>
Subject [jira] Commented: (LUCENE-717) src builds fail because of no "lib" directory
Date Mon, 27 Nov 2006 22:49:23 GMT
    [ http://issues.apache.org/jira/browse/LUCENE-717?page=comments#action_12453735 ] 
            
Otis Gospodnetic commented on LUCENE-717:
-----------------------------------------

I almost committed this, but.... I'm for rm -rfing that lib dir and fixing junit.classpath,
since we don't need it, instead of just mkdiring it, just to make the build pass.

Something like this:
Index: build.xml
===================================================================
--- build.xml   (revision 479793)
+++ build.xml   (working copy)
@@ -32,9 +32,11 @@
     <pathelement location="${build.dir}/classes/test"/>
     <pathelement location="${build.dir}/classes/java"/>
     <pathelement location="${build.dir}/classes/demo"/>
+    <!--
     <fileset dir="lib">
       <include name="*.jar"/>
     </fileset>
+    -->
     <pathelement path="${java.class.path}"/>
   </path>



> src builds fail because of no "lib" directory
> ---------------------------------------------
>
>                 Key: LUCENE-717
>                 URL: http://issues.apache.org/jira/browse/LUCENE-717
>             Project: Lucene - Java
>          Issue Type: Bug
>          Components: Other
>    Affects Versions: 2.0.0
>            Reporter: Hoss Man
>         Attachments: common-build.xml.patch.txt
>
>
> I just downloaded http://mirrors.ibiblio.org/pub/mirrors/apache/lucene/java/lucene-2.0.0-src.tar.gz
and noticed that you can't compile and run the tests from that src build because it doesn't
inlcude the lib dir (and the build file won't attempt to make it if it doesn't exist) ...
> hossman@coaster:~/tmp/l2$ tar -xzvf lucene-2.0.0-src.tar.gz
>   ...
> hossman@coaster:~/tmp/l2$ cd lucene-2.0.0/
> hossman@coaster:~/tmp/l2/lucene-2.0.0$ ant test
>   ...
> test:
>     [mkdir] Created dir: /home/hossman/tmp/l2/lucene-2.0.0/build/test
> BUILD FAILED
> /home/hossman/tmp/l2/lucene-2.0.0/common-build.xml:169: /home/hossman/tmp/l2/lucene-2.0.0/lib
not found.
> (it's refrenced in junit.classpath, but i'm not relaly sure why)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


Mime
View raw message