My favorites | Sign in
Project Home Downloads Wiki Issues Source
Search
for
HowToBuild  
Steps required to build tungsten-replicator
Build, Featured, Phase-Deploy
Updated Apr 7, 2011 by berkeley...@gmail.com

Tungsten Replicator 2.0 is 100% open source. You can build it yourself! Here are the steps:

  • svn co http://tungsten-replicator.googlecode.com/svn/trunk/builder
  • cd builder
  • ./build.sh

This will create a ../sources directory where all required components will check out and build.

The build locations and outputs are controlled by the config file. The contents are more or less self-explanatory.

If you want to modify directories, URLs, skip the checkout, compilation or source generation, it is strongly discouraged to edit config directly. Rather create a config.local file (it is already in svn:ignore) and override flags there. Example:

# cat config.local
SKIP_CHECKOUT=1
SKIP_BUILD=0
SKIP_SOURCE=0

Important Note If you are a developer and committing changes to the project you must check out using 'https' as in the following command. Otherwise you will be unable to commit anything to the builder project.

svn co https://tungsten-replicator.googlecode.com/svn/trunk/builder

Comment by Daniel.v...@gmail.com, Nov 16, 2011

You will need an Java SDK and ant installed. Building using OpenJDK 7 failed and succeeded using OpenJDK 6 (November 2011).

The error when building with OpenJDK 7 is this: "sources/commons/src/java/com/continuent/tungsten/commons/utils/DiagnosticWizard?.java:30: error: ManagementFactory? is not public in sun.management; cannot be accessed from outside package"


Sign in to add a comment
Powered by Google Project Hosting