Hi all...
I've been doing Blackpearl process development in Visual Studio against a dev server for a while and feel very comfortable with that...I can build and deploy processes no problem using Visual Studio's Deploy tool and K2 deployment wizard. However, now I need to deploy my process to a production server to which I can NOT connect via visual studio. So I created a deployment package using Visual Studio and tried to find some basic "how to" instructions on what do do next. I didn't really find any step by step instructions but what I could piece together resulted in me:
- Copying the deployment files to the production server
- Using remote desktop to log into the production server
- Calling MSBUILD (see below) to deploy.
The MSBUILD gave errors (as below) and I don't have any idea where to go next. I also don't know MSBUILD and so I don't know if there are any settings that I should have set in Visual Studio, etc prior to creating the deployment package. My questions are:
- What is the process for deploying a process to a production server?
- Are there any settings in Visual Studio that I should have set?
- Are there any other steps besides just building a process, creating a deployment package, and running MSBUILD against it on the production box?
- What am I doing wrong below
- Is there an article anywhere that clearly describes these steps?
How does MSBUILD know about the K2 server and where to deploy the asseblies (or conversely, how does K2 know what processes exist that belong to it...is it that they are deployed to a particular directory or in the GAC, etc.?)...I need to know this just so I have an engineering grasp of what's going on here
Thank you for your help (and the MSBUILD output is below)
-alex
---
C:Documents and SettingsanDesktopDeploymentsDeployment>C:WINDOWSMicrosoft
.NETFrameworkv2.0.50727MSBuild.exe "C:Documents and SettingsanDesktopDepl
oymentsDeploymentWF_ClosingBoard2.msbuild" /p:TestOnly=True /p:Environment=Rel
ease
Microsoft (R) Build Engine Version 2.0.50727.1433
[Microsoft .NET Framework, Version 2.0.50727.1433]
Copyright (C) Microsoft Corporation 2005. All rights reserved.
Build started 10/17/2008 7:44:05 PM.
__________________________________________________
Project "C:Documents and SettingsanDesktopDeploymentsDeploymentWF_ClosingB
oard2.msbuild" (default targets):
Target Deploy Processes:
__________________________________________________
Project "C:Documents and SettingsanDesktopDeploymentsDeploymentWF_Clos
ingBoard2.msbuild" is building "C:Documents and SettingsanDesktopDeployments
DeploymentWF_ClosingBoard2.msbuild" (InitDeploy target(s)):
C:Documents and SettingsanDesktopDeploymentsDeploymentWF_ClosingBoard2
.msbuild(73,5): error MSB4018: The "SourceCode.DeploymentTasks.ExportProcessTask
" task failed unexpectedly.
C:Documents and SettingsanDesktopDeploymentsDeploymentWF_ClosingBoard2
.msbuild(73,5): error MSB4018: System.NullReferenceException: Object reference n
ot set to an instance of an object.
C:Documents and SettingsanDesktopDeploymentsDeploymentWF_ClosingBoard2
.msbuild(73,5): error MSB4018: at SourceCode.DeploymentTasks.DeploymentTask.I
nitialize()
C:Documents and SettingsanDesktopDeploymentsDeploymentWF_ClosingBoard2
.msbuild(73,5): error MSB4018: at SourceCode.DeploymentTasks.ExportProcessTas
k.Initialize()
C:Documents and SettingsanDesktopDeploymentsDeploymentWF_ClosingBoard2
.msbuild(73,5): error MSB4018: at SourceCode.DeploymentTasks.Task.set_BuildEn
gine(IBuildEngine value)
C:Documents and SettingsanDesktopDeploymentsDeploymentWF_ClosingBoard2
.msbuild(73,5): error MSB4018: at Microsoft.Build.BuildEngine.TaskEngine.Init
ializeTask(ITask task, ItemBucket bucket)
C:Documents and SettingsanDesktopDeploymentsDeploymentWF_ClosingBoard2
.msbuild(73,5): error MSB4063: The "SourceCode.DeploymentTasks.ExportProcessTask
" task could not be initialized with its input parameters.
Done building target "Deploy Processes" in project "WF_ClosingBoard2.msbuild" --
FAILED.
Done building project "WF_ClosingBoard2.msbuild" -- FAILED.
Build FAILED.
C:Documents and SettingsanDesktopDeploymentsDeploymentWF_ClosingBoard2.msb
uild(73,5): error MSB4018: The "SourceCode.DeploymentTasks.ExportProcessTask" ta
sk failed unexpectedly.
C:Documents and SettingsanDesktopDeploymentsDeploymentWF_ClosingBoard2.msb
uild(73,5): error MSB4018: System.NullReferenceException: Object reference not s
et to an instance of an object.
C:Documents and SettingsanDesktopDeploymentsDeploymentWF_ClosingBoard2.msb
uild(73,5): error MSB4018: at SourceCode.DeploymentTasks.DeploymentTask.Initi
alize()
C:Documents and SettingsanDesktopDeploymentsDeploymentWF_ClosingBoard2.msb
uild(73,5): error MSB4018: at SourceCode.DeploymentTasks.ExportProcessTask.In
itialize()
C:Documents and SettingsanDesktopDeploymentsDeploymentWF_ClosingBoard2.msb
uild(73,5): error MSB4018: at SourceCode.DeploymentTasks.Task.set_BuildEngine
(IBuildEngine value)
C:Documents and SettingsanDesktopDeploymentsDeploymentWF_ClosingBoard2.msb
uild(73,5): error MSB4018: at Microsoft.Build.BuildEngine.TaskEngine.Initiali
zeTask(ITask task, ItemBucket bucket)
C:Documents and SettingsanDesktopDeploymentsDeploymentWF_ClosingBoard2.msb
uild(73,5): error MSB4063: The "SourceCode.DeploymentTasks.ExportProcessTask" ta
sk could not be initialized with its input parameters.
0 Warning(s)
2 Error(s)
Time Elapsed 00:00:00.10