Skip to content
daniel-sc edited this page Nov 4, 2014 · 5 revisions

This is a maven plugin that easily creates java wrapper classes for podio apps. It can also be used manually from command line.

Getting started (command line)

  1. Download latest code-gen-core[VERSION]-jar-with-dependencies.jar.
  2. Start a console and type java -jar code-gen-core[VERSION]-jar-with-dependencies.jar PODIOUSERNAME PODIOPASSWORD APPID_1 .. APPID_N or java -jar code-gen-core[VERSION]-jar-with-dependencies.jar PODIOUSERNAME PODIOPASSWORD -space SPACEID
  3. Browse resulting code in the podio/generated/ subfolder.
  4. For compiling the generated classes (and fully understanding them) you need the latest code-gen-static[VERSION].jar.

Getting started (maven plugin)

  1. Create a new maven module/project.
  2. Adapt your pom.xml according to this template: code-gen/podio-codegen-maven-plugin/template_pom.xml.
  3. Do a mvn clean install in your newly created project.
  4. Check the target directory for generated jar and source files.
  5. You might want to subclass GenericPodioImpl for maximal ease of access.

Finding your Podio spaceId

See: https://help.podio.com/entries/21920857-Get-Space-ID-

Clone this wiki locally