Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Go to the Java project directory and edit the gradle.settings file.
    Modify the file to include valid entries for host, port, username and password for the platformPlatform.

    Info
    titleExample - gradle.settings file.


    Code Block
    languagetext
    titlegradle.settings
    ext {
    //----- Platform host settings -----
    host="localhost"
    port="9000"
    username="mzadmin"
    password="dr"
    
    //----- Runtime settings -----
    syncHttpAddress="http://${host}:${port}/javaagent/sync"
    postHttpAddress="http://${host}:${port}/javaagent/post"
    }



  2. The next step will be to update the project's libraries with the latest UDRs available with the following commands:

    Info
    titleExample - Command to refresh the UDRs in the project library.


    Code Block
    languagebash
    $ gradle pull
    


    This command will download all the necessary java jars to the project directory. This includes any changes done to it before hand. 


  3. After running gradle pull, the following command is performed to compile and create the library files.

    Info
    titleExample - Command to build the library


    Code Block
    languagebash
    $ gradle clean assemble



...