Showing posts with label Ant. Show all posts
Showing posts with label Ant. Show all posts

Friday, October 2, 2015

How to do an Ant script file of a Message Broker Flow?

Description:

Nowadays, Services have a enormous development over tiers and are a good practice because of their stateless form on the architecture that could benefit the performance of a system, when we are in development team the use of build tools at the beginning could benefit every part of the working layers, think of Quality Assurance and Production state some values of the environment are different  as it were in Development state. There are some tools like Ant that could be make easier our job so here are a set of steps to create a Bar file for IBM Message Broker.

1. First create the following file structure:

...\ProjectNameDeploy\
...\ProjectNameDeploy\dev
...\ProjectNameDeploy\qa
...\ProjectNameDeploy\prod
...\ProjectNameDeploy\dist

2. Create a property file with message flow configuration:

---------------------------------------------
---------------------------------------------
3. Create a property file with Message Broker binary files:

---------------------------------------------
---------------------------------------------
4. Create a property file with deployment url of Message Flow Service corresponding to each development state:
Please copy each file to it corresponding folder: ...\ProjectNameDeploy\dev\msgflow-projectname-dev.properties ...\ProjectNameDeploy\qa\msgflow-projectname-qa.properties ...\ProjectNameDeploy\prod\msgflow-projectname-prod.properties
---------------------------------------------
---------------------------------------------
5. Create a ant script file for message broker code compilation:

---------------------------------------------
---------------------------------------------
6. Now we will have created our bar file in ...\ProjectNameDeploy\dist folder.

Using this kind of mechanisms is very well accepted for each functional part of the team and it maintains sustainability to control deployments.


Best Regards,