lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From peter decrem <pdec...@yahoo.com>
Subject Lucene/Netbean Newbie looking for help
Date Tue, 11 Jul 2006 02:05:48 GMT
I am trying to contribute to the dot lucene port, but
I am having no luck in getting the tests to compile
and debug for the java version.  I tried eclipse and
failed and now I am stuck in Netbean.

More specifically I am using Netbean 5.5 (same
problems with 5.0).  My understanding is that it comes
with junit standard (3.8).  I did create a
build.properties file for javacc.  It compiles but I
get the following error when I run the tests:

compile-core:
compile-demo:
common.compile-test:
compile-test:
test:
C:\lucene-1.9.1\common-build.xml:169:
C:\lucene-1.9.1\lib not found.
BUILD FAILED (total time: 0 seconds)

The relevant code in common-build.xml is:

  <target name="test" depends="compile-test"
description="Runs unit tests">
    <fail unless="junit.present">
     
##################################################################
      JUnit not found.
      Please make sure junit.jar is in ANT_HOME/lib,
or made available
      to Ant using other mechanisms like -lib or
CLASSPATH.
     
##################################################################
    </fail>
    <mkdir dir="${junit.output.dir}"/>
    <junit printsummary="off" haltonfailure="no"
line 169 XX->      errorProperty="tests.failed"
failureProperty="tests.failed">
      <classpath refid="junit.classpath"/>
      <!-- TODO: create propertyset for test
properties, so each project can have its own set -->
      <sysproperty key="dataDir" file="src/test"/>
      <sysproperty key="tempDir"
file="${build.dir}/test"/>


Any suggestions?  Or any pointers to getting the tests
to work in netbeans are appreciated.



---------------------------------------------------------------------
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