Information Technology Reference
In-Depth Information
device's Web server component. Orbs can be a bit pricey, but they have
proven very useful on projects. There is, of course, a “cool factor,” and
we think it shows that we're very serious about quality, we want imme-
diate notification of a problem, and we also believe in creating a fun
and visual work environment.
Listing 9-3 demonstrates an Ant target that executes the ambientorb 3
task and changes the Orb color based on the success or failure of your
build. Figure 9-5 shows the Ambient Orb.
LISTING 9-3 Registering ambientorb Ant Task to Notify Ambient Orb
<target name="registerOrb" if="is.integration.machine">
<taskdef classname="org.qualitylabs.ambientorb.ant.OrbTask" name="orb"
classpathref="orb.class.path"/>
<orb listener="org.qualitylabs.ambientorb.ant.OrbListener"
deviceId="AAA-99A-AAA"
colorPass="green"
colorFail="red"
animationFail="heartbeat"
animationPass="none"
commentPass="The+build+passed"
commentFail="Build+Failure!!"/>
</target>
FIGURE 9-5
Ambient Orb on a desk
3. The Ambient Orb Ant task is available at www.qualitylabs.org/projects/
ambientorb.
Search WWH ::




Custom Search