<p>If you develop for ATG Dynamo, how do you structure your modules and dependencies?</p>

<p>How do you structure the projects? source directories, JARs configs etc.</p>

<p>How do you build and deploy? What tools do you use?</p>

We have a monolithic architecture with a single ATG module. We originally developed this site with JHTML and have since created a (monolithic) J2EE web app within this ATG module and converted all of our JHTML to JSP.
Our project on disk looks like this:
```
```
root
  deploy
    class (compile java to here)
    config (primary configpath)
    docroot (JHTML docroot)
    dev (configpath for dev environment)
    test (configpath for QA environment)
    prod (configpath for prod environment)
  j2ee (j2ee web-app)
    WEB-INF
    dir-a (application JSPs)
    dir-b (application JSPs)
  src
    java (java src)
    sql (sql src)
```
```
We have an Ant build file that compiles the Java source to deploy/class. On dev/test and prod JAR up. We have a single build server that checks out the CVS repository and uses shell scripts and the build.xml to compile and deploy to the requested server using Interwoven OpenDeploy (essentially rsync).