Sunday, 15 June 2014

K2 Blackpearl Deployment package

1. Open VS--> go to process-->right click-->Create Deplyment Package
2. you will get .msbuild file
3. This one you have send for client.
4. Copy below code in to notepad and save as .bat
---------------------------------------------------
cls
cd\
cd c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727
@echo off
echo ******* Deploying SmartObjects *******
MSBUILD "" /P:TestOnly=true;Environment=Development
echo ******* Deploying Workflow *********
MSBUILD "" /P:TestOnly=true;Environment=Development
--------------------------------------------------------------------------
5. Double click on saved .bat file
6.we need to pass 3 parameters
7. 1) msbuild file path which we got in step 2.
2) Next parameter is testonly=true or false
true- only build
false- build and deploy
3)environment (Ex:Development (or)Production)