All the files needed to build the examples are included in the root of $TUTORIAL_DIR:
Ant build file
Build script
Namespace mappings file