Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do you organise your ATG projects?

Tags:

atg

atg-dynamo

If you develop for ATG Dynamo, how do you structure your modules and dependencies?

How do you structure the projects? source directories, JARs configs etc.

How do you build and deploy? What tools do you use?

like image 337
Vihung Avatar asked Oct 15 '08 17:10

Vihung


3 Answers

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).

like image 190
talanb Avatar answered Nov 05 '22 07:11

talanb


Most structures look like the ones mentioned above with minor changes. We use MAVEN to build and deploy.

like image 37
bluegene Avatar answered Nov 05 '22 06:11

bluegene


Here is the layout that we use:

root
 src (java src)
 test/src (unit test)
 build (directory created by ant)
   classes
   config
   javadoc
   lib
   liveconfig
 buildlib (libraries used for building)
 config
 install (holds items used for different IDE)
 j2ee-apps
 lib (libraries used by the application)
 sql
   oracle
   data
   install (tables, indexes etc)
   setup (create tablespace, users etc)
   uninstall
   delta (changes during development)

like image 1
boyd4715 Avatar answered Nov 05 '22 08:11

boyd4715