Sunday, February 17, 2008
Deployment Framework for TIBCO BusinessWorks v.0.2
I am happy to announce the second release of the ant deployment framework for TIBCO BusinessWorks. This release includes the following bug-fixes:
- The environment settings EnvironmentSettings.xls did not support XML special symbols, which were breaking the output xml files;
- Complete rewrite of the EditConfigTask class; unexpected (for me) behavior of the SAX parser API;
A brand new task is included: UndeployEar. It allows applications to be undeployed from TIBCO Administrator. During the use of the framework I have noticed, that when changing the contents of the EAR file and deploying an application multiple times some components were not deployed. I have then decided to include this task to make sure, that every time an application is redeployed, the old one is removed from TIBCO Administrator first.
You can download the new (0.2) version from here.
For an example BW project, that includes the deployment scripts perform the following:
- Create a new directory C:\Develop\TibcoDeploymentFramework;
- Unzip the archive file and copy the "samples" directory to the newly created directory;
- Open the C:\Develop\TibcoDeploymentFramework\samples\EchoService\build.xml file and make sure that the name of the TIBCO Administrator server (it is case sensitive!), the name of the TIBCO domain, the admin username and password are set accordingly;
- Save the modifications of the build.xml file;
- Open a new command prompt and navigate to C:\Develop\TibcoDeploymentFramework;
- Run ant;
If the deployment fails, check the C:\tibco\tra\domain\<your domain>\logs\ApplicationManagement.log for more information.
Labels: Aha
