FileDocCategorySizeDatePackage
SanityLoadLibrary.javaAPI DocApache Lucene 2.2.01388Sat Jun 16 22:20:56 BST 2007org.apache.lucene.store.db

SanityLoadLibrary

public class SanityLoadLibrary extends Object
Simple sanity testing application to verify that the underlying native library can be loaded cleanly. For use in the build.xml of this contrib, to determine if tests should be skipped.

Fields Summary
Constructors Summary
Methods Summary
public static voidmain(java.lang.String[] ignored)

    EnvironmentConfig envConfig = EnvironmentConfig.DEFAULT;
    envConfig.setAllowCreate(false);
    Environment env = new Environment(null, envConfig);