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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to