Friday, July 27, 2012

Howto: Build TIBCO BusinessWorks applications with Hudson and Ant

At my assignment, we use Apache Ant to deploy our TIBCO BusinessWorks applications.
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>





3 reacties:

Anonymous said...

Hi,
Can you please post the code for the antscripts to build ear files using subversion
Thanks

Rama Susarla said...

Hi
Thank 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.

Rama Susarla said...

Very good article, can you please post step by process to build and deploy ear file including the scripts

Post a Comment