Update of /cvsroot/lucene/lucene
In directory usw-pr-cvs1:/tmp/cvs-serv31751

Modified Files:
        build.xml 
Log Message:
I think the lucene/build.xml file needs a modification to allow javadocs
to build: the sourcepath attribute of the javadocs target has a spurious
"/..".

The javadocs target would not build for me:
        javadoc: No packages or classes specified.

Examining the javadoc target, I find
<target name="javadocs" depends="compile" if="javacc.present">
  <javadoc
    sourcepath="${build.src}/.."
    packagenames="${packages}"
    ...

build.src is ${build.dir}/src, build.dir is ant.build, basedir is ".".
Thus
        sourcepath="./ant.build/src/.."
        packagenames="com.lucene.*"

I find no directory for ant.build/com, which appears to be the problem.
There is a ant.build/src/com, and an ant.build/classes/com.

I modify the sourcepath attribute (drop the "/.."):
    sourcepath="${build.src}"
and javadocs will build.
Alan Grover <[EMAIL PROTECTED]>


_______________________________________________
Lucene-dev mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/lucene-dev

Reply via email to