Showing posts with label IBM Rational. Show all posts
Showing posts with label IBM Rational. Show all posts
on Monday, 23 April 2012
Something simple, but very effective!

I want you to do something for me; at the top of the browser you’re reading this on there should be a help button (unless you’re on a mobile device). Click it, then click the about option. You should be presented with something similar to this:



If the application you or your company is developing doesn’t have this feature then you need to give yourself a slap on the wrist and ask yourself, WHY? As a release engineer we’re often expected to know exactly what’s in every environment at all times. If you’re a small organisation with only a few projects and deliveries then this is sometimes possible, but even then what happens if you go on holiday and someone else covers for you??

If you’re using Ant I would advise writing a small task that will pull a few basic parameters from your build machine. Some useful properties to gather are the following:

Username
Build Machine

Date
Time
Build Number

Here’s the Ant target I use. It includes some ClearCase stuff (the source tool we use) but I thought I would leave it in for information.


 <target name="buildinfo" description="Record build metadata">
  
 <echo message="${line.separator}" file="${build.props.file}" append="true"/>
  
 <echo message="buildby=${env.USERNAME}${line.separator}" file="${build.props.file}" append="true"/>
  
 <echo message="host=${env.COMPUTERNAME}${line.separator}" file="${build.props.file}" append="true"/>
  
 <echo message="builddate=${build.time}${line.separator}" file="${build.props.file}" append="true"/>
  
 <echo message="buildview=${cc.view}${line.separator}" file="${build.props.file}" append="true"/>
  
 <echo message="buildstream=${cc.stream}${line.separator}" file="${build.props.file}" append="true"/>
  
 <echo message="buildproject=${cc.project}${line.separator}" file="${build.props.file}" append="true"/>
  
 <echo message="foundationbaseline=${cc.found-baselines}${line.separator}" file="${build.props.file}" append="true"/>
  
 <echo message="recommendedbaseline=${cc.rec-baseline}${line.separator}" file="${build.props.file}" append="true"/>
  
 <echo message="Projrecommendedbaseline=${cc.rec-bline-stream}${line.separator}" file="${build.props.file}" append="true"/>
  
 <echo message="currentbaselines=${cc.current-baselines}${line.separator}" file="${build.props.file}" append="true"/>
  
 </target>
  


Write some code to get this to display in your app then its job done!

on Monday, 3 May 2010
So, hello everyone (if everyone is anyone!), this is my first post so I thought I would give you a little information about myself - I'm a 24 year old male from Newport, South Wales, UK.

I currently work for the Office for National Statistics as a Build and Release Engineer. My job involves gathering all code from developers and creating a package that can be deployed to our application servers for the business area staff to do their bit; this generally involves collating data, analysing it then releasing the new information to the public. A few of the higher profile projects would include the 2010 Census, National Accounts and many others. Some of the software that I use on a regular basis is IBM's Rational suite which handles our source control, Apache Ant and Maven for the build framework along with Oracle Database Management System (DBMS) for all that crazy database stuff. I've been in this job for 6 weeks now and I'm enjoying it tremendously, it's my first job since graduating and I'm always learning something new.

I graduated in June 2009 becoming a BSc Computer Games Development, however, since graduating I haven't done much in the way of games programming which upsets me a little; I have however got myself a copy of the latest “Game Coding Complete” by Mike McShaffry which I do plan to read through and start programming examples from. As I work my way through each example I will be sure to post my experiences and error's – as anyone in programming will now are all too unavoidable.
Well, thanks for reading and I hope you come back for more!