Attached are 2 scripts created during a POC for automated packaging of released applications form source control into bladelogic packages .
The order of execution is to take variables passed to the script by source control and use these to perform the automation , e.g Script added as menu item in clearcase when checking out a branch .
Then to create a bladelogic Policy from this directory
create a component and add custom properties ,
create a blpackage from the component ,
create a deployment job to deploy the package .
These scripts can be adapted to the customer requirements very easily
The original (attached) script was in perl and was written by Mark jeffrey , the jython script is a port of the original script (attached ) written by Greg Kroon .