To suit the different styles of Turbine developers, M.E.T.A. allows you to choose between various directory layouts for your application.
The following modes are currently supported:
The development mode is selected by providing the turbine.plugin.mode property in either the setup.properties file or on the maven command line when using Ad Hoc setup.
Build an inplace development skeleton: maven -Dturbine.app.name=inplace -Dturbine.plugin.mode=inplace turbine:setup
The default mode is the Normal development mode which needs the turbine:deploy target to deploy the application to a web container.
This is the recommended mode to develop a Turbine application. It keeps the source files separate from the generated and compiled files. The development tree conforms to the maven common directory layout.
. |-- conf `-- src |-- images |-- java | `-- org | `-- apache | `-- turbine | `-- app | `-- helloworld | `-- modules | |-- actions | |-- layouts | |-- navigations | |-- pages | `-- screens |-- pages |-- resources |-- schema |-- scripts |-- style |-- templates | |-- layouts | |-- macros | |-- navigations | `-- screens `-- test
This mode is suitable when moving from the Turbine Development Kit to M.E.T.A. or when you can customize your web container to access your development location. Its tree layout is directly usable as a web application.
An application that has been set up with this mode can be loaded into an IDE, e.g. Eclipse. Please refer to the IDE Reference on how to do this.
. |-- WEB-INF | |-- conf | |-- src | | `-- org | | `-- apache | | `-- turbine | | `-- app | | `-- helloworld | | `-- modules | | |-- actions | | |-- layouts | | |-- navigations | | |-- pages | | `-- screens | `-- test |-- images |-- pages |-- resources |-- scripts |-- src | `-- schema |-- style `-- templates |-- layouts |-- macros |-- navigations `-- screens