Notes on setting up Open Anzo from source
These instructions are for building the projects using Eclipse. The system can also be built in the command line using Maven.
Anzo must be built using Java 5 or greater.
- Using the Subvervise Subversion plugin for Eclipse, checkout all of the projects at http://svn.openanzo.org/svn/openanzo/trunk, except com.ibm.db2.jcc, to projects in your workspace.
- Clean and rebuild all projects. Everything should build cleanly.
By default Open Anzo uses the HSQL in-memory embedded database. If you want to use other databses such as Oracle or DB2, follow the steps below:
- If you are using DB2:
- Checkout the com.ibm.db2.jcc project from http://svn.openanzo.org/svn/openanzo/trunk.
- The DB2 JDBC drivers are implemented in a collection of JARs that come with your DB2 installation. Copy these JARs to com.ibm.db2.jcc/lib .
- At this point, all projects should build cleanly.
- If you are using PostgreSQL: You don't need to do anything special, the org.postgresql project contains the JBDC JAR.
- If you are using Oracle:
- Download and install the appropriate client for the database (or install the whole database which will include a JDBC client).
- Create a new Plug-in project and call it com.oracle. The project needs no activator, will not contribute to the UI, and is not a rich client application.
- Create a lib folder in the project copy the appropriate JDBC driver JARs into that folder. See the database vendors documentation for where to find those JARs. Open the new project's MANIFEST.MF and go to the Runtime tab. Add the JDBC JARs to the Classpath section. In the Exported Packages section, add all of the com.oracle.*.
- At this point, all projects should build clean with now warnings. Create a database, choose and customize the appropriate properties file in anzo-server/src/main/resources/org/openanzo/standalone and then run the Anzo standalone server to get started.
Download in other formats:
Copyright © 2007 - 2008 OpenAnzo.org


