Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

To develop this module you will need to follow the optional section in the developers guide for Oracle. This will place an oracle jdbc driver into your local maven repository where it can then be used during the online tests.

Code Block

C:> cd C:\oracle\product\10.2.0\jdbc\lib
C:\oracle\product\10.2.0\jdbc\lib>mvn install:install-file -Dfile=ojdbc14.jar -DgroupId=com.oracle -DartifactId=ojdbc14 -Dversion=10.2.0 -Dpackaging=jar

The choice of maven profile (to use oracle or to not us use oracle) is controlled with a oracle.jdbc system property.

Code Block
mvn clean install -Doracle.jdbc=true install

Or to set up for testing in eclipse:

Code Block
mvn eclipse:eclipse -Doracle.jdbc=true
eclipse:eclipse

Using Online Tests

The other thing you will need to do for online tests is place a oracle.properties file describing your database in the magic location below.

...