woapplication-archetype

Last modified by Ulrich Köster on 2009/02/16 09:58

Introduction

The woapplication-archetype is a template to create WebObjects applications. If you start a project using this archetype, all the basic WebObjects files are generated following the standard directory layout.

This archetype requires the most recent version of maven-archetype-plugin 2.0-alpha-X or later. See maven-archetype-woapplication if you want to use an older version of maven-archetype-plugin.

Usage

Error

There is no valid license for Pro Macros. Please visit the Licenses section.

This archetype allows you to generate a basic project for a WebObjects application. To use this archetype execute the following command:

Unknown macro: noformat. Click on this message for details.
 

Error

There is no valid license for Pro Macros. Please visit the Licenses section.

Choose the archetype:

Unknown macro: noformat. Click on this message for details.

Define the project properties:

  • groupId - the groupId for the new project pom.xml.
  • artifactId - the artifactId for the new project.
  • version - an initial version for your project.
  • package - the package where WebObjects basic classes will be placed.
  • WebObjectsVersion - the WebObjects version used in the project. The default value for this property is 5.4.1.
  • WonderSupport - type 'yes' if you want the Wonder framework support in your classes. The default value for this property is 'no'.
  • TrueWarSupport - type 'yes' if you want to build your project as a true WAR instead of WOA. The default value for this property is 'no'.

See Building the wonder source code with maven ( http://wiki.objectstyle.org/confluence/display/WOL/Building+the+wonder+source+code+with+maven ) for selecting the correct versions of Wonder ( for WebObjects 5.3.x or 5.4.x ).

Standard Directory Layout for WebObjects Applications

"Having a common directory layout would allow for users familiar with one Maven project to immediately feel at home in another Maven project. The advantages are analogous to adopting a site-wide look-and-feel." (http://maven.apache.org/guides/introduction/introduction-to-the-standard-directory-layout.html)

The woapplication-archetype provides some additional directories to conform to WebObjects development in addition to the Maven Standard Directory Layout:

Unknown macro: noformat. Click on this message for details.
 

Error

There is no valid license for Pro Macros. Please visit the Licenses section.