Sunday, April 16, 2017

CBF Revisited Compiling Pentaho BA Server 5 1 from sources

CBF Revisited Compiling Pentaho BA Server 5 1 from sources






Its been a while since I blogged about CBF, the Community Build Framework. Dont get fooled into thinking the project is deprecated. Its not. I still use it on a daily basis.

So heres a refreshed set of instructions on how to set it up:


  1. Make sure you have a system with Java 7 and ant installed
  2. Create a working directory for CBF, mine is: /home/pedro/tex/pentaho
  3. Download CBF, which is just an ant build script anyway
  4. Get the sources for pentaho-platform. For my 5.1 CE testing, its git clone git@github.com:pentaho/pentaho-platform.git . Later, you may want to switch to a specific branch
  5. Download my already configured project-sugar.zip .
  6. Create your specific configuration in project-sugar/config. Use my build-pedro.properties as a starting point.
  7. Compile: ant -Dproject=sugar -Denv=pedro dist-clean all (replace pedro with what you created
  8. Start hsql: pedro@arpeggio:~/tex/pentaho/target-build/assembly/bin/stage/biserver-ce/data $ ./start_hypersonic.sh 
  9. Start pentaho: ant -Dproject=sugar -Denv=pedro run

And you should be able to get a working system!



Have fun!