Requirements
Install binary distributions
Binary distributions are available at SourceForge.net and provides a very straightforward installation.
http://sourceforge.net/project/showfiles.php?group_id=56183&package_id=255524
11g/12c Binary Distribution
Edit your ~build.properties file with your Database values, for example:
db.str=orcl
db.usr=LUCENE
db.pwd=LUCENE
dba.usr=sys
dba.pwd=change_on_install
javac.debug=true
javac.source=1.4
javac.target=1.4
db.str is your SQLNet connect string for your target database, check first with tnsping
ORACLE_HOME environment setting is required and properly configured to an Oracle 11g database layout.
Upload, install and test your code into the database
# ant install-odi # ant test-domain-index
For Oracle 11g/12c you can perform a post-installation step:
# ant jit-lucene-classes
This target force to translate all Lucene, Snowball and OJVMDirectory classes to assembler.
Instead of waiting that the database compile it by detecting most used classes or method.
10g Binary Distribution
First edit your ~/build.properties with something like:
db.str=orcl
db.usr=LUCENE
db.pwd=LUCENE
dba.usr=sys
dba.pwd=change_on_install
javac.debug=true
javac.source=1.4
javac.target=1.4
db.str property is a SQLNet connect string for the target database.
ORACLE_HOME environment setting is required and properly configured to an Oracle 10g database layout.
Upload, install and test your code into the database
# ant ncomp-odi # ant test-domain-index
For Oracle 10g you can perform a post-installation step:
# ant ncomp-status
This target reports which classes are traslated to assembler using NCOMP compiler.