Skip to content

Getting Started Part 6: First Tilda Project

Laurent Hasson edited this page Nov 30, 2019 · 3 revisions
Previous Main Next
<-- Part 5 Main Part 7 -->

In this section, we are going to be creating a bit of infrastructure:

  • A Java project to hold our Tutorial sample
    • A Dynamic Web project to serve as our runtime baseline and which we’ll build upon in a follow-up tutorial for Java-based usages of Tilda.
    • Configuration files log4j2.xml and tilda.config.json
    • Setting up “Run Configurations” for Gen and Migrate
    • Skeleton _tilda.TildaTutorial.json file
    • Running Gen
    • Creating the TildaTutorial database
    • Running Migrate
  • These steps are typically a one-time affair for any new project and take a few minutes to set up.

We want to set up a simple relationship hierarchy of projects where in the future:

  • It’s easy to add new dependencies in the Root project that automatically percolate across the entire project
  • Each “component” of the tutorial is packaged as a JAR and we can add more in the future
  • The Web project provides an overall runtime for execution.

Sample files we'll use here are available as:

Documentation for Gen can be found in

Documentation for Migrate can be found in

First, create a new Java project “TildaTutorial”.

Make sure that “module-info.java” is unchecked and in the Projects tab, select “Classpath” and add “RootProject”.

In the “Order and Export” tab, make sure all are exported.

Previous Main Next
<-- Part 5 Main Part 7 -->
Clone this wiki locally