CM MatchPoint for Ca Plex .Net
CA Plex Track
Christoph Heinrich and Lorenz Alder CM First Goup
Abstract
In this session we will demonstrate how to manage deployments
in a CA Plex .NET environment. We will show examples of
environments as well look into best practices when generating C#
from your CA Plex model
Speaker
Christoph Heinrich – CM First Group
CEO, Architect CM MatchPoint Application Lifecycle Manager
Lorenz Alder – CM First Group
CTO, SW Architect
CM MatchPoint Overview
– A day in the life of [any name here]
CA Plex .Net
– What is generated
– Code library wizard / Gen&Build from CA Plex
– ClickOnce Deployment
CM MatchPoint for .Net
– Deploying Source Files
– Automated Builds
– Refresh Workspace
Agenda
A day in the life of …
A day in the life of …
A day in the life of …
A day in the life of …
A day in the life of …
A day in the life of …
A day in the life of …
Development Integration Test
A day in the life of …
Development Integration Test Production
Deploying a hot fix
Ticket 123
Ticket 199
Conflict Check Conflict Check Conflict Check
A day in the life of …
A day in the life of …
A day in the life of …
CA Plex and .Net
CA Plex and .Net / .Net client
Plex Function
Plex Function Plex Function
Plex Function Plex Function
.dll
.pnl
.dll Plex Function Plex Function Plex Functions in PKG and Code library
WinC
.NET
In Winc we copy dll’s and pnl’s (compiled functions)
In C# we copy source files in order to track CR
After copying the sources we need to rebuild assemblies
Rebuild everything, relay on MS build for optimization (skip
unnecessary builds)
CA Plex and .Net / .Net client
Integration share
Dev Workstation1
Plex generated
Source
Integrated source
Dev Workstation2
Plex generated
Source
Integrated Assemblies
Local Assembly
Local Assembly
Copy of Integ
Assemblies
Copy of Integ
Assemblies
CA Plex .NET Client - Assemblies
Plex generated Production
Source
CA Plex .NET Client – ClickOnce Build
VS Studio main.exe solution setup for Click Once
Code Library VS projects
Images
Application Icon
Exe project
Publish Directory Build 1
Build 2
Build n
Active/X
32 bit ….
CA Plex .NET Client – Deployment
Publish Directory
Client Workstation
URL to publish
directory
Install and
Update
Simple scripts can be done with .cmd files
When pre/post processing is needed use NANT Tasks
– Versioning / Build Numbers
– Code Analysis
– Automated tests
CA Plex and .Net / .Net client
Use of an SCM and Build Server (proposal)
CA Plex and .Net / .Net client
Matchpoint
SCM Build Server
triggers
notifies checks out/in CR
CA Plex generated Source
CM MatchPoint and .Net
Triple match
– Model function -> source files
– Find package information
Manage Source Files
Manage Source Files
Plex Function
_ObFnc.cs
_ObIn.cs
_ObOut.cs
_ObPnl.xaml.cs
.restxt
_ObPnl.xaml
_ObIn.cs
_ObOut.cs
_ObIn.cs
_ObOut.cs
calls
User defined processes
Build Script
Build Scripts
Refresh Workspace
Create CA Plex Add-In to copy Assemblies to local environment
At any time developers can refresh their workspace with assemblies from the integration environment
COPY /Y "\\YourServer\Integration\Bld\Release\*.dll" C:\Locals\PLEX710\GEN_C#\Bld\Release\*.*
Deployment to Production Environment
Deployment Process
Check Status and
Authorization
Check Promotion
Create Backup
Deploy Source Files
Rebuild Assemblies
Launch ClickOnce
Deployment
CM MatchPoint Deployment Process
Q & A
Christoph Heinrich [email protected] Lorenz Alder [email protected]