3

i have cloned github repository after tht i have created the following projects.

pentaho-platform-api

pentaho-platform-assembly

pentaho-platform-core

pentaho-platform-extensions

pentaho-platform-repository

pentaho-platform-scheduler

pentaho-user-console

but i am not able to add jar files in build path because cloned repository folder "pentaho-platform" doesnt contain any folder like jar.

if any one knows how to build it then please let me know.

Regards

ye win
  • 31
  • 2
  • Not quite sure about building the platform, I usually use CBF - http://www.webdetails.pt/ctools/cbf.html any reason for building from source, if you want the latest there's always ci.pentaho.com – Codek Jun 04 '13 at 12:14

3 Answers3

5

You'll need to run ant in order to build and resolve dependencies.

From the pentaho-platform folder, run ant -f dev_build.xml dev-rebuild.

Pedro Vale
  • 756
  • 1
  • 4
  • 4
  • I upvoted this answer and just thought I'd add a note... I tried this on Windows and ended up getting "CreateProcess error=206, The filename or extension is too long". My pentaho-platform directory was in C:\coding\eclipse\workspace\pentaho-platform\ so to fix it, I created a symlink to it at C:\p and ran it from there and then it worked with no problems. YMMV. – Brian Pipa Jul 01 '15 at 15:20
2

First, please make sure clone from https://github.com/pentaho/pentaho-platform

Copy file dev_build.xml to build.xml

And then run ant dev-resolve (please install ANT before)

The last thing: ant dev-build

That's all!

EDIT

Pentaho BI after build is in that folder: assembly/bin/stage/biserver-ce

KimKha
  • 4,370
  • 1
  • 37
  • 45
1

Full instructions are in these 2 places:

http://wiki.pentaho.com/display/ServerDoc2x/02.+Exploring+the+Pentaho+Repository+in+2.0

http://wiki.pentaho.com/display/ServerDoc2x/03.+Checking+Out+and+Building+Projects+in+5.0

Depending on your version etc. ( and surrounding pages )

Codek
  • 5,114
  • 3
  • 24
  • 38
  • I tried right now. It worked for me, though it takes a lot of time to fill the Ivy Cache required. For the whole project setup and ressources download, it took me 4 hours. – Semo Jan 16 '15 at 12:05
  • More recently, they are using Maven not Ivy https://github.com/pentaho/maven-parent-poms/wiki – rleir Nov 06 '20 at 11:14