ControlTier > controltier-elements
 

DukesBankProjectBuilder

Builds projects used to manage instances of the Dukes Bank application

Overview

Open in Workbench DukesBankProjectBuilder: Builds projects used to manage instances of the Dukes Bank application

DukesBankProjectBuilder is derived from ProjectBuilder providing the ability to manage a ControlTier project. If you are new to ProjectBuilder see the tutorial starting with: ProjectBuilder Wiki page

The following sections describe how to obtain, install and run the Dukes Bank demo here: Building Dukes Bank Project Wiki page.

Design

Super Type
ProjectBuilder
Role Concrete. (Objects can be created.)
Instance Names Unique
Notification false
Template Directory
Data View Children, proximity: 1
Logger Name DukesBankProjectBuilder

Constraints

Allowed Child Dependencies

  • zip

Attributes

Exported Attributes

Name Property
basedir deployment-basedir
targetdir deployment-install-root

Defaults for Imported Attributes

Name Default
buildFile ${modules.dir}/DukesBankProjectBuilder/lib/build.xml
buildTarget all
defaults ${modules.dir}/DukesBankProjectBuilder/templates/defaults.${os.name}.xml
organizationDescription
organizationName
organizationURL
projectDescription The Dukes Bank demo application
projectName dukesbank
projectURL
scmBinding svn
scmConnection https://moduleforge.svn.sourceforge.net/svnroot/moduleforge/elements/branches/3.2
stageextension jar
stagefilebase .*
templateDir ${modules.dir}/DukesBankProjectBuilder/templates

Commands

Note
Commandline options displayed in square brackets "[]" are optional. If an option expects arguments, then angle brackets are shown after the option "<>". Any default value is shown within the brackets.

Prepare

Prepares the demo

Usage
Prepare [-basedir <>] [-defaults <>] [-targetdir <>]

Options

Option Description
basedir base directory
defaults defaults file
targetdir target directory

scmImport

Imports sources to SCM repository

Imports source files into a ready SCM repository. Currently, hardcoded to only support Subversion.

Usage
scmImport [-basedir <>] [-binding <>] [-command <import>] [-connection <>] [-label <>] [-module <>] [-quiet <>] [-targetdir <>]

Options

Option Description
basedir base directory
binding scm binding
command source code management command
connection scmConnection identifier
label source label
module source module
quiet sets quiet mode if true
targetdir target directory

scmInitialize

Initializes SCM repository

Creates an empty but ready SCM repository. Currently, hardcoded to only support Subversion.

Usage
scmInitialize [-basedir <>] [-binding <>] [-command <create>] [-connection <>] [-quiet <>] [-targetdir <>]

Options

Option Description
basedir base directory
binding scm binding
command source code management command
connection scmConnection identifier
quiet sets quiet mode if true
targetdir target directory