$ ad -p DukesBank -m Deployment -c Register -- -name elements -type ProjectBuilder -basedir $CTIER_ROOT/src/elements -installroot $CTIER_ROOT/target/elements -install
.
.
.
For more information about this object run: ad -p DukesBank -t ProjectBuilder -o elements -c Get-Properties -- -print
[command.timer.Deployment.Register: 4.150 sec]
$ ad -p DukesBank -t ProjectBuilder -o elements -c load-objects -- -format projectxml -filename $CTIER_ROOT/src/elements/demo/DukesBank/objects/linux.xmlLoading "/home/demo/ctier/src/elements/demo/DukesBank/objects/linux.xml" ...1 file(s) have been successfully validated.Processing /home/demo/ctier/src/elements/demo/DukesBank/objects/linux.xml to /home/demo/ctier/antdepo/depots/DukesBank/deployments/ProjectBuilder/elements/var/null226801341.xmlLoading stylesheet /home/demo/ctier/antdepo/depots/DukesBank/lib/ant/modules/ProjectBuilder/lib/load-objects/projectxml/project.xslMapping XML to properties ...Collecting object attributes ...Batching object attribute updates ...Batching resource and referrer updates ...Executing batch update ...[command.timer.load-objects: 20.873 sec]load-objects completed. execution time: 20.873 sec.C:\>ad -p DukesBank -m Deployment -c Register -- -name elements -type ProjectBuilder -basedir %CTIER_ROOT%\src\elements -installroot %CTIER_ROOT%\target\elements -install...[command.timer.Deployment.Register: 2.359 sec]
C:\ctier\tmp>ad -p DukesBank -t ProjectBuilder -o elements -c load-objects -- -format projectxml -filename windows.xml
Loading "C:\ctier\tmp/windows.xml" ...
1 file(s) have been successfully validated.
Processing C:\ctier\tmp\windows.xml to C:\ctier\antdepo\depots\DukesBank\deployments\ProjectBuilder\elements\var\null580203106.xml
Loading stylesheet C:\ctier\antdepo\depots\DukesBank\lib\ant\modules\ProjectBuilder\lib\load-objects\projectxml\project.xsl
Mapping XML to properties ...
Collecting object attributes ...
Batching object attribute updates ...
Batching resource and referrer updates ...
Executing batch update ...
[command.timer.load-objects: 6.906 sec]
load-objects completed. execution time: 6.906 sec.
$ depot-setup -p DukesBank -a install"Install" command running for object: (AntBuilder) development"Install" command running for object: (ProjectBuilder) elements"Install" command running for object: (Updater) development"Install" command running for object: (Site) development"Install" command running for object: (JBossServer) developmentC:\>depot-setup -p DukesBank -a install"Install" command running for object: (AntBuilder) development"Install" command running for object: (ProjectBuilder) elements"Install" command running for object: (Updater) development"Install" command running for object: (Site) development"Install" command running for object: (JBossServer) development
[jboss@development dukesbank]$ ad -p DukesBank -t Updater -o development -c Deploy -- -resourcetype 'AntBuilder|Site'Start: "Run the coordinated deployment cycle across the configured Sites." commands: dispatchCmdbegin workflow command (1/1) -> "dispatchCmd -command Deploy -resourcename .* -resourcetype AntBuilder|Site" ...dispatching command: "Deploy " to: (AntBuilder) development, (Site) development ......dispatched command: Deploy completed for: (AntBuilder) development, (Site) developmentend workflow command (1/1) -> "dispatchCmd -command Deploy -resourcename .* -resourcetype AntBuilder|Site"[command.timer: 29.828 sec]Completed: execution time: 29.828 secC:\>ad -p DukesBank -t Updater -o development -c Deploy -- -resourcetype "AntBuilder|Site"Start: "Run the coordinated deployment cycle across the configured Sites." commands: dispatchCmdbegin workflow command (1/1) -> "dispatchCmd -command Deploy -resourcename .* -resourcetype AntBuilder|Site" ...dispatching command: "Deploy " to: (Site) development, (AntBuilder) development ......dispatched command: Deploy completed for: (Site) development, (AntBuilder) developmentend workflow command (1/1) -> "dispatchCmd -command Deploy -resourcename .* -resourcetype AntBuilder|Site"[command.timer: 41.531 sec]Completed: execution time: 41.531 sec
(Note that this command can also be run from Jobcenter using the "development.Deploy" job and setting the "resourcetype" to "AntBuilder|Site" from the "Choose Options and Run Job ..." page).
$ pwd
.../dukesbank/j2eetutorial14/examples/bank/dd/client
$ diff jndi.properties jndi.properties.orig
3c3
< java.naming.provider.url=jnp://localhost:1199
---
> java.naming.provider.url=jnp://localhost:1099
$ ad -p DukesBank -t Updater -o development -c BuildAndDeploy -- -buildstamp 20080222.0
Start: "Run the coordinated end-to-end the build and deployment processes across the configured Builders and Sites.." commands: Build,Change-Dependencies,Deploy ...
begin workflow command (1/3) -> "Build -buildstamp 20080222.0" ...
Start: "Run the coordinated build cycle across the configured Builders." Beginning build process with the following builders: (AntBuilder) development ...
workflow command (1/1) -> "dispatchCmd -buildstamp 20080222.0 -command Build -resourcetype [^\.]*Builder -dispatchOptions buildstamp" ...
.
.
.
Completed: execution time: 31.322 sec
end workflow command (3/3) -> "Deploy -buildstamp 20080222.0"
[command.timer.DukesBank.Updater.development.BuildAndDeploy: 2:14.950 sec]
Completed: End-to-end build and update process completed: Build,Change-Dependencies,Deploy. execution time: 2:14.950 sec
C:\>ad -p DukesBank -t Updater -o development -c BuildAndDeploy -- -buildstamp 20080222.0Start: "Run the coordinated end-to-end the build and deployment processes across the configured Builders and Sites.." commands: Build,Change-Dependencies,Deploy ...begin workflow command (1/3) -> "Build -buildstamp 20080222.0" ...Start: "Run the coordinated build cycle across the configured Builders." Beginning build process with the following builders: (AntBuilder) development ...workflow command (1/1) -> "dispatchCmd -buildstamp 20080222.0 -command Build -resourcetype [^\.]*Builder -dispatchOptions buildstamp" ......Completed: execution time: 11.313 secend workflow command (3/3) -> "Deploy -buildstamp 20080222.0"[command.timer.DukesBank.Updater.development.BuildAndDeploy: 2:06.844 sec]Completed: End-to-end build and update process completed: Build,Change-Dependencies,Deploy. execution time: 2:06.844 sec
(Note that this command can also be run from Jobcenter using the "development.BuildAndDeploy" job and setting the "buildstamp" from the "Choose Options and Run Job ..." page).