We use the popular Hudson Continuous Integration Server to call our custom Ant build script.
This screenshot shows how the form is configured. The user and build (release) type are required by the Ant build script.
Following screenshot shows how to call the script and how to use the form parameters.
The Ant scripts main tasks are checking out code from Subversion and calling BuildEar.exe to build the TIBCO BW application EARS. Some time later, I will blog the contents of the script.
Edit 2013-04-15:
On request, hereby a small snippet which shows how to use Buildear.exe within your ANT build.xml:
<target name="buildear">
<exec executable="buildear.exe" dir="${tra.path}" resolveexecutable="true">
<arg line="-x"/>
<arg value="-v"/>
<arg line="-ear /Deployment/application.archive"/>
<arg line="-o ${build.dir}\application.ear"/>
<arg line="-p ${export.dir}\project"/>
</exec>
</target>
Hi,
ReplyDeleteCan you please post the code for the antscripts to build ear files using subversion
Thanks
Hi
ReplyDeleteThank you very much for the article. WE are also trying do the same in our organization . Can please provide a step by step process, complete Ant Script.
Very good article, can you please post step by process to build and deploy ear file including the scripts
ReplyDelete