Is there any document on RTC build and deploy automation with ant?
Accepted answer
While it doesn't discuss Urban code it does discuss the steps and provides worked examples.
Comments
thanks for the reply.
where does it stage the build before it deploy?
Thanks
I couldn't find what I need in that link.Does it checkin ,deliver and stage the jars automatically or we need to define them.I don't see those steps anywhere in that link.
Is there any other link?
Thanks
By Stage, do you mean where the result of the "Package" step is placed?
where does it store the package when we run the script ?I dont see any destination folder on your script
That is defined in the Package definition in RTC. I just launch it from the ANT script.
Your build automation will have to create the required files during compilation and linking and then you will have to use other scripts or tools like UrbanCode to deploy them.
what version of RTC are you using?I don't see package definition in 4.0.1.
Thanks
One other answer
I've created a small basic script to automate build, package and deploy on IBMi. Nothing much, but at least it will build, pick up the build timestamp and do a package with this. Then it will deploy this package:
Comments
Did you install JBE on IBMi or windows?
The JBE which runs the wrapper script runs on windows, but could easily run on IBMi. We plan to add build depending on WI status, and all this requires customized ANT plugins. It's easier for me to install these on Windows, so that's why we do so.
The Rational Build Agent is installed on IBMi and handles all the Dependency builds, package and deploy "builds"