Hi,
When I try to run "build test" against the SVN code it fails for
"org.h2.test.unit.TestCache" with:
[java] ERROR: FAIL java.lang.NoClassDefFoundError:
org/apache/lucene/document/Fieldable java.lang.NoClassDefFoundError:
org/apache/lucene/document/Fieldable
... and another test associated with servlets, because non of the "ext" jars
are in the classpath. I've fixed this locally:
<target name="test" depends="compile">
<java classname="org.h2.test.TestAll" fork="true">
<classpath>
<pathelement location="ext/servlet-api-2.4.jar" />
<pathelement location="ext/lucene-core-2.2.0.jar" />
<pathelement location="ext/slf4j-api-1.5.0.jar" />
<pathelement location="ext/org.osgi.core-1.2.0.jar" />
<pathelement path="bin"/>
</classpath>
</java>
</target>
... but am I missing something? Should I be doing something differently?
Thanks,
Kerry
--
You received this message because you are subscribed to the Google Groups "H2
Database" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/h2-database?hl=en.