[
http://jira.nuxeo.org/browse/NXP-3994?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=60424#action_60424
]
Benoit Delbosc commented on NXP-3994:
-------------------------------------
To setup an oracle instance you can install a deb package of oracle 10 xe (it
requires a 32b system and will not work on x86_64) :
http://www.oracle.com/technology/software/products/database/xe/htdocs/102xelinsoft.html
Then using sqlplus add a user:
CREATE USER NUXEO IDENTIFIED BY nuxeo
DEFAULT TABLESPACE users
TEMPORARY TABLESPACE temp ;
GRANT connect, resource TO NUXEO;
Install the jdbc driver into your m2 local repository:
mvn install:install-file -DgroupId=com.oracle -DartifactId=ojdbc14
-Dversion=10.2.0.3.0 -Dpackaging=jar
-Dfile=/usr/lib/oracle/xe/app/oracle/product/10.2.0/server/jdbc/lib/ojdbc14.jar
Change the 2 pom file and uncomment the com.oracle/ojdbc14 dependency:
nuxeo-core-storage-sql/nuxeo-core-storage-sql-test/pom.xml
M nuxeo-core-storage-sql/nuxeo-core-storage-sql/pom.xml
Then run the test :
mvn test -Dnuxeo.test.vcs.db=Oracle
-Dnuxeo.test.vcs.url=jdbc:oracle:thin:@localhost:1521:XE
-Dnuxeo.test.vcs.user=NUXEO
-Dnuxeo.test.vcs.password=nuxeo
> Allow running of VCS unit tests with different backends
> -------------------------------------------------------
>
> Key: NXP-3994
> URL: http://jira.nuxeo.org/browse/NXP-3994
> Project: Nuxeo Enterprise Platform
> Issue Type: Task
> Components: Core SQL Storage
> Affects Versions: 5.2 GA
> Reporter: Florent Guillaume
> Assignee: Florent Guillaume
> Priority: Major
> Fix For: 5.3
>
>
> For continuous integration, we need to be able to run unit tests pointing to
> a different backend than the integrated H2 one.
> Some system properties can be set to decide the backend and each backend's
> properties.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.nuxeo.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
ECM-tickets mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm-tickets