Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 18 Next »

Cargo's directory organization can be daunting for a newcomer. So here's some information on how the project is organized.

Legend

Icon
  • directory/ : represents a directory
  • directory/ : represents a directory containing a Maven project
  • cargo/ : Top level POM to build all Cargo modules.
    • core/ : Core Java APIs
      • api/
        • util/ : Some useful classes for both module/ and container/ (logging interface, etc)
        • module/ : API to create/parse J2EE Module files
        • container/ : API to start/stop/configure containers and deploy J2EE Modules in them
        • generic/ : Generic and untyped Java API sitting on top of the Core Container Java API
      • containers/ : Parent for building all container projects.
        • resin/ : Resin implementation
        • tomcat/ : Tomcat implementation
        • .../ : Other container implementations
      • documentation/ : Website documentation resources.
      • samples/ : Samples that exercise the Cargo Java APIs
        • java/ : Samples exercising the Java core API
      • uberjar/ : Uberjar packaging all api/ and containers/ jars in one big jar
    • resources/ : Cargo Shared Resources (License files, Checkstyle configuration files, etc)
      • build-tools/ : Common files and tools related to the Maven 1 and Maven 2 builds (common checkstyle files, etc).
      • jetty-deployer/ : Webapp used by Cargo to remotely deploy applications of a Jetty server
      • testdata/ : Test data for all the Sample projects
        • authentication-war : Generates WAR with BASIC authentication defined in web.xml
        • empty-ear : Generates en empty EAR
        • empty-jar : Generates en empty JAR
        • expanded-war : Generates an expanded WAR
        • simple-ear : Generates a simple EAR containing a simple WAR
        • simple-war : Generates a simple WAR containing an HTML file
        • tomcat-context : Generates a WAR containing a Tomcat context.xml file redefining the Context Root
        • .../ : Other test data projects
    • sandbox/ : Base directory for cargo plugin projects
      • netbeans/ : Netbeans plugin
      • intellijidea/ : IntelliJ IDEA plugin
    • extensions/ : Cargo extensions
      • ant/ : Ant tasks that uses the core/ projects API
      • maven/ : Maven 1 plugin (based on the Ant tasks)
      • maven2/ : Maven 2 plugin
  • No labels