Skip to content
This repository has been archived by the owner on Feb 26, 2019. It is now read-only.

Latest commit

 

History

History
65 lines (49 loc) · 2.61 KB

README.md

File metadata and controls

65 lines (49 loc) · 2.61 KB

GoodData CL is written in Java. The source code is available freely from Github under the permissive BSD license.

This is GoodData CL source code. Unless you wish to participate in development of the tool, you should choose the easier binary install.

Building from sources

  1. download the code and unpack (or git clone this repository):

  2. make sure you have Apache Maven installed:

    $ which mvn
     /usr/bin/mvn
    C:\>mvn --version
     Apache Maven 2.2.1 (r801777; 2009-08-06 21:16:01 +0200)
     [...]
  3. create the M2_HOME environment variable that points to the Maven root directory

    C:\> SET M2_HOME=path-to-your-maven-installation-dir
    $ export M2_HOME=path-to-your-maven-installation-dir
  4. Make sure that your JAVA_HOME environment variable points to your Java installation directory.
    Please note that only the Java versions 1.5 and 1.6 are currently supported.

  5. build the toolkit:

    C:\>mvn install
    $ mvn install
  6. build the client distribution

    C:\>cd cli-distro
     C:\>mvn assembly:assembly
    $ cd cli-distro
     $ mvn assembly:assembly
  7. unpack one of the distributions that have been built in the cli-distro/target subdirectory:

    • gooddata-cl-1.1.0-SNAPSHOT.tar.gz
    • gooddata-cl-1.1.0-SNAPSHOT.zip
  8. run the gdi script without arguments to get help from the unpacked distribution:

    C:> bin\gdi.bat
     usage: GdcDI
      -h,--host <arg>       GoodData host
      -p,--password <arg>   GoodData password
      -u,--username <arg>   GoodData username
     [...]
    $ ./bin/gdi.sh
     usage: GdcDI
      -h,--host <arg>       GoodData host
      -p,--password <arg>   GoodData password
      -u,--username <arg>   GoodData username
     [...]