This topic applies
to Java version only
In order to build db4o you must have access to db4obuild project, which contains build scripts for creating a full db4o java distribution. You will need to check out the following projects.
db4obuild - db4o build tool
bloat - bytecode optimization library, required for db4o NQ optimizer
db4o-osgi - db4o OSGI library
db4o-osgi-tests - tests for db4o OSGI
db4oj - db4o core
db4ojdk1.2 - db4o core for JDK1.2-1.4
db4ojdk5 - db4o core for JDK5
db4otaj - TA instrumentation
db4otools - bytecode instrumentation for db4o
db4onqopt - db4o NQ optimizer
db4ounit - db4o unit-test framework
db4ounit.extensions - db4o unit-test framework extensions
doctor - documentation generation tool, required for building interactive tutorial
tutorial - interactive tutorial
docWiki - db4o reference documentation
You will need to
create machine.properties file in db4obuild folder. The contents of the file
can be copied from build.xml (see the comments at the beginning of the file). Modify the paths where applicable to set the build variables for your environment.
If you do not have a JDK 1.3 installed and you want to use JDK 5 to build db4o for Java 1.1, you will need this line:
file.compiler.jdk1.3.args.optional=-source
1.3
You can start the build by right-clicking build.xml file and
selecting "Run As/Ant Build". You will run "buildjava" target. (You can't use "buildall" or "buildnet" as they require javatocsharp project, which is not public.)
The ready distribution can be found in /dist folder of db4obuild project
Further reading: