Monday, July 30, 2012

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"/>

Thursday, July 26, 2012

The code doesn't tell the whole story

A must-see for developers who need to think about Software Architecture
We all know that writing good code is important and refactoring forces us to think about making methods smaller, more reusable and self-documenting. Some people say that comments are bad and that self-commenting code is what we should strive for.

Despite what you’ll hear though, the code isn’t the documentation. The code tells *a* story, but it doesn't tell the whole story. Join Simon Brown to find out what’s missing and how to create lightweight documentation for your software projects.


Thursday, July 19, 2012

Sunday, July 15, 2012

The Joel Test: 12 Steps to Better Code

This list from Joel Spolsky is my default check if I'm not missing something crucial in a project.

"So I've come up with my own, highly irresponsible, sloppy test to rate the quality of a software team. The great part about it is that it takes about 3 minutes. With all the time you save, you can go to medical school."

Check it out on:

Toolbox utility: Authoxy

"If your Internet connection requires you to use a proxy which needs a username and password, Authoxy may be the solution to a seamless Internet experience. Authoxy runs locally as a proxy server to intercept HTTP and HTTPS requests, forwarding them on to your regular proxy with authentication details you define in a System Preference Pane. Such a process is required to use many web services (MacHelp, QuickTime, iTunes) behind a proxy requiring authentication."

Download after the jump:

Saturday, July 14, 2012

10 programming habits that should be more common

"You learn lots of things when you go to college and get a computer science degree or read a how-to-program book. Unfortunately, a number of good programming habits are either untaught or take a good amount of practice to turn into a way of life. Here are 10 such habits you should cultivate to become a better programmer."

Source: TechRepublic

Friday, July 13, 2012