Hitachi Vantara Pentaho Community Forums
Results 1 to 2 of 2

Thread: Building BI From Source Code

  1. #1
    Join Date
    Jul 2016
    Posts
    1

    Default Building BI From Source Code

    I've been trying to build www.github.com/pentaho/pentaho-platform following steps found here:
    wiki.pentaho.com/display/ServerDoc2x/Build+the+projects
    on my OS X Yosemite with JDK 8

    Was able to run:

    ant resolve and then ant create-dot-classpath successfully for:

    pentaho-platform-api
    pentaho-platform-assembly
    pentaho-platform-core
    pentaho-platform-extenstions
    pentaho-platform-repository
    pentaho-platform-scheduler

    However, for pentaho-platform-console I encounter a problem when running ant create-dot-class:

    BUILD FAILED
    /Users/kaz/development/projects/pentaho/pentaho-platform/user-console/build-res/subfloor-gwt.xml:244: The following error occurred while executing this line:
    /Users/kaz/development/projects/pentaho/pentaho-platform/user-console/build-res/subfloor.xml:2558: taskdef A class needed by class org.pentaho.anttasks.GwtBuildValidator cannot be found: au/com/bytecode/opencsv/CSVReader
    using the classloader AntClassLoader[/Users/kaz/.subfloor/pentaho-ant-tasks-1.2/pentaho-ant-tasks-__-1.2.jar]


    Total time: 0 seconds

    Can anyone point me in right direction so far as whether I'm following the latest build guide/steps here to build and deploy the war on my local (I'n using wiki.pentaho.com/display/ServerDoc2x/Build+the+projects (seems a bit old) ?
    Or am I missing other projects other then what's under https://github.com/pentaho/pentaho-platform?

    Thanks,
    Kaz

  2. #2

    Default

    Hey Kaz,

    from my understanding of it (and please correct me if I'm missing the point), your end goal is to do a local build of the Pentaho platform ( i.e. trying to do a local build of the whole of the https://github.com/pentaho/pentaho-platform project ), is this correct ?


    If so, and to do that, you should take a look at the build file that's at root level; that one ( which does not have the default name of "build.xml", but is instead called "dev_build.xml" ) will provide you with the ability to do a full build of the CE platform.

    At pentaho-platform dir, try the following:

    ant -f dev_build.xml dev-rebuild

    Be forewarned that this build process may take some time!
    A full build of the platform will be made and you will have it available at ./assembly/bin/stage/biserver-ce ( IIRC )

    --

    Now, as far as the issue you're having, I do not know what could that could be; I've just did a quick build of pentaho-platform/user-console using

    ant clean-all resolve dist

    and user-console sub-project was built successfully.

    Could it be due to some stale dependency cache situation ( specifically, with the "opencsv" dependency ) ? Unsure.
    You can try and clear your local ivy cache by clearing/deleting everything under
    • <HOME>/.ivy2/cache
    • <HOME>/.ivy2/local



    Hope this helps,

    Best regards,

    Pedro T.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Privacy Policy | Legal Notices | Safe Harbor Privacy Policy

Copyright © 2005 - 2019 Hitachi Vantara Corporation. All Rights Reserved.